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 propery library inclusion.

learn more… | top users | synonyms (3)

3
votes
2answers
1k views

Show a message while loading modal dialog

I'm loading a modal dialog on a web part. Sometimes it takes a lot of time to load, like 6/7 secs. Here's the code: function Init(title, id) { var dialogOptions = SP.UI.$create_DialogOptions(); ...
3
votes
1answer
215 views

Porting Web Parts to Office365 (SharePoint 2013 )

I've been in the process of developing a site in SharePoint 2010, which is composed of a set of different Farm deployed Web Parts. I was wondering what the process was for porting them to SharePoint ...
3
votes
1answer
4k views

Programmatically find lists by template ID

I am looking for an efficient way to programmatically find all SharePoint lists with a given template / type in the current site collection from within a sandbox solution. NB: I'm obviously aware ...
3
votes
3answers
2k views

Can't rename “Title” field in List Definition

I can't rename "Title" field to "Unit Type" Here is my Schema.xml: <?xml version="1.0" encoding="utf-8"?> <List xmlns:ows="Microsoft SharePoint" Title="PrCenter - StatisticsDef" ...
3
votes
2answers
703 views

SharePoint webpart and application page

I need to make an application page or a webpart that have a javascript code and i tried to add the jquery i a new project to upload it to the SharePoint but the code didn't work this is the code that ...
3
votes
3answers
491 views

jquery projects and visual studio best practices?

Just curious how others are handling their jquery related solutions. It's obviously very easy to add a Content Editor web part with a content link to a source file. That file could have your ...
3
votes
1answer
931 views

~site / ~siteCollection token replacement with sandboxed solutions

It seems you cannot use the ~site or ~siteCollection tokens in an Element.xml when you deploy as a Sandboxed Solution. Has anyone ever seen this behaviour? Code snippet: ...
3
votes
3answers
2k views

Content query web part

I'm using SharePoint 2007. I need to use "Content Query Web Part". This web part displays a link to the item, I need the content type to show me all the rows (item). Is that possible? I do not want ...
3
votes
1answer
980 views

Dynamically display a single row of a custom list

In SharePoint 2010, I have created a custom list and I want to be able to display a single row of this custom list on page. But I do not want to create a separate page for each row. I would like to ...
3
votes
1answer
78 views

Webpart error is shown when a user does not have permission to see it

I am facing a strange Webpart error. Users not having permissions to view a list should be unable to see the web part at all, instead they see a web part with a permission error. Is there a way to ...
3
votes
5answers
3k views

Webparts in the left side bar

Is it possible to get webparts in the left side bar? I have a custom .master page and the business wants more items on the left. From what I can see with web parts you can only put them in the ...
3
votes
1answer
2k views

ListView Web part - customization

I created and deployed link list (default template (103)) from code and after that I added ListViewWebPart also from code which looks on default view of my link list. And that works. Problem: How can ...
3
votes
1answer
521 views

Preupgrade check reveals webpart issues which are not installed on farm, how to identify the name, assembly of the referenced webparts

I have run a preupgrade check on a SP2007 database to identify issues prior to upgrading to SP2010. The report shows a lot of messages for missing webparts. The strange thing is that I cannot identify ...
3
votes
2answers
5k views

Changing colors on calendar view

I have a calendar list setup. My customer could like to give the appointments in the calendar view (by default green) a different color based on the category; much like the way Outlook does it. I ...
3
votes
2answers
726 views

How to put web parts on publishing pages?

Scenario: On a intranet page there is several site verticals (hierarchies) (e.g products and services). Now I want for each site to have a familiar welcome page. How is it best to put web parts on ...
3
votes
2answers
3k 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? ...
3
votes
2answers
484 views

Activity stream for SharePoint 2007

Are there any web parts for SharePoint 2007 offering an activity streaming facility?
3
votes
2answers
4k 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 ...
3
votes
2answers
195 views

How can I create a web part for add update and delete operations?

I'm new to SharePoint and I'm working with web parts. I have learned how to create a basic webpart and how to deploy it...but I don't have any ideas about how to create a web part that adds updates ...
3
votes
3answers
2k views

Finding the Current User login in a Content Query Web Part?

I have the unique requirement of needing to get the current user's id (domain\logon) for use within a Content Query Web Part. If no documents are retrieved with the CQWP I need to craft a custom url ...
3
votes
2answers
2k views

Web Part error for preloaded web part zone

SharePoint 2007 Enterprise, SP2. I am getting a strange error (found in the ULS logs, Google reports no hits on the message itself) when trying to upload a page with a webpart preloaded in a zone: ...
3
votes
1answer
250 views

Get webpart's Zone Id via CSOM

How to get Web Part Zone Id via CSOM? WebPart has property ZoneIndex but no ZoneId while WebPartDefinition has method MoveWebPartTo(string zoneID, int zoneIndex) but lacks methods to retrieve the ...
3
votes
1answer
103 views

How SharePoint apps affects SEO in websites?

I'm developing an internet facing site using SharePoint 2013. For some parts of my homepage I need dynamic parts which I have to decide between Web Parts and Apps. I've heard that SharePoint Apps ...
3
votes
2answers
224 views

How to load custom webparts in site page asynchronously in sharepoint 2010

In home page of my site i have some custom webparts. so home page is taking much time to load page,I want to load custom webparts asynchronously how can i do this. Does anyone have any idea.
3
votes
1answer
877 views

CSWP “Value of a field on the Page” Questions/Issues

We're trying to create a seach query that grabs a content type based on a taxonomy field added to our custom Publishing Page content type. We seem to be having one of two issues: We don't know how ...
3
votes
1answer
771 views

How to set start and end date in Timeline webpart in SharePoint 2013?

So here is the scenario. I want to "hijack" the Timeline webpart used for project sites in SP2013 and set a fixed start and end date. There is an option to lock the timeline in it's current state in ...
3
votes
2answers
2k views

Connection between 2 web parts

Im embeding two webparts in my sharepoint page using page viewer. One part is UI which takes input from user and on submit it shud be passed to other web part and it should get refreshed. can anyone ...
3
votes
1answer
983 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
416 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
1k 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
1answer
637 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
816 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
5k 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
1answer
28 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
108 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
1answer
194 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(); // ...
3
votes
3answers
544 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
294 views

Create Password Field in webpart properties

I have created a custom web-part. this web-part have a custom web-part properties. i want a Password field in this property. How can i do this ? Any help will appreciated ..
3
votes
1answer
109 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
359 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
3k 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
508 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
442 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
2k 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
3answers
2k views

Sync Google Calendar with sharepoint Calendar

How to synchronize Google calender with SharePoint 2010 calender ?
3
votes
4answers
9k 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
867 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
894 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
254 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?