Questions tagged [web-part]

Web parts are ASP.NET controls that can be added to web part zones. They are generally distributed through the deployment of .WSP files. Pre-2013, they could be developed off the hosting server. With 2013, Web Parts for the most part have to be developed on the hosting server for proper library inclusion.

1,083 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
734 views

Config error: The requested service could not be activated

I am trying to deploy and use a web part developed in SP2010 that requires connecting from a SP2010 server to a SQL server. I get the following error (greatly abbreviated): The requested service, '[...
2
votes
2answers
664 views

“List does not exist…” while adding webpart on home page

I create a very simple list and then try to add a webpart of newly created list to home page of my site. It gives me the strange error of: List does not exist. The page that you selected contains a ...
2
votes
0answers
64 views

Hide a view in the view menu

I have created a view in a custom list, with audience targeting option on the web part (the list), to only allow specific users to access the view. Is it possible to hide the view name in the view ...
2
votes
0answers
4k views

“Disable view selector menu” NOT working

How can I make "Disable view selector menu" remain unchecked? I inserted a document library to a web part on a page. Under Edit Web Part > Miscellaneous, I unchecked "Disable view selector menu". I ...
2
votes
1answer
114 views

show contents of a wiki page on as webpart 2007

I want to display a wiki page on a sites main page (2007) I tried doing a page viewer and that displayed the ENTIRE page with top links and quick launch and everything Any ideas on how to show the ...
2
votes
0answers
27 views

Filter and sort related data from multiple lists

I've been working on ways to collect data from a few lists, do some calculations on it and set up user controls to filter/sort that data. Ultimately I want a web part (or similar) that a user can use ...
2
votes
0answers
40 views

convert to sandbox

How I can deploy a custom webpart solution inheret Microsoft.SharePoint.WebPartPages.DataFormWebPart as sandbox solution ? as Microsoft documentation, there is a restrication on using this class in ...
2
votes
0answers
103 views

Bug in BLOG Post.aspx?

I think this is a bug and it appears to only be in the Post.aspx view. To summarize, when the exact same web part is added to the POST.aspx page as well as the /Forms/AllItems.aspx page, it crashes on ...
2
votes
1answer
117 views

Cannot toggle personalization scope programmatically

I'm trying to switch personalisation scope for the current user: protected void lnkToggleMode_Click(object sender, EventArgs e) { try { var wpmgr = (...
2
votes
0answers
251 views

What is the ConsumerConnectionPointID to use when adding an SSRS Report Viewer Web part declaratively?

I'm having trouble connecting my custom web part to my report viewer web part when using XML markup. My custom web part implements ITransformableFilterValues, so in order to pass values to the SSRS ...
2
votes
0answers
295 views

XsltListViewWebPart provisioning discrepancy SPLimitedWebPartManager AddWebPart versus manually adding

I've exported a XsltListViewWebPart with all of my settings to a .webpart file. I have added this to the webpart gallery in several site collections, I can edit a page add the webpart and it somehow ...
2
votes
2answers
2k views

Make Page Viewer WebPart automatically refresh

Is it possible to make a page viewer webpart automatically refresh or upgrade? I have a report image which I am replacing every 15 minutes with a script but the Page Viewer on SharePoint isn't ...
2
votes
0answers
104 views

WebPart to dynamically display links to all views within a list or library

I'm trying to develop a WebPart that I can place on the top of a SharePoint 2010 list or library page that will dynamically display links to the views created within the library. I want to also format ...
2
votes
0answers
100 views

Accessing custom property value of webpart in application page

