70-573 · Question #6
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…
The correct answer is A. Add a new module to the Visual Studio project. 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 provisiona file into Microsoft SharePoint Foundation Web sites, you must use the Module element within a Feature orsite definition…
Question
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?
Options
- AAdd a new module to the Visual Studio project.
- BAdd a Feature receiver to the Visual Studio project.
- CConfigure the Properties element in the Feature definition file.
- DConfigure the ActivationDependencies element in the Feature definition file.
How the community answered
(24 responses)- A71% (17)
- B8% (2)
- C17% (4)
- D4% (1)
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 provisiona file into Microsoft SharePoint Foundation Web sites, you must use the Module element within a Feature orsite definition. The Module element allows you to add one or more files to a SharePoint Foundation Web site ordocument library. How to: Provision a File
Topics
Community Discussion
No community discussion yet for this question.