0
votes
1answer
14 views

SharePoint Features Properties

I have to set my feature properties from VS. When I double-click on the file FeatureName.Feature , I do not see the properties window but VS open the feature design manager. How can I change the ...
0
votes
1answer
569 views

Adding Folders to a SharePoint 2010 Custom Document Library Template

Although I know it is bad practice, my business requirements dictate to create a default folder structure within a custom document library template. I created the feature in VS including site columns ...
0
votes
0answers
66 views

How can I create a editable site page based on a custom page layout that is deployed via site definition

I have a site definition (SP2013) with some features. The feature deployes a custom page layout thats using the "Article Page" content type. Once deployed I can create new pages fine based on my new ...
1
vote
4answers
2k views

How to enable site collection feature by default when deploying a visual webpart from visual studio?

I am making a visual web part in SP 2010 using visual studio 2010. I want it so that when I add and deploy my wsp file, it should by default keep the site collection feature activated for the web ...
0
votes
1answer
19 views

How to find feature including a specific element

this migth be a really easy question, but I could not find any solution for that. I'm using VS 2012 and want to find which features are using a specific element. Since I got lots of Features in my ...
1
vote
1answer
55 views

Dynamically deploying branding (SharePoint 2010)

I'm developing a portal for clients in SP2010. Each client will have their own copy of the portal (a site collection) branding for them. Currently I provision all the branding artifacts to the style ...
1
vote
2answers
355 views

How can the deployment of a feature (or element) be made dependent on the SharePoint version (2010/2013)?

I have a solution (deployed in the Sandbox) that declaratively creates CustomActions (menu items). It works fine in SharePoint 2010 and 2013, but we don't like the look in 2013 so I'd like to exclude ...
13
votes
4answers
12k views

Feature with id already exists - force option

I'm getting that old familiar error when trying to deploy my SharePoint solution via Visual Studio: Error occurred in deployment step 'Add Solution': A feature with ID {Guid} has already been ...
1
vote
3answers
774 views

Feature Folder Path Name Doubled

Why when I create a new feature in VS2010 and deploy it, I see the Features folder has my solution but the name is "Doubled Up". Is this expected behavior? See my sample below: C:\Program ...
2
votes
1answer
119 views

Feature with List and registration form

I am new to SharePoint and want to discuss an issue I want to create a feature that will create custom application page (registration form) and a custom list to store registration form's data. I can ...
0
votes
1answer
268 views

Adding style sheet to feature

I have created a feature in sharepoint 2010. The feature has a visual web part (sandboxed), the web part has controls etc. I have added some styles to the web part. How do i upload the stylesheet ...
0
votes
3answers
81 views

How to build a complex feature to collect and store user options that drive a delegate control

A long title but hopefully will be enough! Basically, I want to create a feture in Visual Studio that will do the following: When activated, places an option/link in the site collection options in ...
2
votes
1answer
150 views

Using solutions and features in creation/branding of SharePoint websites

I am new to SharePoint website creation and branding and I need your advice. For my first SharePoint site I have done the following: 1- Created/edited a master page. 2- Added CSS and JavaScript ...
0
votes
1answer
1k 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
536 views

Modify the content of the home page programmatically in SharePoint 2010

First of all, I'm pretty new to SharePoint so don't shoot me if this is a noobish question or if I don't provide all the right information at once... :) I have a team-site in SharePoint with ...
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
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 ...
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
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
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 ...
0
votes
1answer
1k views

How to dynamically set Module URL property in Elements.xml file

I have created a module that creates a site page inside a pages library. Is there a way we can dynamically set Url property of the Module node in the XML file? I would like to set the Url property ...
4
votes
1answer
2k views

Why won't my site column deploy from an elements file?

See Can site columns be deployed in sandboxed solutions? for background on this. I've tried to reproduce the sandboxed feature with a site column as built by Hilton Giesenow shown on How Do I: Create ...
1
vote
1answer
359 views

