set of functionality that can be turned on at a particular scope level

learn more… | top users | synonyms

0
votes
2answers
959 views

What's the connection between “Recently modified in Quick Launch” and the “SharePoint Server Publishing”-Feature?

First I had a plain Team Site without the Feauture "SharePoint Server Publishing" activated. I created several Site Pages, all rendered automatically without the annoying "Recently Modified". When I ...
0
votes
2answers
101 views

How would a Web Application feature knows on activation that which web app its supposed to run on

Scenario can be read on My other Question Further to that question, why would a web application has timer job definition that it hasn't been deployed to. this is the code I am using for feature ...
1
vote
2answers
394 views

How to include an anchor tag in a Feature description

Is there a way to include an anchor tag in the description of a feature; my reason for this is to take the user to a page that has the configuration instructions for the feature. Currently what is ...
0
votes
2answers
1k views

List ribbon button disappeared

I have a problem with a List ribbon button that disappears. The only thing that has happend that I know of is that the wsp was redeployed and the site-feature (which creates the list) was reactivated. ...
0
votes
1answer
50 views

how to check custom property of added Item

There is a boolean column I added to a custom list, but I also have a feature on this custom list so that when a Item is added i have to check if this column exists or not and then its value. now i ...
0
votes
2answers
3k views

Adding multiple controls to AdditionalPageHead

My question is regarding the delegate control AdditionalPageHead, as we know it allows multple controls to be loaded. My questions are: How to add multiple controls? I want that the different ...
0
votes
2answers
283 views

ContentType.FieldLinks.Add() issue with hidden and required

