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 ...

learn more… | top users | synonyms (3)

8
votes
0answers
399 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 ...
8
votes
0answers
268 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 ...
5
votes
0answers
359 views

Least Level of Permissions for Web Part Page

I have a web part page with nothing on it. The user has SPBasePermissions.Open and SPBasePermissions.ViewPages only. The ULS shows: UnauthorizedAccessException for the request. 403 Forbidden will ...
4
votes
0answers
31 views

How to detect if a Project is in edit mode with JavaScript

I uploaded a javascript with a web part to my Project Server 2013 environment, and included the web part in one of the project's PDP, which contains the following code: var $puidElement = $("[GUID='" ...
4
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" ...
3
votes
0answers
57 views

What is webpartid2?

For example I have html for webpart like this: <div class="ms-WPBody noindex " id="WebPartWPQ2" webpartid="7de980df-9385-4e4c-9dc2-a518e968df1c" ...
3
votes
0answers
44 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
209 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
256 views

Shared Documents webpart folder error

Getting a weird error that only seems to affect some of my web parts. I have a web part page on a subsite that's got its Shared Documents on there. The webpart works as expected if you click on the ...
3
votes
0answers
395 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> ...
2
votes
0answers
27 views

how to get the files from active folder… the folder name is in hte URL - rootfolder

I've a document library and within this document libary I have sub-folders (no subfolders further). There is 1 documentlibary called DocumentACC and this document libary contains Sub-folders as you ...
2
votes
0answers
81 views

How can I filter a List View in a Web Part page using AJAX so the entire page doesn't reload/refresh?

I have a Web Part page with a list view. I know how to use filter webparts that connect to the list view to filter the list. But those all reload/refresh the entire page. I was wondering if there is ...
2
votes
0answers
39 views

Web Part Leaves Behind Code When Deleted

When I delete a custom Web Part from a Sharepoint page, even though the WYSIWYG editor shows nothing even when I backspace, if I look at the HTML, there's code left there by the web part, that usually ...
2
votes
0answers
33 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
105 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
71 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
152 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
531 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
78 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
38 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
71 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
197 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
255 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
81 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
196 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
0answers
99 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
132 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
710 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
490 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
699 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
455 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
177 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
129 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
833 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
534 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
816 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
804 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
15 views

Create view for each library created dynamically

I don't need a debugging but rather some advice. On my project i have a list to create several client , for each client i'm creating dynamically a Library on my C# code. Each Library have the same ...
1
vote
0answers
12 views

How to implement Update/Delete operations using Business Data Web part

I have created a web part page for displaying the contents of my external list with a Filter parameter. I'm using a Business Data List Web part for this. I need to have Update/Delete operations for ...
1
vote
0answers
12 views

InitializeControl does not exist in the current context Office365 (Sandbox solution)

I am attempting to deploy a Visual Web Part (Sandbox Solution) and I am receiving following error: The name 'InitializeControl' does not exist in the current context". I was able to deploy a ...
1
vote
0answers
42 views

How to create a NewLetter in sharepoint

I need to create a News Letter that sends E-mail to the corresponding users who have subscribed to the newsletter.And the newsletter template must be attached with 4 other lists.And the changes in ...
1
vote
0answers
37 views

Web Analytics WebPart can't display Most Viewed Content

I have added a Web Analytics Webpart on my page and set it to display most viewed content. It always says: Most viewed pages (under http://site/subsite) There are no results to display. Any help ...
1
vote
0answers
8 views

Accessing Help without having to edit page

I'm trying to implement a context sensitive help system within SharePoint. The built in Help system requires you to edit the page before you can see Web Part help. I want my users to be able to ...
1
vote
0answers
31 views

How to list up sites you have permission to

We have a SharePoint 2013 on-prem environment. We are using both sites and site collections as project rooms. On the front page of our intranet I need to list up all sites and site collections which a ...
1
vote
0answers
32 views

Connecting DataView webpart to Listview webpart

For a customer I have to display related data on a CustomDispForm.aspx page. So I started to add a Listview webpart tot the page showing content from the list with the related data. But when I tried ...
1
vote
0answers
28 views

How to integrate SharePoint to a public website?

I have a question regarding how to integrate or call a SharePoint list/webpart in a public website? In the website I have navigation menu item called "Show list" when a user clicks on that it should ...
1
vote
0answers
16 views

How to get an Excel table's Summary property from JavaScript on the client side using the Ewa namespace

Background: The value of the Summary property corresponds to the setting of the Description box in the Alternative Text dialog box, which is displayed by right-clicking on an Excel table and then ...
1
vote
0answers
33 views

Add new item in Web part is not showing

I have this weird scenario where a user with contribute access is not seeing Add New Item button in web part. I tried to edit page change the toolbar option to full but of no use. Did anyone faced ...