VIsual Studio editing feature.xml

I am trying to create a a feature staple. To do this I need to create a feature and then edit the feature.xml to be like: <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> ...
1
vote
2answers
732 views

Creating site column without using features

I am trying to create a site column in VS2010 without using features. Is this possible? If yes, please let me know where I can start looking. I don't want to use feature because feature comes with ...
1
vote
1answer
432 views

How to create Menu Webpart in WSPBuilder

I am using WSPBuilder. I want to create the package that includes the MenuItemList and MenuWebpart. Requirement is create the feature for MenuItemList which holds the menu items. Webpart should fetch ...
2
votes
1answer
177 views

character problem in webpart title after exporting a site

After i have creat a site collection (in french), i save it as a model, open it in Visual studio, change the scope of a feature, package it and deploy it on the farm and create a new site collection ...
4
votes
1answer
637 views

Including Description with Page Layout

I'm deploying a couple of custom page layouts as part of a feature for SharePoint 2010, and am having issues including the description with the page layout. I'm looking to include descriptive text as ...
1
vote
2answers
880 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 ...
2
votes
1answer
228 views

Why am I getting issues with a WSP imported into Visual Studio?

I imported a WSP (site template) in VS 2010 and compiled. I then tried to create a package (build > package). I am getting all sorts of issues. Why is that? The site templated was created using an ...
3
votes
1answer
506 views

Deploy an image in a feature

I am creating a feature which adds an option to the ECB. I want to have a custom icon/image. In my Visual Studio 2010 project I have created a TEMPLATE/IMAGES/proj folders. I have added my image to ...
23
votes
6answers
5k views

List of best practices on structuring SharePoint 2010 solutions

I am looking for good guidance on how to structure a SharePoint Solution including: Visual Studio Project Structure Features (how to separate features) Namespaces When to use multiple project ...
1
vote
2answers
1k views

How should I programmatically customize the “My Profile” page (person.aspx)?

I am trying to customize the "my profile" page (person.aspx, "my site host" site collection) in SharePoint 2010. For example, I would like to: Add/delete some webparts Delete links from top ...
2
votes
2answers
888 views

Understanding Sharepoint feature scopes

I have read the article about Understanding Scope of SharePoint Features and the MSDN documentation on Feature Scope. So from what I understand you can activate a feature for the following scopes: ...
0
votes
3answers
4k views

How to add SP2010 module elements with “published” state?

I use a feature to deploy a master page to a SharePoint 2010 publishing site. I use VS 2010 SharePoint projects. The feature deploys the .master , some CSS files and some images. Everything works OK ...
0
votes
2answers
2k views

Which Feature Scopes are right for me?

I'm developing a site using SharePoint Server 2010 in Visual Studio 2010. I'm having trouble determining which Feature Scopes are right for my features. I have a feature which includes a custom ...
1
vote
1answer
408 views

Changing directory name of features in SharePoint 14 Hive - Impact on already deployed features?

I'm moving from a WSPBuilder based SharePoint 2010 solution to a Visual Studio 2010 based solution. After porting the WSPBuilder based solution to a plain Visual Studio based solution I tried to ...
2
votes
3answers
3k views

How to deploy a web-scoped feature in visual studio SharePoint Project to a specific site in the Site collection?

I have a visual studio SharePoint site that contains a list definition and content type. I need this feature to be activated on a specific site in the site collection. I set the feature scope to ...
2
votes
2answers
2k views

Visual Studio 2010 Site Column template?

I noticed there are a lot of new project and item templates in Visual Studio 2010, but I'm unable to find one for Site Columns. Is there none? What's the suggested way of making a site column in ...
3
votes
2answers
1k views

Convert SharePoint 2007 features in VS2010 feature designer

Does anybody have experience moving SharePoint 2007 features from VS2008 to VS2010 using the new feature designer? I currently have a C# class library project that has a "12" folder with a bunch of ...