What should you do?

You are creating a custom site definition for a Microsoft Windows SharePoint Services site. You define a document library as a part of the custom site definition.

You need to set the default document type as a Microsoft Office Excel 2007 spreadsheet file for any new instances of the document library.

What should you do?

You are creating a custom site definition for a Microsoft Windows SharePoint Services site. You define a document library as a part of the custom site definition.

You need to set the default document type as a Microsoft Office Excel 2007 spreadsheet file for any new instances of the document library.

What should you do?

A.
In the Schema.xml file, set the Type attribute of the List element to 101 (Document Library).

B.
In the Onet.xml file, set the Type attribute of the List element to 101 (Document Library).

C.
In the Onet.xml file, set the BaseType attribute of the ListTemplate element to 1 (Document Library).

D.
In the Onet.xml file, set the Default attribute of the DocumentTemplate element for an Excel spreadsheet to true.



Leave a Reply 0

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