I have a feature that does the following in the feature activation Code : Creates a new SiteColumn (Type=Text, Hidden=False and Required =True) Set the french version of the Name (using ...
0
votes
0answers
31 views

Custom delegate is applied even if the feature is deactivated

I have a question regarding a feature. Situation: I have a feature that is farm scoped, with this feature I deploy a delegate control (xml file), this file refers to cs code. So I've added that file ...
0
votes
1answer
2k 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 ...
2
votes
1answer
9k views

Error occurred in deployment step 'Activate Features' - When feature stapling to My Sites

I am trying to deploy a feature to My Sites in SharePoint 2010 and nothing seems to be working. I did this perfectly fine on the test environment but can't seem to get it working on the production ...
1
vote
2answers
578 views

Publishing field type names for feature

I'm creating a SharePoint 2010 feature in VS 2010 to add some custom site columns to a site collection via an elements.xml file. I can't seem to find the Type attribute values for the publishing ...
0
votes
2answers
2k views

Finding all activated Site Features & Site Collection Features in a Site Collection Script

I wonder if someone knows any C# script that will provide me all Site Features in a site collection as well as all Site collection features in a site collection. I only required Activated features ...
0
votes
1answer
15 views

Site Features in Sub Webs Confusion

Very Basic but confusing question. I see we have three types of features, Web Application Features Site Collection Features Site Features Now I know that Web application features belong to web ...
3
votes
1answer
202 views

Site Scope Feature dependent on a Web Scope Feature

On the root web for my site collection I need to make sure a web scope feature is turned on. In the feature EventReceiver I can turn on the feature progamtically. How can I stop the user turning the ...
1
vote
2answers
414 views

Elements.xml Id substitution

I have a site column defined in an Elements.xml file in Visual Studio. The SharePoint project this is in does all sorts of initial configuration on the website. I need to set the UserSelectionScope to ...
3
votes
2answers
3k views

When I create a folder programmatically get the error “Invalid item data — missing FileRef”

I am trying to add programmatically the desired Folder. I do the following foreach (SPListItem reparto in reparti.Items) { var folder = dl.Items.Add(dl.RootFolder.ServerRelativeUrl, ...
2
votes
1answer
330 views

cant find webapplication scoped feature anywhere

I developed a Custom Timer Job Feature using WSP Builder but for some reason I am not able to find it so that I can activate it. I know I can activate it using stsadm but why cant I find it in Site ...
0
votes
1answer
313 views

Adding column to a SPList

Normally I create a New List if I want to add an additional column to a List that already exists in a web. Wondering what would be the best option, should I create a new list with additional column ...
0
votes
1answer
78 views

compare values in list and change if necessary

So guys, I have a sharepoint list with and fields like "webID, url, rating" and a c# list with more or less the same fields. My task is to compare the lists by webID and if the row's "rating" field is ...
2
votes
2answers
1k views

Delete custom master page error on feature deactivation

I have a feature that deploys custom master pages to all sites in a site collection on activation, and want to delete all traces of the custom master pages on deactivation. On deactivation, after ...
2
votes
0answers
882 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" ...
0
votes
0answers
464 views

Deploy solution using powershell

I have a solution with 4 projects to automatically some processes in Sharepoint.these projects are: WebPartProject: Create a custom webpart CreateTemplate: Create 2 documents libraries (with ...
0
votes
2answers
188 views

SharePoint 2010 Dev Machine Deploy to Stage Machine

Machine 1: Virtual Development box with Visual Studio 2010, SharePoint 2010 Foundations, Designer 2010. Machine 2: SharePoint 2010 Enterprise (Staging Environment) Question: Does Machine 2 need to ...
1
vote
1answer
2k views

SharePoint 2010 solution not deploying correctly (features not available)

I have been working on a SharePoint 2010 solution on a server using Visual Studio. Unfortunately the server decided to die on me. Fortunately I have the solution backed up using source control and had ...
2
votes
0answers
647 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" ...
0
votes
0answers
25 views

SPContext is null on Feature Activation [duplicate]

Possible Duplicate: Error : Object reference not set to an instance of an object on feature deployment I am writing a feature receiver. Here is my code sample on feature_activated code. ...
1
vote
1answer
157 views

Is it possible to the change filenames of feature.xml and elements.xml on a sharepoint server?

Is it possible to the change filenames of feature.xml and elements.xml on a sharepoint server if so how?
1
vote
0answers
510 views

Can't deploy a xslt webpart as expected

In one of my custom list schema, I have defined a custom view : <View Type="HTML" DisplayName="My wonderful view" BaseViewID="2" ...
1
vote
1answer
69 views

Including a WorkFlow in a WSP

I am creating a feature that I want to install a couple of workflows when activated and bind them to a list. Is there a way you can use SPD and then export your workflow to include them in your visaul ...
1
vote
1answer
269 views

Look & Feel - Pagelayouts and Site Templates

I recently ran into a rather unfortunate assignment. It regards the selection of pagelayouts and sitetemplates which subsites should be able to use. As I'm supposed to change this for 20+ site ...
2
votes
0answers
117 views

Attaching file in data node of a list instance?

I have a custom list definition and a custom list instance in a feature. If I want to populate some data in the list at its creation, I can use the data node. How can I add an attachment to this ...
7
votes
1answer
4k views

Can't hide the title column in a custom content type

I'm building a custom content type. I've set a bunch of site columns I add to the content type. The content type is used in a custom list definition within a ContentTypeRef node. I'm also willing to ...
2
votes
1answer
359 views

Overriding search control, contextual scope as default

I have a strange problem regarding the overriding of search delegate control in SharePoint 2007. The purpose of why i override it is to set drop down mode to show contextual scopes as default aka ...
2
votes
1answer
1k 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" ...
1
vote
1answer
540 views

Access Document ID from a different Site Collection

I have the Document ID Service feature enabled in a Site Collection. I have a Records Center site provisioned in a different Site Collection - within the same web application. If I create a document ...
1
vote
2answers
366 views

How to add an workflow association to a list

I have a feature where I have create several items including lists and workflow. I want to add an workflow association to one of my lists. However I would like to refrain from using a code solution. ...
0
votes
1answer
51 views

Creating a Copy of Site Definition with a different Name

I have a site definition folder with following structure, XML default.aspx MasterPageabc.master masterpageabcajax.master In XML folder I have "ONET.XML" and I looked into this file, and realized ...
0
votes
1answer
431 views

Debugging a Timer Job

I was not able to do something a little more elaborate with my timer job so I decided to check if something basic works. So I tried the code below - but it keeps giving me this error - why? UPDATE ...
1
vote
3answers
1k views

Cant´t activate a custom feature with PowerShell but with the GUI

I want to activate a custom feature with PowerShell on a few sites in my environment. When I´m doing this job over the GUI, everything is perfect. But when I´, doing it with my script, the feature ...
1
vote
1answer
119 views

How do I move lists from a site into a feature?

I created some custom lists (with content) on a site I'm using for prototyping. I want to make a feature (via Visual Studio) that automatically adds these lists (plus content) to any site the feature ...
18
votes
1answer
5k views

What is “feature stapling”?

I've seen the term "feature stapling" used around this site and some blogs. What exactly does this mean? My best guess is that it has something to do with dynamically activating features from other ...
2
votes
3answers
848 views

Сan't programmaticaly activate the Publishing Feature for the Blog site

I'm developed a solution for stapling features. in my solution are located two projects, one project contains a module which consist the id features, what I want to attach to the sites collections and ...
1
vote
1answer
76 views

Which publishing feature creates a search site?

I have created some custom WebTemplates for SP2010 and activated a load of publishing features which have in turn created a search site. Does anyone know which feature is likely to create this subsite ...
2
votes
1answer
179 views

Sharepoint Report center

Is the Report Center option available for sub-site creation? I would like to utilize it for Director reporting and scorecards/dashboards
1
vote
2answers
1k views

Activate Feature in Powershell and specify custom properties

I want to activate a feature with custom properties. It is easy to do in onet.xml by providing Properties: <Feature ID=“78277796-98D9-4276-B7D2-E3374AAC43D8“> <Properties> ...
0
votes
2answers
747 views

Errors when attempting to install a sharepoint 2010 feature

I'm attempting to install and activate a feature containing a Timer Job. When I execute the install-spfeature cmdlet I get the following error. What is the source of my error? PS ...
1
vote
2answers
2k views

Column 'Document Id' not added to Library even after activating 'Document ID Service'

To enable document id feature in SP10, I followed the steps mentioned in the following posts: http://blogs.msdn.com/b/ecm/archive/2011/10/12/document-id-in-sharepoint-server-2010.aspx ...
0
votes
1answer
31 views

How to replace a Default List “Events” with a new custom list for all the sites

I am trying to find a script that will replace Sharepoint Events List with one of Custom List i created + Copy all the data of Events list to my newly created list. I know how to Delete a list and ...
1
vote
1answer
762 views

removing a sharepoint solution duplicates entry in web.config?

My intentions is to be able to add and remove web.config changes when a solution is installed or uninstalled. The code below and the powershell below works ALMOST as expected. When I add sp ...
0
votes
1answer
2k 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 ...