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)

3
votes
4answers
14k 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 ...
3
votes
1answer
1k views

Content Query webpart- CommonViewFields vs ViewFieldsOverride

I'm reading up on the Content Query web part and based on this page, I can't understand the difference between the CommonViewFields property vs the ViewFieldsOverride property. How are they different? ...
3
votes
1answer
445 views

Creating a custom Filter Webpart in SandBox? How-To?

Since a little while now I've been trying to create a custom filter webpart in Sandbox. So far, it seems that all the usual ways to create a custom filter webpart programatically ina farm solution are ...
3
votes
5answers
2k views

Delete a WebPart from Web Part Gallery

I am trying to delete a Web Part from WebPart gallery but I don't see it there. The Web Part is available in the list when I try to add a Web Part in the page. This is the first time I am facing this ...
3
votes
3answers
5k views

Expanding and collapsing sharepoint webparts

I want to implement a collapsing/expanding feature to all my webparts in a certain page and tried the code shown here: http://moblog.bradleyit.com/2009/08/sharepoint-expand-or-collapse-web-parts.html ...
3
votes
1answer
720 views

Custom web part as consumer and provider for other single web part

I have a task to create a custom filter web part (CFWP) for standard List View web part (LVWP). I decided to use a connection framework for this task and designed next concept: LVWP is a provider ...
3
votes
6answers
929 views

Security around Web Parts

I have been looking to wrap security around web parts. I already have security wrapped around documents so only the correct people see the allowed documents. The problem lies when a user does not ...
3
votes
1answer
6k views

How can I have a Rich text box in a custom webpart?

