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)

1
vote
1answer
284 views

How to get Unique ID for SharePoint Web-part?

I need to save some web-part specific data to database. how can i get unique ID for specific web part? I need something that will be static even if server will be stopped and running again.
2
votes
1answer
1k views

Refresh webpart when New item is added

I would like a script for Refreshing a webpart when a new item is added to te list. Can anyone help me with this? Kind regards, Vincent van den Eijnde SharepointServices.nl
1
vote
0answers
307 views

Setting Custom Property of SharePoint WP readonly

How to set the custom property(bool) of sharepoint 2010 custom webpart as read Only based on a condition?
0
votes
1answer
97 views

Including dependent dlls in web part

I have a C# dll that is a wrapped C++ dll which has multiple dependencies. I have tested the new C# dll in a project and the dll works properly. I now need to use the C# dll in a custom web part. I ...
1
vote
0answers
170 views

Choice Filter list based on User Group

I have two List web parts being filtered based on a connected Choice Filter web part. I would like the choices available in the filter web part to be the members of a SharePoint user group. For now, I ...
0
votes
1answer
110 views

Change Language in ModalDialog without reload

I´ve got the following issue: I want to change the Language of a .aspx Page, the NewForm.aspx. Therefor I created a WebPart which was added to the NewForm. <div> <a href="" ...
2
votes
1answer
2k views

Adding List View Web part by Powershell and via GUI hasn't same View

Following is a part of my Powershell Script which creates a Discussion Board List and tries to add it to a default.aspx page. the problem is when I add default view to the code (marked as *) it ...
1
vote
2answers
189 views

Wikipages empty after restore from backup

We run our intranet on SharePoint 2010. We have several web applications and we use DocAve 5 to backup the content of our intranet. After a user reported that he had erroneously deleted a wiki page ...
1
vote
1answer
333 views

Sharepoint 2007: SSRS viewer: How to show/hide web part on condition

