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)

0
votes
0answers
27 views

How to add/remove a webpart from the welcomepage of a mysite?

I have added a webpart programmatically on a mysite welcome page. How can I add/remove this webpart by gui? This is the url of the mysite: ...
0
votes
1answer
226 views

Programmatically add a web part to a page using CSOM

I want to create a SharePoint 2013 app that will add a web part (and an app part) to a page programmatically. I will be using SharePoint online. I cant seem to find any code that does this. Is this ...
1
vote
1answer
26 views

Related Queries web part; replacements in SharePoint 2013?

SharePoint 2010 had a nice web part available out of the box which could be added to search result pages to show users related search phrases, similar to this: It looks like this web part is no ...
0
votes
0answers
34 views

Sharepoint Online Metadata Navigation Web Part

I have a Problem with my SharePoint Online. I have a Publishing Collection Site, and Managed Metadata Navigation Terms activated on it. When I create a new Publishing Page with a custom Page Layout ...
2
votes
1answer
65 views

How to create webpart page using ECMA Script

I have tried to create webpart page using ECMA script, but did not get the right solution. Example : I have created two text-boxes one for "page name" ,second for "web-part name". when user click on ...
1
vote
1answer
28 views

Adding a large modification to web.config in a SharePoint Web Part

Through various sources on the web, I've seen simple ways to modify web.config from a SharePoint feature. However they are typically one liners. But if I need to add a WCF Binding such as this: ...
4
votes
1answer
57 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 ...
0
votes
0answers
106 views

Web Part error: One of the properties of the Web Part has an incorrect format

I get the following error: One of the properties of the Web Part has an incorrect format. Windows SharePoint Services cannot deserialize the Web Part. Check the format of the properties and try ...
0
votes
1answer
44 views

Hiding the navigation on a modal pop-up box on SharePoint 2013 Enterprise

Is there a way to prevent the navigation from appearing twice on the page with modal pop-up boxes as seen in the image below? I'm aware you can change the css to display none but I would only want ...
1
vote
1answer
74 views

How to add webpart on Publising page using ECMA Script

I have tried to create webpart page using ECMA script, but did not get the right solution. How we can create web part page using ECMA script? Below is my code: <input id="createPageBtn" ...
0
votes
0answers
12 views

Problem with Parameters in Visual Web Part

Parameters are very clever choice, but after midnight they are changing the values again into null value. How to protect them from changing. I am using five parameters, how to protect them from ...
2
votes
1answer
88 views

Web Part Organization Browser problem Sharepoint 2013

Users on My site are synchronized with AD, I've created a company hierarchy (users and managers). I want to display all users and their managers on the Home page of my SharePoint site. I've added ...
0
votes
1answer
52 views

Get selected list items from Sharepoint Web Part

