0

i create the site collection by central administration , i want see its ONET.XML. where is that exist ?

Also as per my knowledge the master page declaration is declare in onet.xml right ? i want to change my master pages names , how to do that? please don't suggest sharepoint designer use. I used it & really it is best . but what is the answer of my questions??

4

2 回答 2

3

ONET.XML is used to define site templates. It is used during the provisioning process to create the pages, lists, etc. that belong to the site. Once a site is deployed, it will not have its own ONET.XML file. Changes like changing the master page name need to be done either through Sharepoint Designer, Sharepoint itself, or the filesystem (usually with Visual Studio) depending on what kind of site you have deployed and which features you have enabled.

The various ONET.XML files for your installed site templates can be found in the 12 Hive for Sharepoint...

Usually C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATES\{template name}

Getting the specifics (can't remember off the top of my head which folder you'll find the onet.xml file in...and it depends on the site template).

于 2009-11-11T13:52:28.327 回答
0

在 Sharepoint 2013 中,ONET.xml 的路径是:-

C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\GLOBAL\XML\ONET.XML

于 2016-08-06T09:15:39.043 回答