nerdexam
Microsoft

70-573 · Question #9

You have a custom site definition. You create a custom site Feature. You need to ensure that the Feature is activated for all new sites that are created by using the custom site definition. What…

The correct answer is A. Modify the Onet.xml file. MNEMONIC RULE: "custom site definition = Onet.xml" You can perform the following kinds of tasks in a custom Onet.xml file that is used for either a custom sitedefinition or a custom web template: Specify an alternative cascading style sheet (CSS) file, JavaScript file, or ASPX…

Developing SharePoint Sites

Question

You have a custom site definition. You create a custom site Feature. You need to ensure that the Feature is activated for all new sites that are created by using the custom site definition. What should you do?

Options

  • AModify the Onet.xml file.
  • BModify the web.config file.
  • CAdd a Feature receiver to the custom site Feature.
  • DAdd a Feature dependency to the custom site Feature.

How the community answered

(22 responses)
  • A
    86% (19)
  • B
    5% (1)
  • C
    9% (2)

Explanation

MNEMONIC RULE: "custom site definition = Onet.xml" You can perform the following kinds of tasks in a custom Onet.xml file that is used for either a custom sitedefinition or a custom web template: Specify an alternative cascading style sheet (CSS) file, JavaScript file, or ASPX header file for a Modify navigation areas for the home page and list pages. Add a new list definition as an option in the UI. Define one configuration for the site definition or web template, specifying the lists, modules, files, and WebParts that are included when the configuration is instantiated. Specify Features to be included automatically with websites that are created from the site definition or webtemplate. Understanding Onet.xml Files

Topics

#site definition#Onet.xml#Feature activation#custom site

Community Discussion

No community discussion yet for this question.

Full 70-573 Practice