nerdexam
Microsoft

70-573 · Question #85

You use a custom site definition to create SharePoint sites. You need to add a Web Part to the home page of the site definition. Which file should you modify?

The correct answer is A. Onet.xml. MNEMONIC RULE: "third-party 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 site definition or a custom web template: Specify an alternative cascading style sheet (CSS) file, JavaScript file, or…

Developing SharePoint Sites

Question

You use a custom site definition to create SharePoint sites. You need to add a Web Part to the home page of the site definition. Which file should you modify?

Options

  • AOnet.xml
  • Bdefault.master
  • Cweb.conflg
  • DSp.xml

How the community answered

(27 responses)
  • A
    78% (21)
  • B
    7% (2)
  • C
    4% (1)
  • D
    11% (3)

Explanation

MNEMONIC RULE: "third-party 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 site definition or a custom web template: Specify an alternative cascading style sheet (CSS) file, JavaScript file, or ASPX header file for a site definition. 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 Web Parts that are included when the configuration is instantiated. Specify Features to be included automatically with websites that are created from the site definition or web template. Understanding Onet.xml Files

Topics

#site definition#Onet.xml#Web Part provisioning#home page

Community Discussion

No community discussion yet for this question.

Full 70-573 Practice