We have a custom property in a webpart. and we are opening an application page as a popup dialog. In that page we want to access the webpart property. The custom property is as follows: [Category("...
2
votes
0answers
413 views

Filter a connected list- How to show all by default?

I have two lists embedded as individual webparts on my SP2010 page. The two lists are connected so that the first list can act as a filter for the second one- there is a column which is common between ...
2
votes
2answers
1k views

Is it possible to pre configure a summary link webpart in a custom page layout with several links?

I created a custom page layout with SharePoint Designer for use as a new default or welcome page in a publishing site. The page layout should contain a summary link web part that is pre configured ...
2
votes
0answers
119 views

Making Table of Contents Webpart Relative to Site

I'm creating a sidebar navigation in a Page Layout and one of the items I'd like is a Table of Contents. I got it to work and it's showing the navigation links, however I have to set it up for each ...
2
votes
0answers
162 views

Can I access excel file from a remote sharepoint server in my Excel Web Access web part?

We are developing an organization level dashboard in which we are using Excel Web Access web part to display part of or entire excel workbooks containing charts. Problem is, the corresponding actual ...
2
votes
1answer
119 views

SP2010 - Formatted data view web part saved to gallery - get error when dropped on parent site

I have a list on a subsite that I need to feature on the parent site homepage. I created the formatted data view and saved it as a web part in the gallery. I drop it on the homepage but get a "web ...
2
votes
1answer
123 views

Webpart not updating for Read only users

I have a SharePoint page with Two webparts, one of them is a list displaying the previous months, the other is a xsl webpart that displays the news of the selected month using the url. (like default....
2
votes
0answers
682 views

How do I combine rows from different sharepoint lists onto 1 overall list?

I'm using Sharepoint 2007 and sharepoint designer, and I am using multiple sharepoint lists that have the same column types (# required, # complete, % complete) that shows the training status for ...
2
votes
0answers
1k views

Custom aspx page with web part

What would be the best way to have a custom asp.net page which runs on sharepoint and displays a web part? TIA
2
votes
2answers
1k views

WebPart Does Not show up in Gallery

As a noob taking a training class, I have created a very simple sandbox solution in VS2010 with the VS2010 SP Power tools. The solution has one webpart with one button. It deploys to my site, the ...
2
votes
0answers
543 views

Custom filter provider web part and multiple values

I'm trying to build a custom filter provider that can detect the user language (the language selected in SharePoint by the user) and provide it as a filter. As a language can be represented in many ...
2
votes
0answers
109 views

Modify CoreResultsWebPart XML data before it is transformed?

I'm extending CoreResultsWebPart. Do I have an opportunity to modify the search results XML before it is transformed (against the XSL)?
2
votes
0answers
203 views

Connecting web parts works in Designer, but not by editing on page

I have created some DataFormWebParts that use a web service data source in SharePoint Designer. I then exported each one to the site web part gallery. Each data source is configured with a parameter ...
2
votes
1answer
454 views

how to use custom web part properties in CQWP

I have extended the CQWP and have several custom web part properties. One is a text field named "Header" and I would like to use it for a header in my CQWP. I know that I need to edit ItemStyle.xsl (...
2
votes
1answer
246 views

Listview in a webpart: popup only appear once

The problem I am having a problem, with a Listview that gets included in a Webpart. When I am trying to make a, action on a list item, I get the dropdown. If I let et close and try to open it again ...
2
votes
0answers
131 views

OWA webpart view

I added OWA webpart in 2010 but I want the view to look like following like we had in SP 2003. How is it possible as there are no configuration for it in web-part? Please suggest. 2003 look 2010 ...
2
votes
0answers
1k views

Setting calendar control in a web-part as readonly

Is there any way to set calendar control in a web-part as readonly? I have a custom web-part which has a Calender control. In this web-part, I am populating a SPCalendarDataSource object from a view ...
2
votes
0answers
555 views

CustomListView WebPart

I tried create and render CustomListViewWebPart . I tried with the following code. public class CustomListViewWebPart : System.Web.UI.WebControls.WebParts.WebPart { #region Variable Declaration ...
2
votes
0answers
674 views

Creating Custom List Definitions that Use InfoPath Forms - Deploy everything using Visual Studio 2010

I'm trying to create a list instance from a list definition, all from a VS2010 solution and want to have custom InfoPath forms for the list instance. This article keeps popping around in my searches: ...
2
votes
0answers
321 views

Filtering one List Part, by another Web Part, where the Second web part has a filtered View

I have one list, called "Company Reports" and another list "Companies" The Companies list has a field called Include(yes/no), and I have created a View which filters it to only show active companies. ...
2
votes
0answers
129 views

Application Pool stops-Deploying a Webpart-SP2007

I am using sharepoint 2007 and VS 2008. Sometimes after deploying the webpart, the application pool stops and need to start it manually. I do not know why this is happening?
2
votes
0answers
938 views

Extending the ConsolidatedNewsFeedWebPart Newsfeed Web Part in order to render custom Activity Events in SharePoint 2010 MySites

The title says it all and I imagine this question will evolve as more people provide input. I will try to update with the current answer and/or working code for all to use. The question is about ...
2
votes
0answers
1k views

How to edit web part properties in the UI that was added in SharePoint Designer?

Let's say I create a custom page layout in SPD. Instead of adding a web part zone I add a web part (let's say content query web part) in the layout. When I go to a page using that layout I can see the ...
2
votes
2answers
268 views

SharePoint 2007 Web parts view size

Can the view of web parts be zoomed in or out? I have a named Excel Chart displayed in an Excel Web Access web part. The chart appears very large in the web part. Is there any way to adjust the ...
2
votes
1answer
256 views

Is It Possible to Add the SharePoint List View Related Ribbon to the Application Page?

Is it possible to add the list view related ribbon to the application page? I have a list view webpart in my application page. Now I don't have any ribbon like list view web part. Is it possible to ...
1
vote
0answers
29 views

Constant console errors in SharePoint Online

I just finished building my first SharePoint Online page. Just a simple page with a few standard web parts (image, news, document library, list, events, file embed). Everything seems to work okay (...
1
vote
2answers
16 views

SharePoint Online OneDrive Webpart

I have had a requirement if there is a way to display individual user one drive files on SharePoint front end page in a webpart? I haven't been able to see one OTTB? I am trying to complete this with ...
1
vote
0answers
19 views

how to duplicate pages in SharePoint

I am trying to copy page layout from one sub site to another. It contains web parts and also from the context menu this page layout contain duplicate options for creating multiple pages quickly (...
1
vote
2answers
21 views

How can I make the 'modified date' column of a list reflect when the contents of folder were last modified, not the folder itself?

I am using SharePoint online for work. I have a subsite with 2 WebParts, both of which are lists (XsltListViewWebPart). Each list has folders, with each folder having a number of documents within. ...
1
vote
1answer
33 views

SPFX 404 When Trying to Get Current User In Workbench

I'm trying to get the user context in my React webpart and am getting 404's when requesting: https://localhost:4321/_api/web/currentuser This is the part of the code that fetches the current user: ...
1
vote
2answers
45 views

Generate link to Manage Checked Out Files from Document Library URL on SharePoint Online

We have some users we have given access to override check-in on document libraries within SharePoint online, but don't want them to be able to change the configuration of the libraries. Because of ...
1
vote
0answers
37 views

Sharepoint page not opening folders in web parts

I have a web page that has a couple of document libraries as web parts. All the libraries has folders with documents in them. On the main page, I can not open any of the folders. I can go directly to ...
1
vote
2answers
31 views

What info are exposed inside the site activity modern web part? can i know what other users viewed?

I have added a "Site Activity" web part inside our modern team site. and to check what this web part expose >> i login using 2 different users (UserA & UserB). UserA. will see what he/she have ...
1
vote
1answer
25 views

Web parts continuously loading

Our organization is running a Microsoft hosted SharePoint 2013 Cloud Service as our intranet. It was originally set up by a consultant, who built two "custom" web parts for the site. One is a calendar ...
1
vote
1answer
39 views

Auto populate a lookup field with multiple entries after selecting multiple entries from a lookup

Please excuse me for the vaugness, required due to the type of work. I have a list that indicates upcoming work on various items. When the work is finished on those items, drawings need updated. As ...
1
vote
0answers
11 views

Table Of Contents won't show subsites and pages at the same level

I am using the Table Of Contents webpart, but I cannot get it to show the contents in a logical manner. The problem is that pages and subsites are treated differently in the displayed hierarchy. I ...
1
vote
0answers
42 views

Change Look of Classic List

How can I change the look of this list? In classic view, the space in between the question and the text box to be filled up is too big. Is this a change web part? and if so what formula may I use?