A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

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,101 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
10
votes
3answers
412 views

webpart hidden when in webpart zone

So I have a webpart that I have put into a webpart zone, when it is in the webpart zone it does not show but when I put it outside the zone it appears, what am I doing wrong? Code below: <...
8
votes
4answers
7k views

Report Viewer Web Part Alternatives in SP2013

We have a need to upgrade from SP2010+PWA to SP2013+PWA. Our database server will be SQL Server 2008 R2. According to Technet, the SQL 2008 R2 Reporting Services add-in for SharePoint isn't ...
7
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" ...
6
votes
3answers
3k views

Search Box disappears when I save Web Part Settings

I am checking the "display search box" option in my web part properties and clicking "ok" but the search box disappears. When I click "apply" it will show the search box, but it will disappear again ...
6
votes
1answer
2k views

Setting an audience from declarative WebPart?

I have a module that deploys some page. I'm adding webparts to these page, using a <AllUsersWebPart> node within a <View>: <View WebPartZoneID="Body" WebPartOrder="5" ...
5
votes
1answer
849 views

Declarative WebPart on publishing page

I have made a publishing page layout that has a WebPartZone and a MediaWebPart in the ZoneTemplate. Example below. <WebPartPages:WebPartZone runat="server" Title="Fokusøki Media" ID="WebPartZone1"...
4
votes
1answer
706 views

Modern Site “Highlighted Content” web Part links not working properly

This seems to be a known issue on Microsoft's website. When a new link is created and a filter is added to the highlighted content web part to pull that link it seems to pull the link in a card layout....
4
votes
1answer
485 views

Print Files through SPFx/JS?