In a custom Web part (actually on the home page, but I think it doesn't matter), I want to let the users input some rich content, keeping the Ribbon functionalities; same as the OOB rich text columns. ...
3
votes
4answers
2k views

Problem debugging web part on SharePoint 2010 beta and Visual Studio 2010 beta

I have created a "Hello World" web part. When I pressed F5 in Visual Studio 2010, I got the following error. I have already got Microsoft SharePoint Foundation User Code Service started. Can anyone ...
3
votes
1answer
91 views

Script editor webpart ribbon problems

I added a script editor web part (javascript code) to a view page (/Forms/AllItems.aspx). After that I can not see anymore the File and List category in the ribbon bar. I read somewhere that ...
3
votes
2answers
356 views

search box above every column of list in sharepoint 2010

The problem I am having is that I want to show search box above every column in list in my sharepoint site. But the number of columns in each list are different. Is there a dynamic way to do so?? I ...
3
votes
4answers
2k 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 ...
3
votes
1answer
2k views

Display names in dropdown in webpart property

I would like to add custom property that offers a list of choices. It is possible to use Enum type. The property will be then rendered as a combobox. public enum Group { GroupA, ...
3
votes
1answer
1k views

Using the razor engine in SharePoint 2013 Visual Web Part

I'm trying to make use of the razor engine in a SharePoint 2013 Web Part. This, I read, shouldn't be too difficult since SharePoint 2013 Visual Web Parts can be built using .NET Framework 4.0 I'm ...
3
votes
1answer
144 views

Filter Webpart to match any column

I have a list of products with hundreds of entries. Each product has contact details with it as well as company information etc. I would like to be able to run a search on this list and return ...
3
votes
2answers
518 views

Can't hide the Blog Tools web part programmatically on blog site

I have an event receiver that modifies some web parts when a new blog site is created: using (SPLimitedWebPartManager wpManager = ...
3
votes
2answers
4k views

SharePoint javascript refresh page is reloading the whole page

In a webpart, I added a button that should trigger a modal dialog, and display a message when the dialog is closed. The dialog script is handled by this code : function OpenGenericForm(formUrl, ...
3
votes
1answer
598 views

Limiting the TaxonomyWebTaggingControl possible selections

Assuming I have a term set with all the countries. The first level is the continents The second level is the countries. No I am building a web part with a dropdown of the continents and a ...
3
votes
1answer
574 views

Why are web part connections in a template breaking?

We have a SharePoint site that we created based on a blank site template. We add lists, pages, webparts (including some connected web parts) and then save this site as a template (.wsp file). We ...
3
votes
1answer
3k 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 ...
3
votes
2answers
2k views

How do I use QueryOverride in CQWP when deploying web part instance using Elements.xml?

I need to use the CQWP with more than three filters, hence I'm going to use the QueryOverride with a CAML query like described here. I can't get this to work when deploying the web part instance using ...
3
votes
4answers
12k views

Redirect a user after submitting an InfoPath form

I made a custom list in SharePoint and then created an InfoPath form based on that list. I created a new page in my SharePoint publishing site and added an InfoPath Form Web Part that looked at my ...
3
votes
1answer
1k views

Web Analytics Web Part displaying “There are no results to display” message

I am a regular sharepoint user, not an administrator. I've create a Site under My Content and populated it with a dozen pages over the last 10 days or so. On the site home page I've added two Web ...
3
votes
1answer
1k views

Web part property - allow multi-line values

I have the following code in a webpart I am developing. WebBrowsable(true), Category("Data"), WebDisplayName("Banks"), WebDescription("Banks"), Personalizable(PersonalizationScope.Shared)] public ...
3
votes
3answers
299 views

Can I use EntityFramework and sql azure with Sharepoint Online?

I would like to connect to an entity model from a sandboxed webpart in sharepoint online. Is this possible? Is it possible to connect to sql azure from a sandboxed webpart?
3
votes
3answers
865 views

Profiling tools for Sharepoint 2010 web part .NET code

We are working on a pretty large scale project having large number of custom web parts with substantial amount .NET code working on Sharepoint server object model and the like. The normal profiling ...
3
votes
2answers
1k views

People search box results URL doesn't work

We are using SharePoint 2010. We are having a problem with the web part “People Search Box”. We created a custom page from a page layout and added the web part. We have edited the web part and ...
3
votes
1answer
685 views

Multiple Media Web parts for Videos in a list?

I want to create a video library for users to upload videos. These should be displayed with a Media Web Part. I would like to be able to have on web part for each video so it becomes a list like so: ...
3
votes
1answer
773 views

Sandbox Web Part without Site Collection Administrator permissions?

Is there a way to get a Sandboxed Web Part deployed without Site Collection Administrator permissions? Here is the situation: I have Full Control permissions of the Site Collection's Root Web, ...
3
votes
1answer
1k views

Connecting web parts to metadata navigation in document library

Is it possible to read from the metadata navigation in a document library so that the selected value(s) can be passed into another web-part (in this case a CoreResultsWebPart ). The IsNodeSelected ...
3
votes
1answer
504 views

How to remove the OOB appearance category from the web part tool pane (editor part)?

I am working on developing an (ASP.NET) web part for SharePoint 2010. I have a requirement to not to show the Appearance and Layout category which gets displayed by default in the web part tool pane ...
3
votes
1answer
815 views

WSPBuilder in Visual Studio 2010 for solution in Sharepoint 2007

I've installed the WSPBuilder extension for Visual Studio 2010 and I'm looking for a walkthrough of how to create a deployment package for my web-part. Can anyone point me to a good resource? ...
3
votes
1answer
573 views

Possible to add to to the “Additional Column Settings” for a Column in a list?

Is there any way that I can add an additional check box to the "Additional Column Settings" section of a Column in a list? I'm talking about the section pictured below: I don't even know where to ...
3
votes
2answers
138 views

Not able to add a webpart to a wiki page on teamsites

I have deployed a custom webpart to a TeamSite using Visual Studio. I get this error message when i try to insert it to the home page. "A Web Part or Web Form Control on this Page cannot be displayed ...
3
votes
6answers
2k views

How do I access an updated web part's property immediately after changes are applied to it?

I have a custom web part that has the default toolpart and one additional custom property. I have a use case that requires me to be able to access the value of Title within the web part (this.Title) ...
3
votes
2answers
2k views

Difference between Webparts and user controls?

Difference between Webparts and user controls?
3
votes
3answers
5k views

Default web part in web part zone for page layout

How can I set a web part so it will be automatically appended to a web part zone when a specific page layout is selected? The solutions I have tried so far is: Using <ZoneTemplate> under ...
3
votes
0answers
32 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
156 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
1answer
1k views

Document library webpart open to specific folder

Is there a way to have a document library web part open to a specific folder? I've been playing around for a few hours and I don't see a decent option any help is greatly appreciated
3
votes
0answers
274 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> ...
3
votes
0answers
280 views

Default Webparts not rendering in a RichHtmlField on a custom page layout built in Visual Studio

I have a bit of a conundrum.I've built a Visual Studio solution for SharePoint 2010. It comprises of a custom master page and a bunch of page layout templates. I'veAssembled a master pageAssembled a ...
3
votes
2answers
1k views

Search Box disappears when I save Web Part Settings

I am checking the "display search box" option in my web part properties and clicking "ok" but the search box disappears. When I click "apply" it will show the search box, but it will disappear again ...
3
votes
1answer
298 views

Should this be a sandboxed solution?

My company outsourced the creation of a SharePoint WebPart for connecting to our cloud service. The WebPart connects to our service by using our REST API. When configuring the WebPart you supply ...
3
votes
0answers
15 views

How to upload file in document library in sandbox solution? [duplicate]

Possible Duplicate: Upload file using sandbox solution How to upload file in document library in sandbox solution ? File upload control is not working sandbox in sandbox solution
3
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" ...
3
votes
0answers
822 views

Setting an audience from declarative WebPart?

I have a module that deploys some page. I'm adding webparts to these page, using a <AllUsersWebPart> node within a <View>: <View WebPartZoneID="Body" WebPartOrder="5" ...
3
votes
1answer
823 views

RSS Feed Viewer Sharepoint 2010 Webpart stopped working

I have a RSS view webpart in SharePoint 2010 portal, till last day it was working fine. Now it's throwing the error: The requested RSS feed could not be displayed. Please verify the settings and ...
3
votes
1answer
661 views

How do modify active directory user properties?

I use this code for find users in AD SearchResultCollection results = null; try { SPSecurity.RunWithElevatedPrivileges(delegate() { ...
3
votes
1answer
1k views

Where is the Organization Browser Web Part? [duplicate]

Possible Duplicate: Where is Organization Browser Web Part? SharePoint Server Standard Site Collection features is Activated. Also show up in Web Part gallery. Howerver, only 2 of the ...