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

learn more… | top users | synonyms (3)

4
votes
0answers
264 views

Page Layout html page field filter outside of web part zone

I have a page layout with some web parts outside of a webpart zone so that they are added to already created pages which use the page layout. I want to add a page field filter to the page as well and ...
4
votes
0answers
183 views

Advanced Search web part giving error

I am trying to add an "Advanced Search" web-part to my web-part page. Currently the web part is raising an error object reference is not set to instance of object. Full stack trace recovered from ...
3
votes
0answers
37 views

CRUD between two Sharepoint farm

Please give advice for this case. I have two separated SharePoint sites: The first site is in one SharePoint farm. On this site we contain the private data and we use this site as the internal site. ...
3
votes
0answers
39 views

SP2013 Move Blogs Posts Part to another page

I am trying to duplicate the default Blog Posts web part that is created for Blog sites on SharePoint 2013. Finding that it is not a simple things though I would guess that many others would be ...
3
votes
0answers
168 views

SharePoint Edit Mode Javascript error in edit mode

I am not able to edit the page from the browser. I used to change and edit webparts when suddenly in the edit mode everything looks like it is locked/stalled. When I open the debugger tool, I saw a ...
3
votes
0answers
294 views

How do I localize web part title?

I'm adding a bunch of web parts to a page using a module like this: <AllUsersWebPart WebPartZoneID="TopLeftRow" WebPartOrder="1"> <![CDATA[ <webParts> ...
3
votes
0answers
291 views

Default Webparts not rendering in a RichHtmlField on a custom page layout built in Visual Studio

I have a bit of a conundrum.I've built a Visual Studio solution for SharePoint 2010. It comprises of a custom master page and a bunch of page layout templates. I'veAssembled a master pageAssembled a ...
3
votes
0answers
1k views

How can I specify the ID of a XsltViewWebPart?

In a module, I'm deploying a webpart page where I put a view to a list : <View WebPartZoneID="Body" WebPartOrder="3" List="related" BaseViewID="4" ...
2
votes
0answers
29 views

SharePoint Online, Add a webpart to wiki page

I need to add a web part to an existing wiki page [Type="GhostableInLibrary"], when a feature is activated. I have tried a combination of both IgnoreIfAlreadyExists and ReplaceContent properties in ...
2
votes
0answers
50 views

Set view fields in content query web part programmatically

I am using the code below to update a web part on a home page, it sets the correct settings but when I go to the page with the web part it doesn't pick up the links from the Navigation list. What I ...
2
votes
0answers
55 views

How can I speed up web part loading times?

I have a SharePoint site with a performance point dashboard which contains a number of webparts.The initial page load time is around 1s according to F12 Dev tools. After this I see spinning green ...
2
votes
0answers
57 views

allow contributor users to add web parts to a page without granting them “Add and Customize Pages” permission

I am working on an enterprise wiki site collection, and when contributor users try to add web parts they will get the following error:- A Web Part or Web Form Control on this Page cannot be ...
2
votes
0answers
94 views

JavaScript for Media Web Part in SharePoint 2013?

I have some custom JavaScript in SharePoint 2010 that works with the native Media Web Part, as described on MSDN. However, when porting this over to SharePoint 2013, the obj[0].Content.MediaPlayer ...
2
votes
0answers
295 views

List does not exist Error when adding web part Sharepoint 2013

I want to add a web part in my site collection home page containing a list that is created in on of the subsites... i looked in Google for that and it looked like a simple task to do. Almost all ...
2
votes
0answers
25 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
67 views

how to validate fields with html5 & sharepoint 2010 webpart?

Recently, I tried to get validated fields with RegularExpressionValidator. When I deployed the webpart, the click event is not working as expected. I hear that RegularExpressionValidator is not ...
2
votes
0answers
36 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
64 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
0answers
167 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
235 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
0answers
73 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: ...
2
votes
0answers
94 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
117 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
0answers
617 views

Excel Web Access web part real time update

