What should you do?

You are developing a custom Feature by using Microsoft Visual Studio 2010.

You need to ensure that when you deploy the Feature, a file named Form1.xsn is deployed to the Feature folder. You must achieve this goal by using the minimum amount of development effort.

What should you do?

You are developing a custom Feature by using Microsoft Visual Studio 2010.

You need to ensure that when you deploy the Feature, a file named Form1.xsn is deployed to the Feature folder. You must achieve this goal by using the minimum amount of development effort.

What should you do?

A.
Add a new module to the Visual Studio project.

B.
Add a Feature receiver to the Visual Studio project.

C.
Configure the Properties element in the Feature definition file.

D.
Configure the ActivationDependencies element in the Feature definition file.

Explanation:
MNEMONIC RULE: “deploy file = module”

A module is a collection of file instances, which are instances of files that are provisioned in a site. To provision a file into Microsoft SharePoint Foundation Web sites, you must use the Module element within a Feature or site definition. The Module element allows you to add one or more files to a SharePoint Foundation Web site or document library.

Module
http://msdn.microsoft.com/en-us/library/ms462994.aspx

How to: Provision a File
http://msdn.microsoft.com/en-us/library/ms441170.aspx



Leave a Reply 0

Your email address will not be published. Required fields are marked *