I would like to build a button which would send a batch of files to the printer when clicked (It can prompt the user. Doesn't need to go to the printer without approval). The files would exist in a ...
4
votes
0answers
159 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" webpartid2="4cb90c96-ea5a-41db-ac5b-...
4
votes
1answer
4k views

When adding a WebPart I get “List does not exist” error in SharePoint 2013

I created a list (Promoted Links) and exported the list as a WebPart using SPD and added the list to the gallery. But whenever I try to add the list to another page or site, I get the "List does ...
4
votes
0answers
910 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: /System/...
4
votes
1answer
1k views

RSS Feed Viewer Sharepoint 2010 Webpart stopped working

I have a RSS view webpart in SharePoint 2010 portal, till last day it was working fine. Now it's throwing the error: The requested RSS feed could not be displayed. Please verify the settings and ...
4
votes
2answers
787 views

Strange behavior appears when using Updatepanel on web part in Sharepoint 2013

Strange behavior appears when using Update-panel on web part in Share-point 2013. Everything works fine but after several(2-3 minutes), any action in page cause Full page load. In FF and Chrome post-...
3
votes
1answer
71 views

How to extend search count in content search Web part?

I have created the sharepoint 2013 content search web part. it shows only maximum of 50 results , i need to extent the count upto 200. is possible to do it in extended content search web part without ...
3
votes
0answers
90 views

Default WebPart in page layout is not editable

I have added a WebPart using in the Page Layout, but it is not editable, even though I specified AllowEdit = true. <WebPartPages:ContentEditorWebPart webpart="true" runat="server" ...
3
votes
1answer
3k views

How to edit the size of a web part in a modern site

Am using a modern communication site,and i added some web part but cant seem to find a way to edit those web part sizes.
3
votes
0answers
131 views

Use npm to reuse react components between web parts

I've been building web parts for a while now and I've found myself copy-pasting some of my spfx react components more often than I'd like. The ideal solution for me here would be to publish the ...
3
votes
1answer
146 views

Difference between ViewsLastMonths1, ViewsLastMonths2 and ViewsLastMonths3

I'm working with the popularity trends web part and would like to display the number of visits/unique users per item. As of right now I have ViewsLastMonths1 and ViewsLastMonths1Unique displayed. ...
3
votes
0answers
212 views

infopath list form display rules do not work in IE

Infopath 2013, SharePoint 2013 in Office 365 The Infopath created list form is embedded in a SharePoint page as a web part. The Infopath created list form works in Edge & FireFox - I have ...
3
votes
1answer
1k views

Excel Web Access Web Part won't load any workbook

I've been attempting to troubleshoot an issue on my SharePoint 2016 site with the Excel Web Access. I'm trying to embed a simple work sheet into a page. I should simply be able to open the Web Part ...
3
votes
1answer
394 views

SPCascade Dropdown Required Field

We are running SharePoint Online, and are using jquery.SPServices-2014.02.min.js with jquery-1.10.2.js. Simply we tried using SPCascadeDropdowns documented at the link below: https://spservices....
3
votes
2answers
72 views

NewsFeed Webpart Out of box question

NewsFeed webpart comes with a subject view. I was wondering if there was a way to remove "my discussions", "Unanswered questions"..
3
votes
0answers
414 views

How do I add the approve/reject button to the DisplayForm.aspx on a SharePoint 2013 task?

Hi I am attempting to add the approve/reject button to the DisplayForm.aspx (and possibly other forms) on a SharePoint 2013 task. I have a custom SP 2013 workflow designed for streamlining an ...
3
votes
0answers
106 views

adding links to PictureLibrarySlideshowWebPart and opening it on the same tab/page

I'm using the code on page, <WebPartPages:PictureLibrarySlideshowWebPart adding links, for adding the link to the slideshow pic webpart but I'd like to open the link in the same tab/window. Is it ...
3
votes
0answers
559 views

How to fix RSS Viewer Web Part error due to bad / invalid xml?

I'm encountering the error below in my RSS Viewer Web Part: Cannot find site lookup info for request Uri http://pagasa.dost.gov.ph/index.php/news?format=feed&type=rss. Enter:IsIntranetAddress - ...
3
votes
1answer
304 views

After adding item redirect to the listview page

I have created a page in SharePoint 2013. This has a web-part which shows a list view of a custom-list. From this page when I add an item it redirects to the default list-view page. I want it to ...
3
votes
0answers
416 views

Setting InplaceSearchEnabled via PowerShell in SharePoint Online

I am trying to create a script to modify several web parts in a site collection so I don't have to go through the tediousness of doing it 50 times through the browser, but I seem to be running into a ...
3
votes
0answers
3k views

SharePoint Online Calendar Web part only shows events when in Edit Mode

I have a calendar web part on a site that should show the absence of colleagues, however, on the page none of the entered absences is shown. When I click Edit in the top right corner to view the page ...
3
votes
2answers
1k views

How to restrict the number of lines to show using jquery or css?

i have created simple Custom webpart. It looks like in that web part, Description display multiple line . i have used html P tag to display Description value <p>​Loream Ipsum​Loream Ipsum​...
3
votes
1answer
21 views

SharePoint 2013 Webparts Installation

I am migrating from MOSS 2007 and SharePoint 2010 to SharePoint 2013. Can any one share The List of web parts that are present in MOSS 2007 and SharePoint 2010 which are Removed from SharePoint 2013?
3
votes
1answer
422 views

Create a completely blank page only for adding Script Editor Web Part, around 30 of them

I want to create a blank page which I can edit and add Script Editor Web Parts according to the requirement. Tried creating a custom master page for a custom page layout but something didn't work ...
3
votes
1answer
92 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 ...
3
votes
0answers
52 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
1answer
1k views

How to change Document Library webpart's toolbar type programmatically?

I want to edit document library webpart to change Toolbar Type to 'No Toolbar' programmatically using C#. Actually I want to hide 'add new document' button. I have created a document library ...
3
votes
0answers
1k 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 ...
3
votes
2answers
1k views

Org Browser start at a specific user for SP 2013

I have added an Organization browser to a page and was able to have it visible using the below code. What I am wondering, is how I can have the browser begin with a specifc user and not the viewing ...
3
votes
1answer
162 views

Migrate Web Part from one environment to another?

SharePoint Foundation 2010. I have added a very basic web part to my development environment. It is honestly just the Visual Web Part template. I would like to export this web part and import to ...
3
votes
0answers
117 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 ...
3
votes
0answers
340 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
479 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
1answer
409 views

Can I trigger event receiver when webpart is added?

Is there such an event receiver, that would fire when user adds webpart to a page? If yes, how can I create such receiver?
3
votes
0answers
689 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
1answer
2k views

The connection point “filter parameter” on does not allow multiple connections

I have a custom web part which does not allow multiple connection. Scenario : I've added the custom web part on the page, added 2 lists on the same page. Step 1 : I connect List 1 to web part and ...
3
votes
1answer
494 views

Web part search box filtering wrong/another web part

I'm running SP2013 Enterprise with SP1 with publishing enabled. I have run into a very strange problem when creating a page containing two web parts refering to two document libraries. When ...
2
votes
2answers
31 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. ...
2
votes
1answer
137 views

Can't run “gulp trust-dev-cert”. Error “cannot read ”tostring“ of null”

I am trying to build up a react web part for SharePoint, and I was following the instructions from Microsoft page : https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/build-a-...
2
votes
1answer
397 views

SPFx Office UI React - How to default select user in People Picker

On componentDidMount I have received the current logged in user using MSGraphClient. I have saved the object that I received from graph in fullObject variable. I am using below code: <...
2
votes
0answers
146 views

Use SVG in webpart, automatically color to match theme

How can I use the site's theme color(s) in an svg image on a page (within a content editor web part), such that if the site's theme colors are changed, the colors in the svg image automatically ...
2
votes
1answer
39 views

SharePoint Online E1 with Power BI Webpart

As per MSDN, O365 E1 license doesn't support Power BI Webpart. (https://technet.microsoft.com/en-us/library/sharepoint-online-service-description.aspx) Can E1 licensed user view the power BI report(...
2
votes
0answers
71 views

Order of Highlighted Content showing

I want the most recently added page to be shown in my highlighted content web part (carousel). For this I have put in the filter "Title includes the words: Videos" to chose the right pages and below ...