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)

6
votes
2answers
632 views

Weekly update from the boss

I am a site owner for a military unit (we are going heavily to SharePoint.) We have SharePoint 2007 installed, and have no flexibility to add more web parts. We also have limited ability to ...
6
votes
2answers
471 views

Which webpart is that?

Often I come across a page that is using some web part and I think, "Hmmm I could use that for my project that I'm working on." But often I don't know which webpart was used. And there are so many ...
6
votes
3answers
8k views

After retracting webpart solution webparts still showing up

I retract a webpart solution that was deployed via Visual Studio. Then when i edit a page for some reason the Custom category + the webparts are still being listed when i try to insert a webpart. ...
6
votes
3answers
375 views

Best Practice for Lists and Web Part Pages

I used to refer end users directly to the list they shall use. However, in blogs or on SE it often reads as content editors (or other WebParts) are put on a list. From my understanding, this does only ...
6
votes
2answers
8k views

Is it possible to add web parts to an application page?

I was asked to add a list view web part to an application page. I added a web part zone into the page markup. I got a security error when I tried to add it so I added a form digest control (not sure ...
6
votes
2answers
12k views

Deployed web parts don't show up in Web Part Gallery

I have created several custom web parts in a Visual Studio solution which deploys to my development environment site perfectly directly through Visual Studio. However, I also want to be able to ...
6
votes
3answers
2k views

.Webs and anonymous access?

We're developing a public facing SharePoint site so it have anonymous access. To be able to run custom web parts that access lists/libraries we need to run with elevated privileges which works fine, ...
6
votes
3answers
6k views

Is there a list of SharePoint 2007 WebParts, Features and ContentTypes that SharePoint installs with?

Where I can find a list of all the Web Parts, Features and Content Types that are available to a regular SharePoint installation? What I need to do is identify any of the above in a SharePoint site ...
6
votes
2answers
734 views

Location of web parts in use

After running preupgrade check, I found a few instances of some web parts I'd like to further investigate. These are 3rd party web parts that I'd like to know where they are actually being used. For ...
6
votes
3answers
15k views

Enable Business Data Web Parts in site

I am using SharePoint Server 2010 and we do have Enterprise licenses. But what feature AND WHERE must be turned on in order to show the Business Data Web Parts like in the image below. Something ...
6
votes
1answer
2k views

Problem installing web part using Powershell

We've developed a custom Visual Web Part using Visual Studio 2010 for Sharepoint 2010 Server. The webpart gets deployed when executed from VS (F5), so we can add it wherever we want using Sharepoint ...
6
votes
2answers
25k views

How do I change the background color of a web part?

I've got a document library embedded on the home page of one of my SharePoint sites. Someone changed the background color to grey, overriding the site's theme background color, which is white. I've ...
6
votes
2answers
1k views

How to remove web parts from an unghosted page layout

Background: So I've apparently committed the cardinal sin in SharePoint. I edited a page layout in SharePoint Designer! This of course injected the special SPD meta attributes into the layout which ...
6
votes
5answers
7k views

Refreshing custom developed web part

I've developed a custom web part that pulls data from a list. It will only retrieve items where a field called ShowItem is equal to 'Yes'. Once the data is loaded the end user has the ability to ...
6
votes
1answer
2k views

Get and remove all currently displayed notifications from SP.UI.Notify

I am sending a variety of notifications via SP.UI.Notify.addNotification("blah", true); setting the "sticky bit" to true so that the notification stays visible. When I display a second ...
6
votes
3answers
644 views

Possible to security trim what web parts a user can put on a page?

Basically when you select Insert -> Web Part you get this menu: Is it possible to determine what is available here based on a users role?
6
votes
3answers
1k views

How do I find out what's wrong with my sandboxed solution in SharePoint Online?

I have created a custom web part which presents a form to create a SharePoint site below the current site, while performing some ancillary actions like updating a list of subsites on the front page to ...
6
votes
2answers
1k views

Exception on connecting webparts

I have a couple of webparts on a page, XsltListViewWebPart and SPSlicerTextWebPart instances. I need to programmatically connect the filter (slicer) to the xslt webpart. When I do so, I need a ...
6
votes
1answer
703 views

Programmatically set a WebPart title to a $Resources value

I need to programmatically add a web part to a page where the title is using a $Resources:Filename,Key; string. I know I can use SPUtility.GetLocalisedString() to retrieve the correct value (and loop ...
6
votes
1answer
534 views

Multicast playing of video inside SharePoint

If I use the Flow Player (http://flowplayer.org/) to play videos (which is stored on a network storage) using the Content Editor Web Part in SharePoint 2007, will the videos operate in a multicast way ...
5
votes
3answers
31k views

“The type is not registered as safe” when trying to add a web part installed by a WSP

I keep getting this error when I try to add a web part that I added through a WSP: A Web Part or Web Form Control on this Page cannot be displayed or imported. The type is not registered as ...
5
votes
5answers
4k views

How to validate Web Part property value?

A custom web part has custom web part properties. I would like to validate with custom server side code when user changes property value (or when properties are bing saved). Is that possible? Can I ...
5
votes
3answers
3k views

Remove “+Add” from Calendar View Web Part

I have a Calendar View web part that I've placed in a SharePoint page. Right now it looks like this: I want to prevent the user from editing the list from here--I have an app that will take care of ...
5
votes
1answer
8k views

Sharepoint 2010 - Deploy webpart as Feature scope = web

I want to create and deploy a web part as web-scoped feature. In Visual Studio 2010, when I make the feature scope=web, I cannot add the webpart to that feature as I am able to do when scope=site.
5
votes
3answers
10k views

SharePoint 2013 Web Parts and Apps

Does SharePoint 2013 support Web Parts or only new Apps?
5
votes
5answers
251 views

Intranet page loading slow

In the past, I have added 5 WebParts to my intranet home page. Recently my site is running too slow. I'm not sure if its related to WebParts or something else. Please suggest how can I verify if its ...
5
votes
4answers
1k views

Catch exception in web part, or let it bubble up?

I'm writing a web part for other sites to use in their SharePoint installation. In the logic of the web part I throw exceptions at certain failure points. I'm wondering whether it is a better ...
5
votes
4answers
5k views

How to deploy web part solution to multi-server farm?

I am having a heck of a time deploying a simple web part to a multi-server farm. The error I receive when deploying is: Error occurred in deployment step 'Activate Features': Feature with Id 'cd488818-...
5
votes
1answer
8k 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 SPContext....
5
votes
3answers
137 views

SharePoint Admin and Developer Roles [closed]

Currently in our organization we have a three man SharePoint development team where we do everything other than SharePoint admin. Our organization has development, test, and production servers. We, ...
5
votes
4answers
11k views

How to add javascript and css to a SharePoint 2010 webpart?

What is the proper way (i.e. without having to manually copy the assets to any sharepoint folder or anything like that) to add custom javascript and CSS to a SP 2010 web part? I would like them to be ...
5
votes
8answers
9k views

Web Part Error: Access Denied

I'm currently playing around with SharePoint 2010 but have come across an issue when using the standard Document Library and Announcement web parts. If I change the permissions to a list or library ...
5
votes
3answers
2k views

SharePoint Web Part from App that is NOT in another domain or inside an iFrame?

We created SharePoint Hosted App that offers a Web Part we can add to SharePoint 2013 pages. The problem is that web part installs as an iframe pointing to the apps domain. Two challenges in ...
5
votes
1answer
2k views

How to remove webpart title hyperlink

Can you please assist me for removing hyperlink from webpart title. I have added # in webpart URL option but I want to make the webpart title non-clickable.
5
votes
3answers
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 ...
5
votes
1answer
3k 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 ...
5
votes
2answers
4k views

How to change sort order of axis on Chart Web Part?

I have a Chart Web Part that is connected to a SharePoint list. I modified the All Items default view of the list so that it would be sorted correctly but the Chart Web Part does not pickup on the ...
5
votes
2answers
235 views

Export a page with web parts and import to another site

I have a web page in the documents library configured in a certain way with all the web parts set up. I created this on a test team site. How can I export this page to a production team site?
5
votes
3answers
355 views

“some properties in this Web Part are not available because they are configured to have fixed values”

i am working on a team site collection, and i added a Content Query web part. then i did the following:- I export the content query web part. I edit the exported web part inside SP designer . Then I ...
5
votes
3answers
4k views

can one use HTML5 tags in Sharepoint 2013 out-of-the-box

I want to know if i develop a visual web part, can i use html 5 tags in .ASCX file without adding any link to source or making changes to master page ?
5
votes
1answer
2k 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 ...
5
votes
3answers
24k 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 ...
5
votes
1answer
495 views

Bulk Sharepoint Webpart Modification

Is there a way to go in and edit a set of webparts in bulk, instead of one by one? We've got a site with roughly 75 pages with an average of 3 webparts per page. Each of those webparts have a section ...
5
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 ...
5
votes
2answers
271 views

How do I handle custom webpart property type update during re-deployment

I have a custom webpart that was defined with a property like [Personalizable(PersonalizationScope.Shared), WebBrowsable(true), WebDisplayName("Chart Type"), Category("Chart - Required")] [...
5
votes
2answers
562 views

Why is my web part showing “Add Document?” (Sharepoint 2013)

For some reason, one of my web parts is showing the "+ Add Document" link at the bottom of the web part as opposed to the new "+ New Document or drag document here" link at the top. The toolbar ...
5
votes
1answer
122 views

How to resize webpart content (Excel sheet) without scrollbars in SharePoint 2013?

I have a business data-excel web access web part. I need help for below issue. How to resize webpart content (Excel sheet) without scrollbars in SharePoint 2013? Please assist.
5
votes
4answers
23k views

Display List or Library on another site as WebPart?

I want to display my list on another site in same site collection. I edit List with SPDesigner, select the view and save it to site gallery. After these steps, I added the view webpart on my another ...
5
votes
2answers
417 views

Query Managed Metadata Service in Content by Search WebPart

I have created a site navigation structure in SharePoint Managed Metadata Service and I add a custom property to each term. How can I query the Managed Metadata Service by the Content Search WebPart ...
5
votes
1answer
5k 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 ...