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)

3
votes
3answers
1k views

Possible to programmatically display a list of all web parts and dynamically render on a page?

Is there anyway to use the object model to display a list of all web parts installed (say in a list box)? If so would it then be possible to render that web part on a page if it were selected?
3
votes
1answer
1k views

Webpart Custom Properties

With this attributes decorating the Properties of a Web Part... [WebBrowsable(true)] [Category("Common Settings")] [WebDisplayName("Show tab header")] [WebDescription("Show tab header for the News ...
3
votes
3answers
5k views

Password management web parts? [closed]

Does anyone of you know some webpart providers. I am desperately looking for a SharePoint webpart which can do following. change password lost password recovery (e-mail) change password reminder (e-...
3
votes
1answer
720 views

Developing WebParts for SP 2007 and SP 2010

We are currently working on a project where the first release will be in 2007 and the next release will be in 2010. In previous projects we have created webparts using user controls and defining ...
3
votes
3answers
43 views

How do I create a WebPartPage using PowerShell?

I need to learn a PS script to create a WebPart Page on any library I want in my Sharepoint 2010 site. Im brand new to PowerShell and Sharepoint, so far all I know is the little tought on a few MVAs I'...
3
votes
1answer
147 views

How to Remove Hyperlink from Items in a List (SharePoint 2013)

I have a couple of connected webparts that are lists. When the filtered results are returned in one webpart, there is a column where each item in the list is linked, where you can click on it and read ...
3
votes
1answer
170 views

Choice filter to lookup its values from a list

Is it possible to make a choice filter web part look up it's values from a column of other list? I want it to take it's values directly from other list so that manually filling it's values is no more ...
3
votes
1answer
429 views

WebPart do not load a reference dll (RazorEngine.dll)

I have created a sp 2013 webpart. Inside this webpart I am using the RazorEngine.dll. It is included by NuGet and the solution builds. when I deploy and add the webpart to the page I got this error: ...
3
votes
1answer
1k views

Can I edit a workbook using Excel Services?

I created a web part putting my Excel worksheet on one of my Document Library, so I can have the live view of that worksheet without opening it again and again, my question is, can I edit that ...
3
votes
2answers
2k views

Sharepoint Deployment not updating webparts

Alright. I have just made changes to a custom webpart that was already deployed to Sharepoint. I made a few deploys, some changes... and suddenly, a code that was in the front-end of the webpart didn'...
3
votes
2answers
886 views

Get selected item in SharePoint list

I have a SharePoint list and a webpart with a button. Following is the case. User selects multiple items from the list. When user clicks on the button of the webpart, I would like to know the detail ...
3
votes
1answer
16k views

Folders in document libraries: how to navigate back up to parent folder (web part on page)?

I have a document library web part on a page and it contains a folder. When a user clicks on the folder it opens and shows the documents inside, but there is no way to go back to the parent folder ...
3
votes
1answer
888 views

Get web part TypeName using CSOM

Can we retrieve the TypeName of a web part using CSOM?
3
votes
2answers
5k views

Custom Page Layout in Sharepoint 2013 Foundation

Sharepoint comes with a set of Text Layout Templates. How can I create my own custom Text Layouts under Sharepoint 2013 Foundation. What I'm trying to achieve is a shown below. PS: I do not have ...
3
votes
2answers
4k 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
7k views

Overlay calendar events not appearing in web part

I have got a site collection with a main site and a subsite for each client. On each subsite there is a calendar which contains recurring meetings. On the main site I have a calendar that points to ...
3
votes
2answers
2k 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
2answers
2k views

SPQuery works on libraries under the list view threshold, but not over

So I am building a webpart which enumerates all doclibs in the current web, grabbing all checked out files and listing them in a table, allowing a user to apply some required metadata and check in ...
3
votes
2answers
7k views

How to register a new http module n the web config

I built a http module. I copied into the GAC . Then, I put into the WebConfig file lke this : <httpModules> .... <add name="MyAssembly" type="MyAssembly.Global"/> <httpModules/&...
3
votes
3answers
8k views

How to change active directory password using Code?

How to change active directory User Account Password using code?
3
votes
1answer
3k views

Web Part zone index not working

I am installing a web part on a few different pages. I have set my zone index to 0, yet they still wind up below the other web parts on the page. Here is my code: TasksWebPart ...
3
votes
1answer
2k views

how to check if a webpart already exists on a page or not

I am adding three webparts with different titles to a given page url, but I need to check if webpart is already on page or not, here is the code i am using atm to add webpart to the page. using (...
3
votes
3answers
1k views

problem deploying webpart on a farm

a customer has a problem deploying a webpart I developed for them on a farm. The webpart is packaged as a .WSP solution with WSPBuilder and it seems to work fine when deployed to a single server. ...
3
votes
2answers
187 views

XsltListViewWebPart and custom link column

I have a XsltListViewWebPart with a custom link column used for change a value on current listitem using JavaScript. <a href="javascript:ApproveRejectRDA('{@ID}', true);" title="approve"> ...
3
votes
1answer
226 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
160 views

Can a custom SharePoint 2013 web part act both as a consumer and a provider without the need for postback?

I am looking for a general method of implementing a web part that is both a consumer and a provider, without the need for an initial postback or redirect. I need to establish whether this is ...
3
votes
2answers
1k views

How to publish blog posts on behalf of another user in SharePoint 2010?

I have blog for our management team. Assistants will be posting instead of the managers. I have created a column called "Author" which is "people/group" lookup field for the assistants to add a person ...
3
votes
1answer
8k views

custom webpart is not displayed in gallery

I wrote a visual webpart in Visual Studio 2010 that works fine in the SharePoint instance on that machine when VS deploys it. It appears in the gallery and I can add the webpart to a page successfully....
3
votes
1answer
3k 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
1answer
317 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
3answers
3k 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
813 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
561 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 Jquery/...
3
votes
1answer
1k 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: &gt;&lt;sharepoint:...
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
1k 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
86 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
4answers
28k views

Show only a subfolder of a document library in a web part

I want to show only a particular folder in the right pane of a page using a WebPart in SharePoint Foundation 2010. Is this possible? When adding the WebPart, I could only add the document library. ...
3
votes
5answers
4k 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
2answers
5k views

UpdatePanel with SharePoint 2010 web part

UPDATE protected override void CreateChildControls() { if (!this._error) { try { base.CreateChildControls(); ...
3
votes
1answer
3k 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
580 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
6k 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
985 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
506 views

Activity stream for SharePoint 2007

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

how to resize webpartzone in SharePoint 2013

Is there any way around to resize web part zones? I'm using the layout Header, Footer and 3 columns. I added 2 text filters in each column zone. But the issue is I limited the size of the web part by ...
3
votes
1answer
507 views

Upgrading web parts from SP 2013 to SP 2016

We have various web parts targeting SP 2013. I now have a SP 2016 Beta server with VS 2015 installed. I don't see any template in VS to create 2016 web part or a way to upgrade web part project to ...