I have few SSRS reports that I want to show to the user. But not all of them are to be showed to all users. Depending upon some attribute of the user, I need to hide/show few of the reports [or the ...
1
vote
2answers
443 views

How to copy one custom list to another custom list (approximately 600 items)

I have one master list from which I wish to query and create a subset of this in a new custom list. The code I have so far works, but it is extremely slow and occasionally hits the hard limit of the ...
1
vote
1answer
509 views

POP-UP to display library pictures?

Currently we have a SharePoint 2010 “Picture Library Slideshow Web Part” implemented, which is able to display pictures from a Picture Library in a Random Order. However, there is very little ...
1
vote
1answer
143 views

Unauthorized error when adding form to a form library

I have a webpart that extracts a form from an infopath template then it attempts to add this to a form library in SharePoint. I get an unauthorized error 401 when it attempts to add the file. It ...
1
vote
0answers
147 views

Webpart Filter on Infopath Form Library

I have a webpart page that displays an infopath form, with the associated form library in list view next to the form. I'm trying to create a Sharepoint List filter webpart to show only forms with a ...
0
votes
3answers
2k views

How can I access Controls in VisualWebPart1.cs from UserControl.ascx

I make a Webpart and want to use the controls from the VisualWebpart1UserControl.ascx in the VisualWebpart1.cs. Is this possible? I wrote following code in the VisualWebpart1.cs: ...
0
votes
2answers
111 views

Cannot pass value betwen two webparts

I got two webpart instances on page. I need to pass data from one webpart to other. Data that i need to pass will be loaded in CreateChildControls. When i am debugging its looks like nothing is ...
0
votes
0answers
119 views

Update WebPart MenuItem/Verb from Client Side

Here is the scenario - I have a custom webpart where I added one custom menuitem with client side handler, now my requirement is when I click on the menuitem some text should be shown, for example ...
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
1
vote
1answer
858 views

Note board Web Part Security Permissions

I have a note board web part sitting on the default.aspx page of a site. I have both farm and site admin rights over the site and against each comment I can see a delete link - both for my own posts ...
2
votes
1answer
1k views

Error occurred in deployment step 'Activate Features': Feature with Id 'xxxxx-xxx' is not installed in this farm, and cannot be added to this scope

while installing a feature, VS ouput the error: Error occurred in deployment step 'Activate Features': Feature with Id 'xxxxxxx-xxxx' is not installed in this farm, and cannot be added to this scope. ...
1
vote
0answers
16 views

Poll - way to identify user or group

I am creating a public poll on a topic site - is there a way to see who has answered/their user group (team) to see what areas have replied with what instead of the individuals (needs to be ...
0
votes
2answers
154 views

Problem with adding TagCloud web part to site definition/onet.xml with userscope

I'm trying to add a Tag cloud web part to my site definition's onet.xml file and set its userscope to everything under the current url. I understood from Microsoft I cannot simply export and import ...
1
vote
0answers
287 views

Config standard SiteUsers WebPart in SP2010

I´ve got a problem with a normal SiteUsers WebPart. Currently I have this code: <WebPart xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ...
3
votes
1answer
255 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 ...
0
votes
0answers
166 views

Sharepoint 2007 Image gallery web part issue

I'm having an issue where I'm adding a image gallery web part and it's not displaying the left and right arrows that allow the user to navigate through the gallery. Instead they all appear stacked on ...
1
vote
0answers
407 views

Two different link web parts on one page problem

In one of my subsites, lets call it 'Our Workplace', I have two link lists called 'Employee Centre' and 'Manager Centre' respectively. They both contain a few folders with subfolders eventually ...
1
vote
1answer
2k views

Sharepoint Web Part - Send row of data to another web part to set default value in an inline edited field

Introduction We have one sharepoint 2010 site which houses two Lists, for this example lets say Countries and Cities. In the Cities list we have a lookup for the ID of the Country and also the Title ...
1
vote
2answers
174 views

How to Store Personal Settings in WebPart?

I want to allow a user to store personal information in my WebPart. So I have a property: [WebBrowsable(true)] [WebDisplayName("Tag")] [Pages.SPWebCategoryName("Tag to display")] ...
2
votes
0answers
408 views

How do I combine rows from different sharepoint lists onto 1 overall list?

I'm using Sharepoint 2007 and sharepoint designer, and I am using multiple sharepoint lists that have the same column types (# required, # complete, % complete) that shows the training status for ...
2
votes
1answer
540 views

Custom webpart Personalization properties not saving in Sharepoint 2007

I've inherited a VB.NET / MOSS 2007 Sharepoint application and have been tasked with adding a new custom Webpart. I've declared a number of public properties to store configuration data for the ...
1
vote
3answers
65 views

Whats the best way to create a list when a web part is added?

I have a web part I'm creating that displays links in a metro style fed from a compatible list. I'm pretty new to share point development and was wondering how can I make sure a compatible list is ...
1
vote
1answer
3k views

SPLimitedWebPartManager throwing “File is not checked out” error on AddWebPart and DeleteWebPart

I'm writing a powershell function to add custom webparts (i.e. not Out Of The Box webparts such as ContentEditor) to publishing pages on a SharePoint Server 2010 site. I encountered a frustrating ...
0
votes
1answer
785 views

WebPartAdder_ItemCannotBeAddedULS

I am unable to add a web part to a publishing page. I am seeing the following in the ULS: File 0f4c91df-ccde-48e9-9c80-3612e95fa849 has length 889, but corresponds to ...
0
votes
3answers
1k views

Get deployed .aspx page in feature receiver to add WebPart

I have a SharePoint solution which deploys an aspx page in a custom folder in the Layouts folder. I need to get this page in the Feature Event Receiver so I can add to it a WebPart. In the ...
1
vote
0answers
141 views

Issue with web parts disappearing

First time here and I'm hoping someone can help me. I've searched all over and can't find anything... We have an application running in Central Administration that generates ASPX files to specified ...
1
vote
2answers
709 views

Web service endpoint error for a web part

I'm getting an error from a web part that calls a web service. I think I just need to add the endpoint XML to the web.config. Is there a better way to do this? Can I add the endpoint from Central ...
2
votes
1answer
179 views

How can I fit a Datatable only into a webpart (not page) dynamically?

I develop a Webpart, which should be deployed in other SP-Farms. The Webpart contains a DataTable. I deployed the solution and the DataTable appears in the right side of the Website. I'm using a ...
1
vote
2answers
487 views

Problem with global doc lib webpart

I am trying to create a global webpart that should represent a filecenter. The filecenter is a document library on the root site of my sharepoint portal. I followed this guide here: ...
1
vote
1answer
42 views

Removing webpart from gallery breaks existing pages?

I have one webpart that is breaking some of my pages and I don't want it to be available on the gallery for adding it to a page however I have some pages where I do use the webpart, my question is: If ...
0
votes
0answers
126 views

How to manage “log in with different user ” event of a sharepoint Web Site

Hi I built a Http Module that change Sharepoint MasterPage based on if the user logged in is a Owner/adminstrator. It Works good! But when I try to change the user to test the module, when a click ...
0
votes
1answer
333 views

Change Sharepoint Calendar View from month to day

How to change calendar view from month to day on button click event without ribbon ?
1
vote
2answers
1k views

Displaying some WebPart controls only to some user/groups

I need to hide some elements of a webpart and only show them to some specific grups of users. How can I do this ? I think it could be done with an If or Switch block, using the name of the grup of ...
0
votes
1answer
61 views

Is there a “URL-Structure” for Users and Groups I can access via Hyperlink?

I have a Custom WebPart which gets credentials from the site into a GridView-Table. The result (user and credential) is shown as strings. I want to create a Hyperlink to the users e.g. mysite, instead ...
0
votes
2answers
570 views

Add WebPart to publishing page in Synchronous ItemAdded Event Receiver

I'm trying to add a webpart to a publishing page after the page is created, so I've created an Event Receiver, the problem is, if I make the Event Receiver Synchronous (As it should be) the code ...
1
vote
0answers
143 views

inheriting from WebPart with custom ToolPart

There is a custom web part (let's call it WebPartA) and custom Tool Part for it. We need to inherit from this web part and extend it with two integer properties (WebPartB). And add default controls ...
0
votes
1answer
2k views

Ways of creating a Leave application form in Sharepoint?

I need to create a form as part of the workflow with details and validation by taking some data from leave database such as Leave available and work replacement with other details. So, i need to ...
4
votes
2answers
897 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 ...
2
votes
1answer
368 views

Changing Content Editor Programatically - Client model API?

Is it at all possible to make changes to or add a content editor to a page using only the Client Object Model API? There does not appear to be any reference to a ContentEditorWebPart dll.
1
vote
3answers
807 views

How can I debug sharepoint app attaching to IIS?

I built a HTTP Module, insert the DLL into the GAC, changed the webConfig Now , if on visual studio , I Attach to process W3WP , Open the web page where the module must work, I notice that ...
0
votes
2answers
827 views

How to route To different MasterPages in sharepoint?

I 'm trying to create a HttpModule that allows to route to different MasterPage preInt event. I' not an Expert about MasterPages. I'm trying to nderstand about MasterPages Token. I knows there ...
0
votes
2answers
965 views

How to Deploy the Feature with Scope=Site & Scope=Web for WebParts & EventReceiver respectively?

I have only 1 Visual Studio Project. It contains 1 EventReceiver(for DocumentLibrary) and multiple-WebParts. I have defined the Scope=Site of Feature.xml file of Project. I have created 1 custom ...