背景:
阅读新闻

sharepoint export list schema

  作者: 今日评论: [字体: ]

Many of my SharePoint Developer friends are struggling to get the Schema.xml file of a newly created list. The schema.xml file has the list's metadata information, by using the schema.xml, we can create the lis definition and paste this contents of Schema.xml to the Schema.xml file of the newly created List definition, so that you can deploy the list definition on another site.

In order to do this, you guys might be following the procedure bu saving the site template and get the site definition solution. After this, you will open visual studio and import this solution and wait for few minutes. THIS IS A CRAPPY PROCEDURE..Why do you invest your time to get a schema of one or few list  by taking entire site definition?..If that site has lots of lists, then it will take lots of time.


In my Research, i have found a the BEST  and quicker way to get schema.xml file of a particular list which you need Schema.xml. Follow the following procedure :

  1. Go to your site 
  2. click on the list of which you want to take the schema.xml
  3. Click on List setting. In the URL, you will find GUID of the list as like this

   4. Replace %7B with {
       Replace %7D with }
    5. Now the GUID of the list will look like as follows

                           {B852.......700B}
   6.Now enter the following url as follows

     http://ServerName/_vti_bin/owssvr.dll?Cmd=ExportList&List={GUID}

  7. A file name owssvr.xml file will be downloaded. That will be the Schema.xml file of the required list.

来源:http://pradeepakundapur.blogspot.com/2012/03/fastest-way-to-export-schema-of.html
录入日期:[2020/07/03 0:27:00]
收藏 推荐 打印 | 录入:mikebai | 阅读:
文章评论      
正在加载评论列表...
评论关闭