Tagged Questions
0
votes
2answers
127 views
Feature deactivation and webpart not being removed
I have a question regarding a feature and the webparts. Basically recently i noticed that when i deploy a webpart with my solution and it is bound to a feature on site collection scope, when it is ...
1
vote
2answers
184 views
Add user control or web part to every page in a site
I want to have a feature which causes the following to happen everytime any page in a site loads.
I need to have a web part or user control which adds information about the current user to the page. ...
0
votes
2answers
162 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 ...
0
votes
1answer
417 views
Where to Place XML File to be Read by Web Part?
In another question, I finally found a way to deploy the XML file to be read via a Feature, to the _layouts folder:
Feature Elements File
Should I be deploying it there at all? I wasn't able to ...
0
votes
1answer
528 views
Feature Elements File
I'm having some difficulty creating a Feature which contains a Web Part and a links.xml which is processed by the WP code-behind. My difficulty is in understanding the Feature XML config files and ...
1
vote
1answer
295 views
Web Part Feature
I'm working on a (non-visual) Web Part and wish to read from an xml file placed in the "C:\inetpub\wwwroot\wss\VirtualDirectories\80\wpresources" folder:
Code-Behind:
string sUri = ...
0
votes
1answer
368 views
Hide a feature in Site Collection Administration => Features area
I have a feature with webparts that needs to be activated using powershell. I need a way to either hide the feature on the Site Collection Administration => Features (under Site Settings) or to ...
0
votes
1answer
568 views
How do I configure styles and layout of a Summary Link Web Part using code?
I have successfully added a Summary Link Web Part as a feature and want to configure the styles and layout of it, including:
The default style for new links
The group header style
The number of ...
1
vote
0answers
514 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"
...
2
votes
0answers
307 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"
...
2
votes
1answer
580 views
Specifying advanced webpart properties on a view in a custom module?
I'm deploying a web part page from a feature. In the module/file node, I defines a view to a specific list in the site :
<Module Name="SitePages"
Url="SitePages"
...
0
votes
1answer
1k views
Provision listview webpart on page layout using feature
I've deployed a custom page layout using a module in a feature, like this:
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<Module ...
1
vote
2answers
347 views
Managing WebParts with dependencies on Web scoped Features
I have a Web scoped Feature which provisions a number of Content Types, List Templates & Instances, Custom Actions etc that enables a discrete set of functionality. I also have a number of ...
3
votes
1answer
539 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, ...
4
votes
1answer
55 views
How can I add a global control to check user has updated her/his profile?
Is there any control/feature/webpart I can add to trigger a functionality globally in any page on a Sharepoint?
I now have a webpart on the homepage that checks if a user is due to update her/his ...
2
votes
1answer
4k 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.
1
vote
2answers
578 views
How to order a group of web parts added dynamically?
Preface: I did not come up with this implementation, just dealing with it.
I have a web part zone that gets 3 content editor web parts loaded into it dynamically through the feature receiver. The ...
12
votes
3answers
4k views
How do I find in which (sub)sites a WebPart/Feature is used?
I need to find out on which (sub)sites a certain webpart is used. In a data sharing environment with many subsites and pages, I want to check if and where certain (third party) webparts are used. Is ...
2
votes
0answers
217 views
Feature and a web part - what happens when you remove the feature
I put a web part on a page through a feature.
I deactivate the feature.
Then when I go to activate it again, i loop through the wpManager.WebParts to determine if it is already on the page
using ...
3
votes
2answers
779 views
Unable to add selected webpart(s) [closed]
I've created a Custom List ('Tooltips') in SharePoint.
After this I used SPSource to reverse engineer the list into a feature.
After installing and activating this feature, I want to add this list in ...
5
votes
3answers
4k views
Is there a list of Sharepoint 2007 WebParts, Features and ContentTypes that Sharepoint installs with?
Does anyone know where I can find a list of all the WebParts, Features and ContentTypes that are available to a regular Sharepoint installation?
What I need to do is identify any of the above in a ...