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,056 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
1answer
52 views

Library web part - link behavior - make link open in window, not web part

I'm using SP 2013 library web parts on my sites. The web part displays folders, when the folders are clicked, it opens the folder inside of the web part (like a preview). We would like the links ...
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
57 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
1answer
30 views

Custom ToolPart is not Display in Custom Properties section with styling

I create custom toolpart in custom webpart that tool property bind data in dropdown list.but is not display properly.. It look like below but I want to display this Custom categories with "+" button.
2
votes
0answers
83 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
330 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
176 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
300 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
2answers
3k views

Web Part Error: Could not be found or it is not registered as safe

Looking around I know this is a common error but I can't find for help for the specific issue I am having. I am getting the error but in the message it is displaying the web part with it's ...
2
votes
1answer
420 views

Duplicate people in SharePoint Online Search result

In SharePoint Online Search result, I have some people duplicated and I don't know why. One have information like number et the other one nothing only the same name. I've already checked the user ...
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
345 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
224 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
117 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
2answers
469 views

Cannot Create New Site Collection

Getting the Error below: Event log message was: 'The site template was not provisioned successfully. Delete this site collection in Central Administration, and then create a new site ...
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
1answer
104 views

Add same webpart multiple times on a webpage

I have a webpart i need to add multiple times on a webpage, how can I restrict in javascript the the variable to read from each webpart property? In webpart ascx file, I have hidden fields like: &...
2
votes
0answers
157 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
1answer
37 views

Blank areas where webpart originally lived after position:relative web part

I'm creating a page and using CSS in a content editor to customize. I have a title webpart, list web part, and a show all / hide webpart that I'm using JavaScript to reveal a 2nd list and hide the ...
2
votes
0answers
116 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
150 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
131 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
1answer
240 views

filter rss feed based on URL/link

I'm setting up an intranet that needs two RSS viewer webparts. But these webparts need to find specific content from the same feed! It is this feed: http://www.skm.dk/rss One webpart needs to show ...
2
votes
0answers
540 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
543 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
2answers
431 views

SharePoint 2013 Document Library Web Part

I am wondering if anyone can possibly answer by question, I have created a new page layout using the Bootstrap framework and then added approximately 5 web part zones, in each web part zone I have a ...
2
votes
1answer
136 views

Hide Viewed Items on Discussion Board

We have a web part for a discussion board on SharePoint 2013 (Enterprise) that we would like to be able to hide items for each user as they view them. So for example: Item 1 has been created and no ...
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
1answer
1k views

How to add style bullets to Summary Links Web Part

I am working with Summary Links Web Part and I notice that when I click on Configure Styles and Layouts that in the dropdown the selection is different from one Site Collection to another. My ...
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
437 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
49 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
1answer
37 views

Top visited entries on site collection blogs

I want to develop a web part which shows the ranking of entries of a site collection. By now, I think a way to do this is to use a Javascript code added on the master page which adds a row to the ...
2
votes
1answer
84 views

Use web parts to show a Word docx file

I would like to know if it is possible to show a Word docx file in a web part, just as you can show an Excel sheet
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
293 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
388 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 ...
2
votes
1answer
986 views

SharePoint 2010 Javascript JSOM creating a List View Web Part using javascript

I was able to follow along and add a Content Editor web part to a page using javascript from MSDN here. I am now interested in trying to find a way to add a List View or Data View web part to a page ...
2
votes
1answer
498 views

How to use XsltListViewWebPart with folders

I have an XsltListViewWebPart on a custom page that works fine for a SharePoint 2010 library. My problem is that I need to tell this web part to list only documents in a subFolder of the library. How ...
2
votes
0answers
128 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
332 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
723 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
663 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 ...