I have the following scenario and would very much appreciate any advice: I exported a list /System/Examples to Excel and then saved it as Testing.xlsx to a different document library: ...
2
votes
0answers
426 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
550 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
0answers
420 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
169 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
0answers
127 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
709 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
520 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
127 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
741 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
740 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 ...
1
vote
0answers
37 views

SharePoint 2013 - Visio Web Part open links in the same window

The problem is that the Visio Web Part opens links in a new window instead of the same window. The solution could be to configure the web part with JavaScript. I found this code from Jakub ...
1
vote
0answers
52 views

Unable to show a list of all the sub sites under a parent sub site

I have team site collection, where I created a parent sub site. Then under the parent sub site I created many sub sites. Now I need inside the parent sub site to show a list of all sub sites under it. ...
1
vote
0answers
27 views

add a button to export a sharepoint list

I want to add a button in a webpart.(i won't use the export boutton in the ribbon) when I click to the button I want to export my sharepoint list to a excel file. i used this code but when i save ...
1
vote
0answers
12 views

designer file of webpart

We use visual studio 2012,sharepoint 2013 and visual source safe 6.0. We work on code in connected mode on VSS.I had done some changes in a certain code and had checked in into VSS. The designer file ...
1
vote
0answers
18 views

How to have editable gridview

I do have a table which have values like ID Idea Creator etc.. Once clicked On ID it give a new page displaying details about that particular Idea. Now the case is, there may be many Ideas by one ...
1
vote
0answers
117 views

Get inner content of Content editor web part Programatically using CSOM C#

I need to Access Web parts Content Property but it is not available in Web Part Properties when I tried with Client side object model C#. Please find below reference links for detail information. ...
1
vote
0answers
24 views

How to add two webparts to different pages

I want to add two webparts to two different pages, using PowerShell Webpart1 to sites/customers.aspx Webpart2 to sites/support.aspx $FullPageUrl = $SPWeb.Url + "/" + "sites" + "/customers.aspx" ...
1
vote
0answers
17 views

An unexpected error has occurred when trying to save HTML code in script editor

I'm a beginner at this, I hope someone can help me.. I am modifying a demo web site in sharepoint 2013 that is published with dynamic AX R3 (Contoso), basically I have a full working web site. ...
1
vote
0answers
42 views

Error While Adding Visual Web part To Master page in 2013

I am Trying to add a Visual Web part with Custom css and Java script in it. When i try to add in a layout page It works fine. But when I used the below steps ...
1
vote
0answers
16 views

Issue populating edit forms in Sharepoint 2013

So I have a SharePoint list where on the edit page I have created multiple infopath form webparts, each audiences to a different group with a different view. The problem is that only the first form is ...
1
vote
0answers
22 views

Error while creating and Saving Page under TeamSite

Under SP 2010 TeamSite, When i create Page by going Site Settings -> Create Page, the page created but after writing something on the page when i click on save button, I get following as shown in ...
1
vote
0answers
23 views

How to Edit InfoPath Form Web Part embedded into a page when there is no list associated with the Form?

I'm having difficulty editing a SharePoint 2010 page. Someone else created it. The set up is a bit different than normal. The page has an InfoPath form embedded in to it. I have full admin rights to ...
1
vote
0answers
15 views

Linked webparts filter

I have a page with 2 linked webparts, actually 2 list views. (One view is simply sending a parameter to the other view). My problem is that when I use the list filter (by clicking on the view column) ...
1
vote
0answers
23 views

Linking Calendars&Tasks in SharePoint 2010

I'm in the process of a build out a project management site for my company. The site (and subsites) all have task lists and calendars to track initiaves. Each calendar is already linked to a shared ...
1
vote
0answers
57 views

Need Help Change Background Color on One Webpart

I have been struggling on changing the background color for one webpart. With the CSS below it does change the background color, blinks with the change for a quick sec, and then goes right back to the ...
1
vote
0answers
54 views

How to execute a SQL Agent Job on a button click in a Web Part page of a SharePoint 2013 site?

I have a SharePoint 2013 on-premises site. The requirement is to add a button to one of the Webpart pages and on click of that button, a sequence of 3 consecutive SQL Server Agent jobs will be ...