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)

4
votes
7answers
21k views

How do I Modify Contents of a WSP File?

I've been provided a WSP file that contains a webpart created by another developer. I have been requested to make modifications to the webpart and repackage as a WSP file again. What steps must be ...
4
votes
2answers
17k views

List of SharePoint 2010 Out-of-Box Web Parts

Can anyone provide me with a nice URL where it will show all the Out-of-Box web parts in SharePoint 2010 and what each one of them can do?
4
votes
3answers
15k views

Install-SPSolution : This solution contains no resources scoped for a Web application and cannot be deployed to a particular Web application

I have a powershell script that deploys about 12 web parts. They have all been created in the manner through visual studio 2010 and are being deployed to sharepoint 2010. I am getting the following ...
4
votes
1answer
8k views

Setting default value for custom webpart property

im trying to set a DefaultValue for my custom webpart property.. namespace Beraterprofil.VisualWebPart1 { [ToolboxItemAttribute(false)] public class VisualWebPart1 : WebPart { ...
4
votes
1answer
9k views

Custom webpart properties not holding their values!

I am dynamically adding items to a CheckBoxList that configures some settings in my web part. When I set the properties and click "OK" everything on my page works as expected and displays that data ...
4
votes
1answer
7k views

Get the current UI language from a webpart

How can I get the selected language in the screenshot, from inside of a webpart? I'm using SharePoint 2010. My webpart is a "visual web part" created in VS2010. I'm trying things like ...
4
votes
2answers
2k views

Moving a web part to a different zone on a page

How do I programmatically move a web part from one zone to another on a page? I have multiple sites that I want to loop through each site and update the page.
4
votes
3answers
9k views

Side-by-side web parts on a wiki page: possible?

I want to have two small web parts (weather and traffic reports) arranged side-by-side, rather than one on top of the other, on a wiki page (Home.aspx). It appears that I'll need a web part zone to do ...
4
votes
2answers
2k views

SharePoint 2010 web membership through Active Directory group web-part to display user list

I'm building a SharePoint environment that will be composed of many departmental sub-sites. Each of these sub-sites will have membership defined through Active Directory groups. I need to display on ...
4
votes
1answer
10k views

Add programmatically custom Web Part to page without Web Part Zone

I'd like to add custom Web Part to page without Web Part Zone programmatically, however, for some reason, I simply don't know how to do it. I created blank new Page (Body Only) PublishingWeb pWeb = ...
4
votes
5answers
3k views

Visual web part and custom web control - can't register

I have created visual web part and copied custom web control which I'd like to use. My control looks as below: namespace AppsListWebPart { [ToolboxData("<{0}:CustomImageButton ...
4
votes
3answers
8k views

Can't add web parts to a page as a user with Full Control

As a site collection admin, when I go into subsites and choose "Edit Page", and the "Insert" tab, I see a long list of categories for web parts in the left hand panel. However, when I log in as a ...
4
votes
1answer
82 views

Display template not updating outside server?

We have a SharePoint on-prem 2013 farm with 2 app, 2 WFE, 2 search and 2 SQL servers. We recently updated a display template and added a new Content Search web part. While we can see that new ...
4
votes
1answer
2k views

How to create a multilingual visual webpart in SharePoint 2013

Have anyone ever implemented multilingual visual web part in SharePoint 2013? I see there are many links out there on this topic but they are not cohesive and complete. I don't know how can I address ...
4
votes
2answers
398 views

Edit links in OOTB “Community Tools” web part in office 365

I've a requirement to show some custom links in OOTB "community tools" webpart (which will be shown only to community owners and moderators). I've to remove few links and add some custom links to ...
4
votes
2answers
5k views

Sharepoint 2013 - Can I use Visual Studio 2012 express edition for web-parts and app parts?

I am new to SharePoint 2013. I want to develop the app and web parts using visual studio 2012 express edition. Can I use vs 2012 express edition to create app and web parts for SharePoint 2013? Can ...
4
votes
3answers
2k views

Managed metadata refiners are not appearing

I have a site collection with many document libraries and document sets. I have created a managed property for each crawled property that I needed in the refiner, 4 out of 5 fields are managed ...
4
votes
1answer
2k views

Connecting Web Parts across pages in SharePoint Designer

I am trying to connect some web parts across different pages (in the same site) and the behavior I am seeing doesn't make sense to me. I think I am missing something in my understanding. I am using ...
4
votes
1answer
156 views

Microsoft Office 365 Sharepoint issue

When I am logged in through the edit mode my web part (Summary link webpart) displays fine. However when logged out the Summary link webpart displays the error below: Unable to display this Web ...
4
votes
3answers
2k views

Add web part so that we can retrieve it later via CSOM?

How to add a web part on page in such a way that we later on can find it (using CSOM) - Can we somehow store identifier information to the web part? Say user could change the title and description (so ...
4
votes
3answers
7k views

How to change active directory password using Code?

How to change active directory User Account Password using code?
4
votes
3answers
21k views

Show recently modified or uploaded documents

I'd like to display a list of the most recently modified documents across all document libraries in a site in Sharepoint 2010. It seems that the Content Query webpart might do this for me, but the ...
4
votes
2answers
764 views

Contributors can't seem to save personalisable web part properties?

I've using the following code to save the week a user is currently looking at, for next time they view the web part: private string _week = null; [WebPartStorage(Storage.Personal)] public string ...
4
votes
2answers
3k views

Changing a view doesn't automatically reflect on page

We've got a simple view for a list. When we add/remove columns, the view doesn't automatically reflect the changes; we have to go to the publishing page, click Edit Web Part, and re-select the view in ...
4
votes
1answer
62 views

How can I add a global control to check user has updated her/his profile?

Is there any control/feature/webpart I can add to trigger a functionality globally in any page on a Sharepoint? I now have a webpart on the homepage that checks if a user is due to update her/his ...
4
votes
2answers
5k views

Understanding problem: How to add a stylesheet to a web part

Well, I try to add a css stylesheet to my web part but it didn’t work… I read that there are many ways to a css file into a web part, but I didn’t understand them…. First I installed the Sharepoint ...
4
votes
2answers
3k views

Structuring wiki pages with templates in SharePoint 2007

I need to create a custom template for SharePoint 2007 wiki pages. With ability to add multiple web parts zones on Wiki Page. Is it possible to do that, as I have read from online that wiki pages in ...
4
votes
3answers
3k views

Web Part Tool Part Customization issue

To customize the Web Part Tool Part, im following this tutorial : http://blogs.microsoft.co.il/blogs/dudin/archive/2011/04/17/sharepoint-2010-how-to-customize-the-web-part-tool-part.aspx when i use ...
4
votes
2answers
746 views

Web Parts for both 2007 & 2010

I'm curious if anyone has seen any guidance/best practices on developing web parts that can work for both SP2007 & SP2010 with minimal conversion? They wouldn't take advantage of any new 2010 ...
4
votes
5answers
3k views

No way to restore a Post.aspx blog view?

A bug in SharePoint 2013 which breaks the Posts.aspx page. Reproduce: 1) Click on the title of any blog post to open up the Post.aspx?ID=N view. 2) Place the page in edit mode and then place the ...
4
votes
3answers
1k views

How to add webpart to blog post?

The idea is to use SharePoint Blog site as news site. Every new post has it's own pictures which users must see. I found a great webpart (Mirata Picture Gallery) for displaying images from Photos ...
4
votes
2answers
981 views

How to change webpart custom property in sharepoint 2010 using javascript?

I want to change Custom Property of Webpart using javascript. Does anyone have any ideas on how to accomplish this?
4
votes
3answers
472 views

Manage some state inside a Sharepoint WebPart

Considering a simple example of a webpart that adds items to a list based on a simple button click: public partial class MyVisualWebPartUserControl : UserControl { private int cont = 0; ...
4
votes
2answers
4k views

SharePoint 2010 RSS Viewer Web Part Fails to Load

Has anyone seen occurrences of the SharePoint 2010 RSS Viewer web part failing to complete loading when the page loads, instead remaining in constant "loading" mode with the Ajax indicator showing? ...
4
votes
3answers
2k views

The same web part (.wsp) for MOSS 2007 and SP 2010?

Is it possible to have the same web part (.wsp) for both (MOSS 2007 & SP 2010)? Assume that I want to develop a simple web part, and I want to deploy it on MOSS 2007 and also on SP 2010? So, is ...
4
votes
1answer
32 views

Prohibit site owner from deleting web part SP2010

Is there a way to stop site owners(Full Control-permission) from deleting a custom web part. I want to create a custom web part that can only be removed, closed or minimized by a specifically choosen ...
4
votes
2answers
94 views

How can I validate against all special characters in the attachments file name?

By default SharePoint does not allow the following special characters to be present in attachment file names ~, #, %, & , *, {, }, \, :, <, >, ?, /, |, “ How can I validate that any ...
4
votes
2answers
1k views

Server-Side Rendering in SharePoint 2013 Content Search Web Part Without XSLT?

Background: I am new to SharePoint and I recently attended the SharePoint 2012 conference. It seems the primary way to render content in a custom way is on the client-side via JavaScript in the ...
4
votes
1answer
523 views

In SharePoint 2010 how can I add user selected WebParts at run time?

I am quite new to SharePoint and have been given an interesting problem to solve. My users have requested to each have a custom home page that they can customise with ease. The design I have been ...
4
votes
2answers
463 views

Is there a “Who Follows me” Web Part?

I need a WebPart similar to Colleagues WebPart, but to return which users have added me as a Colleague. Does it already exist? Or, how can I develop it? I'm using SharePoint 2010.
4
votes
1answer
1k views

Which web part properties can / cannot be edited using CSOM?

For a Content Editor Web Part for example it seems we can update Width but not Content: webPart.Properties["Width"] = "100px"; webPartDefinition.SaveWebPartChanges(); clientContext.ExecuteQuery(); // ...
4
votes
2answers
914 views

prevent css inheritance from master pages

I am creating horizontal menus for a web part to give more interactive navigation options to a corporate SharePoint site that has headers/Branding etc. locked down. I notice that intended colors and ...
4
votes
1answer
4k views

Use one filter for multiple sharepoint lists

Can I define one list filter, and connect it to two lists on one web part page? I have two seperate lists on a page, both containing the 'author' column. Now, I want to add a filter to de page, so you ...
4
votes
1answer
74 views

Boundaries in diagram with Date as X

I've recently been trying to build a line diagramm webpart with dates as X Problem is: I can't find a way to adjust the boundaries of the diagram which causes it to start in ~1900 At the moment it ...
4
votes
1answer
328 views

Web parts not working when applying new master page

I started a small Sharepoint site as a rush job. It's a bunch of fairly simple web part pages. Now that we're expanding it, I need to add a different master page. I was using our client's master ...
4
votes
2answers
4k views

Removing Orphaned WebParts via PowerShell - CheckIn/CheckOut Requirement Loop

A client migrated from 2007 to 2010 doing a database detach/reattach without checking the database for orphaned objects first. I whipped up a PowerShell script to programmatically remove orphaned ...
4
votes
1answer
482 views

How to customize a ListView Webpart from code

I have a repository of files... I'd like to create a ListView Webpart wich receives the path in the tree and show the files in the document library... It's possible to do this by code? Is there any ...
4
votes
2answers
3k views

How to set link on images with SP OOTB picture library slide show web part?

I added a link column in my picture library and populated with links. Then added SP OOTB picture library slide show web part. Both pictures and it's description are showing. I need the link to be on ...
4
votes
2answers
4k views

How to use InputFormTextBox in a custom web part ?

I'm currently trying to integrate a rich text editor into my web part. I've found that I can integrate an InputFormTextBox in my aspx page : <SharePoint:InputFormTextBox ...
4
votes
1answer
36 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='" ...