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.

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" ...
4
votes
0answers
154 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
0answers
907 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/...
3
votes
0answers
78 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
0answers
112 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
0answers
173 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
0answers
397 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
104 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
463 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
0answers
400 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
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
0answers
982 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
0answers
114 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
332 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
474 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
682 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
94 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
0answers
42 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 ...
2
votes
0answers
21 views

Site User Web App not updating permission group

I am fairly new to sharepoint and having a real time with this. I have a collaboration site that features the Site User Web Part to show who is a member of the committee. It is populated using the ...
2
votes
0answers
42 views

Simplest way to store data and pull it into Enterprise Wiki Page

I am attempting to build an Enterprise Wiki in Sharepoint to document some of the typical processes we do in our IT helpdesk. I really like the organization of a wiki for its ability to interconnect ...
2
votes
0answers
55 views

Filtering a Web Part list using the current month viewed on a Calendar page

We have an Advertising Calendar which shows when our confirmed marketing events will happen. At the bottom of each month’s page, my boss would like a separate list web part that filters to show only ...
2
votes
0answers
82 views

Adding a ListViewWebpart to the Pagelayout.html/.aspx

I've been trying to add a ListViewWebpart to a page layout without success for some days now. I am using a SharePoint 2013 Standard Server with enabled publishing features. I also use the Oslo ...
2
votes
0answers
323 views

HOW to set permission on multiple folders

I got a client that has a really dense folder structure and they want to apply permission to the different folders. I wanted to know if there a way to apply permission to multiple folders at a time ...
2
votes
0answers
174 views

SharePoint 2013 - How to enable collapse view in a list with web part connection?

I have two lists that are connected in the same page via web part connection. This way, I can filter one of them using the other. However, since there are many inputs, I would like the view to be in ...
2
votes
0answers
149 views

Return QueryString(ID) as an integer

I actually have a custom dispform with a XsltListViewWebPart. This list has a column called RootId. I need to filter data from this list based on the ID set in the page's URL. I can query the ID in my ...
2
votes
0answers
291 views

Get PublishingPageContent rendered when using Rest Api

I am trying to implement client-side navigation within a sharepoint site, this means, allowing the user to navigate thru the different pages without reloading the browser. I can dynamically load the ...
2
votes
0answers
127 views

SharePoint Online - Add 'documents' web part to page layout and allow changes to the web part

I have created a custom wiki page layout which is almost perfect, however, I want to add a Document (Shared Document) web part to the page layout and allow the user to change the view of it when they ...
2
votes
0answers
336 views

Change SharePoint 2013 web part search query using Powershell

I need to edit the query of a Search Results web part on multiple pages of the same site collection (with no subsites). With the following code, I've been able to change the web part's title, but I ...
2
votes
0answers
220 views

View list item page and associated approval tasks webpart

I have custom list with an InfoPath form and a Nintex approval workflow associated with it. What I want to achieve: I would like approvers to be able to see their pending approval tasks for the item ...
2
votes
0answers
116 views

passing filter value from a lookup field

I have two lists One is service, the other is service feedback Now in the service feedback display page, I have added a service list webpart on top. I am passing the filter value from the lookup ...
2
votes
0answers
18 views

How does one search a site collection for code embedded in web parts?

When refactoring you have to search your code base to see what areas may be impacted by a changing api. Code that is maintained in .js files and checked into source control can easily be searched. ...
2
votes
0answers
42 views

Custom Web Parts

I'm a designer and I'm kind of new to Sharepoint. I designed this mockup for an Women's group at my company, but before developers were able to start implementing the design, they were pulled to ...
2
votes
0answers
150 views

Not Showing Any Results in List App Part When Using Text Filter Web Part

I'm a site collection administrator in our SharePoint 2013 on premise instance. I want to use a text filter box to filter the contents of a list view app part based on a "Keywords" column. However, ...
2
votes
0answers
115 views

assign webpart to a group using dwp file

I have a dwp file I want to assign it to an already existing group instead of miscellaneous group <?xml version="1.0" encoding="utf-8"?> <WebPart xmlns:xsd="http://www.w3.org/2001/XMLSchema"...
2
votes
0answers
36 views

Newsfeed web part customization

While posting we are getting icon for post image I need to include icon for document sharing, Task and announcements. Is there any way to implement this..?
2
votes
0answers
148 views

How to create calculated column / Property in the User Profiles with Visual Studio or Manually?

I have to create one calculated column / Property in the User Profiles with custom / Visual Studio or Manually. Is it possible and How? I know that, we can create the Property but I don't know how to ...
2
votes
0answers
128 views

datetimecontrol access error

I have a SharePoint DateTimeControl in a page which was deployed as a webpart and working on the first server. Then I had to move the solution to another farm. Now I got the error when I click on the ...
2
votes
0answers
527 views

Zoom SSRS Report to fit Web Part size

I am creating a dashboard in SSRS made up of eight SSRS charts all displayed on a single page. This page is to be resizeable / work on numerous screen resolutions. I have made the SQL Server ...
2
votes
0answers
540 views

Programmatically update the DataProviderJSON Query Text

namespace CSWP { class Program { static void Main(string[] args) { using (SPSite oSie = new SPSite("http://sp14:14583/sites/School")) { ...
2
votes
0answers
32 views

How to get a side column without creating a new web part page in Sharepoint 2010?

I have a list with the following columns already on it. {Date, Request, Requestor,...,...} etc and I'd like to create a left column that has certain links. As shown in the image, that column contains {...
2
votes
0answers
63 views

Automatically propagating changes to a list view to web parts

My list has a view that is used in multiple List View Web Parts throughout my site. Normally, if a change is made to this view, I have to manually update each associated List View Web Part to ...
2
votes
0answers
13 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 ...
2
votes
0answers
426 views

Web part always added at the bottom of a page

I am adding a web part using the following code and xml: string xemelek = "<?xml version='1.0' encoding=\"utf-8\"?><webParts><webPart xmlns='http://schemas.microsoft.com/WebPart/v3'>...
2
votes
0answers
48 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 ...
2
votes
0answers
398 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
53 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
1k 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 ...
2
votes
0answers
57 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
292 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 ...