I am making a web part that will be added to a list page, and I need to access the selected items in the list. I am trying to do this using the following method (mentioned here: Get selected item in ...
0
votes
0answers
18 views

Content search webpart displaying scroll

I have a content search webpart when hovering over the webpart a overflow-x get displayed as visible, even if the content aint so width, were can i find to remove this? Because when not hovering for ...
1
vote
0answers
172 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. ...
0
votes
0answers
53 views

Add a advanced search webpart to master page in SharePoint 2013

I want to add a advanced search webpart to master page in SharePoint 2013. I export the advanced search webpart, and then upload it to library in the site. Then I want to do: go to Site Settings -> ...
2
votes
1answer
70 views

How to get property value from webpart

I want to get webpart property value using powershell $path="C:\Webparts\MyPart.webpart" $path [xml]$xmlPath = Get-Content $path $myrespath = $xmlPath.data.properties.name.UrlWebPart $myrespath ...
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" ...
0
votes
0answers
30 views

Dropdown parameter of ssrs report in sharepoint webpart got hang when clicked

I am creating a web part which will have a SQL server report integrated into it. i have 6 parameter in the parameter box. one of the parameter have drop down in it. when i click on the drop down for ...
0
votes
0answers
26 views

Visual Studio workflow and web part

I am still new to c# and I have been asked to design an Approval Workflow in visual studio. I want to concatenate a web Part link with the task id that is created by the workflow to send it through ...
2
votes
1answer
70 views

Get all list items versions from client side

I am trying to get all versions from every item in a SharePoint list using only client-side through a web part. Following the exemple at ...
0
votes
1answer
24 views

How to find the web part: Error while executing web part: System.StackOverflowException: Operation caused a stack overflow

uls ERROR: Error while executing web part: System.StackOverflowException: Operation caused a stack overflow. How can I find out which web part is throwing this error? [This is not the kind of ...
0
votes
1answer
9 views

How to get webPart settings from an string array?

I am building a custom webpart. I have also created some generic config class where I get the webPart provisioning settings by current webTemplate internal name. I only need to know how to get the ...
0
votes
1answer
30 views

SharePoint lists and libraries are accessible without any authentication

I am new to SharePoint development, I am building an internet facing website with anonymous permissions for the pages, my current situation is that my lists are accessible without any security upon ...
1
vote
1answer
18 views

When to use the “using” wrap?

I am developing a custom webpart. I have for example this method. private void DeactivateProvisioningFeature() { SPSecurity.RunWithElevatedPrivileges(delegate() { ...
1
vote
3answers
36 views

Webpart won't update after deploy

I'm quite new to sharepoint programming and so I ran into a problem. I created a new webpart in my solution and changed it a bit. Next I deployed the whole solution and added the webpart to a newly ...
0
votes
1answer
274 views

Error:Access denied. You do not have permission to perform this action or access this resource

I am retrieving items from SP lists. But when I try to deploy my solution through VS 2013 it says Access denied. You do not have permission to perform this action or access this resource. ...
0
votes
0answers
24 views

Add multiple Search Result webparts with different result sources

I have to create a site, which has 2 result sources and 2 Search Result Web Parts. The result sources filter for different document types, so i want to display results in two different Web Parts. Now ...
0
votes
0answers
30 views

Send query to search results webpart in c#

We have to build a custom search page with a few free text and dropdown list columns that target a specific content type. Very traditional and standard situation. Is it possible to just build a ...
1
vote
0answers
22 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. ...
0
votes
1answer
28 views

Errror: The field you are trying to update may be read only

When adding a new item programmatically to picture library I'm facing this issue: The field you are trying to update may be read only Here is my code using (SPSite site = new ...
0
votes
0answers
15 views

Unable to access web services using ajax method written in content editor web part in Share point services 3.0

I want to fill text box values depending upon the drop down selected value - for that I have created content editor web part, I want to select values for text box from other list for that I am trying ...
0
votes
0answers
24 views

Skin File For SharePoint 2013 WebPart

How Can I apply a custom theme/skin to SharePoint 2013 visual web part in visual studio 2012, like we do in asp.net
0
votes
1answer
46 views

Blog Site RSS Web Part not shown

In Sharepoint 2013 a Blog Site RSS Web Part is not showed until the SC Admin account(s) navigates to the landing page for the first time. Any idea why this way? Or if it's possible to force it. ...
0
votes
2answers
43 views

change default image of content search webpart

Hi i have a content search webpart when a user does not have a profile-image on that persons site, it display a default image like this how could i be able to change default image that is rendered? i ...
0
votes
0answers
29 views

WebpartZoneID for NavigationZone in search center's results aspx page

How to get the WebPart ZoneId of navigation zone in the results.aspx in search center site.I am trying to add a refinement web part to the navigation zone through powershell. $myCustomWP = ...
1
vote
0answers
53 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 ...
0
votes
0answers
20 views

embeding content field into a web part

I have successfully been able to get my Content Fields show up on my Page Layout through SharePoint designer. Some of these fields don't need to be a permanent part of the layout any more and would ...
1
vote
0answers
18 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 ...
0
votes
0answers
36 views

How to check if webpart exist on page?

I have already found some solution to check if a webpart exist on a page. But I think it is not ok for the performance. It will loop into all webparts on that page. Is there some best practice ...
0
votes
1answer
29 views

Display more than one fields using content search webpart

I need to show more than one field from particular list using content search web part. Please provide me the steps or any reference links for the same. Thanks.
0
votes
0answers
22 views

Toolbar Colour Change

I was wondering if anyone could help me. I have tried everything from themes to finding the web parts ID. I would like to change the colour of the web parts toolbar background and font (from the ...
0
votes
0answers
30 views

Can't open XSL Editor for RSS Viewer web part

I've added an RSS Viewer web part to a page in SP 2013 Online, and when I edit the webpart and try to open the XSL Editor, I get a console error: Uncaught TypeError: window.showModalDialog is not ...
1
vote
1answer
86 views

Web Part maintenance page: An unexpected error has occurred

In SharePoint 2013 page, under Page edit mode, when I try to add my custom Web Part, I got following error as shown in picture: Then I append ?contents=1 at the end of Page URL: ...
0
votes
0answers
88 views

Getting the error Request for the permission of type 'System.Data.SqlClient.SqlClientPermission,.." failed

I created a SharePoint 2013 farm solution, and inside it I created a visual web part. the visual web part is calling a class (inside the same project) that is in turn executing an ADO SQL command on ...
0
votes
0answers
9 views

field “JS link” had disappeared in web-part properties [duplicate]

I do not see "JS link" field in web-part properties for simple List. I am on SP online. I tried IE and other browsers. What's the problem?
0
votes
1answer
57 views

How to display application web form in modal dialog?

I have the following code of application page formdem.aspx: <%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %> <%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %> ...
1
vote
1answer
50 views

How to modify default site page via features?

I need to set the web part I added to a provider hosted app as a default page in the site via a module. Can someone tell me please how to modify that module in order to load the web part as a default ...
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
1answer
60 views

How to call a user control in a client web part

I'm trying to call a user control (.ascx) in a client web part that I've created, knowing that I need to do that in a provider hosted app. Can someone give me a helpful tutorial please? What should I ...