Questions tagged [feature]
set of functionality that can be turned on at a particular scope level
525
questions
2
votes
2
answers
2k
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>
...
2
votes
3
answers
1k
views
Feature with scope Web only on RootWeb
I have just a small Question:
Can I tell a feature with scope "Web" only to be activated on the RootWeb in Feature.Template.xml?
Something like
RootWebOnly="TRUE"
I have a listInstance (...
2
votes
1
answer
308
views
Is it possible to add page layouts/web parts using a feature activated in a sub site?
I'm trying to keep my code as organized as possible, and in doing so wanted to create sub sites (sub projects) that contain their own page layouts and web parts etc. Is it possible for me to put these ...
2
votes
2
answers
653
views
Deleting Dead User Accounts from Sharepoint Alerts,Assigned to E-Mails ,Workflows
how delete Dead User Accounts from Sharepoint Alerts,Assigned to E-Mails ,Workflows.
2
votes
1
answer
192
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 ...
2
votes
1
answer
1k
views
How to update choice field options with a feature upgrade?
I created a feature with a field definition with choices. These choices are bound to language dependent resources using the $Resources:file:key system. Resource files are included.
As the feature is ...
2
votes
2
answers
1k
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:
...
2
votes
1
answer
154
views
Disable 'Enable SharePoint Designer' through feature?
Is it possible to disable the SharePoint Designer Settings - 'Enable SharePoint Designer' within a feature activation event?
thx
2
votes
2
answers
1k
views
How to deploy a delegate control in the same feature as custom actions?
I'm trying to deploy a delegate control in the same feature as some custom actions. All the actions are deployed and work correctly. However, the control is not being deployed. If I create a new ...
2
votes
3
answers
866
views
Inject javascript into a page from a feature
I want to add a verb (link in the top left menu of a web part) to all the web parts in Sharepoint 2010. Is there a way to inject javascript into a all the pages from a custom feature?
2
votes
1
answer
452
views
Declaratively pass parameters to a feature using activationdependency?
is there a way to declaratively pass parameters to a feature using activationdependency?
I have a feature defined in ONET.XML that i want to move to a feature stapler, but since it has a property ...
2
votes
1
answer
2k
views
<View> (ListViewWebPart) from within publishing page in feature
This is in the context of MOSS 2007.
I have a custom site definition. Currently in ONET.xml we have the following Module:
<View List="$Resources:core,lists_Folder;/$Resources:core,...
2
votes
2
answers
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 ...
2
votes
2
answers
233
views
Convert SPD Based site to use Features / Solutions
I've inherited the maintenance and development of a client's MOSS 2007 website. The website has been maintained via SharePoint Designer since it's launch. We do actually have copies of some feature ...
2
votes
2
answers
702
views
Editing web.config file from a feature using linq
I have custom web.config functionality that uses Linq to merge elements into a web.config based on a template file. I would like to use this in a feature so I can get it to merge all web.configs in a ...
2
votes
1
answer
285
views
Team Collaboration List Feature is active as default
The website feature "Team Collaboration Lists" was not activated by default when new modern team sites created in SharePoint Online. Now when I create a new site the feature is activated by ...
2
votes
1
answer
199
views
Create and deploy ListInstance without ListDefinition in a feature
My feature should add some lists to a Sharepoint 2013 site. I have tried to add a list with ListDefinition and ListInstance to my project and only add the Instance to the feature which should be ...
2
votes
4
answers
3k
views
How to set master page on team sites?
I am trying to set a custom master page on SP 2013 team site (on-prem). All the samples I can find involves the publishing feature, so I am turning here for tips on how set custom master page for a ...
2
votes
1
answer
2k
views
"The system cannot find the file specified" message while deploying new feature
I'm trying to deploy a new feature on sharepoint 2010 with scope web.
The deploy seems to run successfully, but the feature is not prensent in feature manager.
While visual Studio deploys the ...
2
votes
1
answer
103
views
Is there a relative URL for files hosted in the TEMPLATE\FEATURES directory?
Is there a relative URL for files hosted in the TEMPLATE\FEATURES directory?
What I'm trying to do is re-provision data every time my feature is activated without deleting the SPList. The idea is to ...
2
votes
1
answer
875
views
SPListCollection.EnsureSitePagesLibrary() throwing SPException (specified title already exists in this Web site)
I am attempting to call SPListCollection.EnsureSitePagesLibrary() upon FeatureActivated. The method is throwing the following exception:
Microsoft.SharePoint.SPException: A list, survey, discussion ...
2
votes
1
answer
4k
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
2
answers
678
views
Caml defined Custom Action, UrlAction and the multi language interface
When defining a custom action via the CAML schema definition, the UrlAction parameter specifies the "site or site collection relative URL of the page, for example, ~site/_layouts/sampleurl.aspx or ~...
2
votes
1
answer
11k
views
How to handle 'Feature for list template is not installed in this farm' for custom lists
I have a feature in which I have a custom ListDefinition. Within the definition, I also have a ListInstance based off of the definition. When installing and activating the feature, these lists are ...
2
votes
1
answer
149
views
Redeploying a list provisioning feature
I created a site definition to use as the base for project workspaces. I then staple features to the definition as needed. In one of the features I instantiate lists and document repositories. I ...
2
votes
2
answers
208
views
SharePoint list template repackaged, forms now unavailable (“cannot get ghost document”)
I had a SharePoint solution with a number of features packaged inside. I can't list them here, but it looked something like this:
Features (Scope):
(Site) MyDocument Content Type
(Site) Log List ...
2
votes
1
answer
656
views
Problem with defining Site Columns in a feature
Why the titles are blank (for example, I go to setting, site columns and select the group. I see all four columns but their title are missing. like, pobox, firstclassdate, deliverytype, carrier) for ...
2
votes
1
answer
509
views
Features Overwriting Each Other Changes in Web.config
We've two features both are designed to update (and modify) the web.config. One feature doesn't have any interface it is a SPJob which run on feature activation and copy user controls into web ...
2
votes
2
answers
240
views
Saving Site as Template Creates New Features?
New to SharePoint. Working with a on-premise 2013 SharePoint system. Im trying to save a site as a template from Production and copying the resulting template WSP file into my DEV environment. There ...
2
votes
0
answers
349
views
welcome page search results missing after enabling features
I am trying to get the welcome page search results page to display when I am trying to add a new page. I have followed the instructions from (Welcome Page) Search People Page Layout and here. I am not ...
2
votes
0
answers
259
views
While creating a site collection in SharePoint 2016 , getting error
Whenever I am trying to create a site collection in SharePoint 2016 , I am getting below error.
"Error while creating the workspace. Please contact your user
helpdesk.Feature definition with Id
...
2
votes
0
answers
37
views
Fields are not displyed in Disp/EditForm after content type upgrade
I had content type based on Page and pages library, which uses this contennt type. I needed to add new columns to this list.
I created Elements.xml for fields:
<?xml version="1.0" encoding="...
2
votes
3
answers
4k
views
MissingFeature - Issue
I am trying to get rid of the health error:
[MissingFeature] Database [WSS_ContentDB] has reference(s) to a missing feature: Id = [id]
I followed this link Removing features from a content ...
2
votes
0
answers
58
views
SharePoint Online, Add a webpart to wiki page
I need to add a web part to an existing wiki page [Type="GhostableInLibrary"], when a feature is activated.
I have tried a combination of both IgnoreIfAlreadyExists and ReplaceContent properties in ...
2
votes
1
answer
92
views
How can I create my own site feature for office 365?
I want to create my own site feature for 365.
I am doing migration process from MOSS 2007 to SP 2013 as well as Office 365.
In MOSS 2007 they used some FAB 40 template (Bug Database) this site ...
2
votes
0
answers
55
views
SP2010 - ToolbarTemplate property not working in Custom Feature
I have a requirement to hide the "Respond to Survey" link on all surveys for a SP2010 site if the user has already responded. I followed the process using this link but the ToolbarTemplate property is ...
2
votes
0
answers
286
views
Missing Features and Existing Lists
I have a site that was hosted on a Microsoft Project Server instance. One of the sub-sites was based on the Project Workspace Template in order to get access to the "special" lists like Risks and ...
2
votes
1
answer
159
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 ...
2
votes
1
answer
1k
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 ...
2
votes
3
answers
1k
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 ...
2
votes
0
answers
267
views
How to customize Feature image for a SharePoint 2010 Sandbox solution? [duplicate]
Possible Duplicate:
Own Feature-Icon in Sandbox Solutions
Ok, as usual, after searching for a solution on the rest of the net, here I am on StackExchange :)
How can I stuff a PNG image in my ...
1
vote
3
answers
2k
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
4
answers
5k
views
Custom Claim Provider - What is the fix for "Error loading the claim provider assembly"?
I have implemented a custom SPClaimProvider that is doing claims augmentation in the FillClaimsForEntity method. I have packaged this as a SharePoint feature and deploy it in a WSP.
I am trying to ...
1
vote
2
answers
6k
views
How to remove Feature from site?
Someone in my company installed a test feature on a live site. Now I'm trying to clean up this test feature, and am not sure where all to look to get rid of the one feature that I have left. This is ...
1
vote
4
answers
6k
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 ...
1
vote
2
answers
926
views
How to upgrade a specific aspx or ascx file in an existing solution
In the current project, the solution is already existing, the solution has like 5 features and each feature deploys different things.
The current development never used feature versions. So I ...
1
vote
2
answers
2k
views
How to trace the ListAdded event for the entire SharePoint 2010 farm?
In our SharePoint 2010 environment, we want to enforce the users to choose the option "show user names in the survey list" (survey list) however there may be a time when user may choose "No" to this ...
1
vote
2
answers
14k
views
Feature with Id 'guid' is not installed in this farm, and cannot be added to this scope
I have a WinForms project that acts as a Sharepoint 2013 Solution installer. It basically do some checking, create a sql database, adds and install a SP Solution and finally activates the feature.
...
1
vote
1
answer
463
views
Sharepoint 2007 to Sharepoint 2010 Migration Issues
I recently migrated SharePoint 2007 portal to SharePoint 2010 using content database attach/detach method. After mounting the database in SharePoint 2010, site collection got created. When I browse ...
1
vote
2
answers
176
views
Value retain when redeploy of SharePoint Timer Job
I have a very simple question on SharePoint 2010 Timer Job, I build by reference from here.
Basically upon execute of the Timer Job, I add an entry to SharePoint Custom List as following:
public ...