SharePoint Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 2308 Page Views: 

how will u deploy features?



Posted By: yenkarthi Date: 21 April 2010 10:01:08 PM
 Answer:

First develop a SharePoint Feature by either copying an existing Feature and do modification on top of it as per the requirements, or you can also create a Feature using SharePoint Feature project template in the Visual Studio .Net (you need to install SharePoint project extensions for Visual Studio).

Once Feature has been developed, create a folder within the "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES" directory. Keep the name of this folder same as your Feature's name. Place all the Feature files within this folder.

Now run the following STSADM command to install the Feature into the SharePoint server farm:

stsadm -o installfeature -name FeatureFolderName

Once feature is installed successfully, you can activate the feature depending on its scope (farm, web application, site collection, and web site). Feature can be activated by the SharePoint site front end, or by using the following STSADM command:

stsadm -o activatefeature -name FeatureFolderName –url http://servername/site/subsite

For more detail, refer following post:
http://www.etechplanet.com/post/2010/04/11/Understanding-Scope-of-SharePoint-Features-(WSS-30MOSS-2007).aspx


Posted By: Avi


Date: 25 April 2010 06:18:26 AM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image ZGeRRO
Related Questions
SharePoint : how do I import datagrid in sharepoint through webparts?
SharePoint : how will u deploy features?

how will u deploy features?

First develop a SharePoint Feature by either copying an existing Feature and do modification on top ....
Category: SharePoint Date: 4/21/2010 10:01:08 PM
SharePoint : have worked in BDC?

have worked in BDC?

BDC stands for Business Data Catalog. It is a new feature introduced in Microsoft Office SharePoint ....
Category: SharePoint Date: 4/21/2010 10:00:38 PM
SharePoint : If I have an external aspx page? How do u integrate with existing sharepoint site? I want to publish it over there? Part of sharepoint web application?

If I have an external aspx page? How do u integrate with existing sharepoint site? I want to publish....

what you want is to use Application pages. These are located in Layouts directory. Within the Applic....
Category: SharePoint Date: 4/21/2010 9:59:46 PM
SharePoint : By default sharepoint it has own themes? I want to apply my own themes? How do u implement that?

By default sharepoint it has own themes? I want to apply my own themes? How do u implement that?

SharePoint Themes represents a collection of graphics and cascading style sheets that can modify how....
Category: SharePoint Date: 4/21/2010 9:58:18 PM