1

I want to view an XML definition of a site column. At the moment the only way I know of doing it is through a PowerShell script:

Get-SPWeb.Fields['MyField'].SchemaXmlWithResourceTokens

Is it possible to do the same through the UI or a SharePoint Designer?

10

Ever since v1 of SharePoint Team Services, Microsoft has used OWSSVR.DLL to remotely invoke functions against SharePoint. It is part of SharePoint Foundation Remote Procedure Call (RPC) protocol.

To read more about the OWSSVR.DLL command follow URL Protocol from Microsoft Blog.

The query:

https://fabifam.sharepoint.com/_vti_bin/owssvr.dll?Cmd=ExportList&List={ListGuid}

allows to export a List Schema

Usage

  1. To determine List Guid, go to List - List Settings - copy List parameter from Url
  2. Construct the following query:

    https://fabifam.sharepoint.com/_vti_bin/owssvr.dll?Cmd=ExportList&List={ListGuid}
    

    where {ListGuid} corresponds to the List Guid

  3. The list schema will be generated as demonstrated below:

    enter image description here

2

You can try using SharePoint Manager. It is a free tool.

3
  • Thank you! Can it connect to remote SharePoint server? – niaher Jan 27 '14 at 4:07
  • No it does not allow connecting to remote servers. There is another similar tool which can connect to remote servers sprm.codeplex.com but this is only available for SharePoint 2010 not 2013 – Nadeem Yousuf-AIS Jan 27 '14 at 5:56
  • Cool. Thank you! What an unfortunate name though 'sprm'... – niaher Jan 27 '14 at 6:35
0

You will find most of the out of the box columns and content types on the file system of your local server:

For Site Columns look at:

  • SharePoint 2010: HIVE14\Templates\Features\fields\fieldwss*.xml
  • SharePoint 2013: HIVE15\Templates\Features\fields\fieldwss*.xml

For Site Content Types take a look:

  • SharePoint 2010 HIVE14\Templates\Features\ctypes\
  • SharePoint 2013 HIVE15\Templates\Features\ctypes\

What is not in the xml files stored in the directories is other content types then the one that exist in the SharePoint Foundation. Additional content types come with additional features and can be found the features folder there.

For custom columns you will only find this using SharePoint Manager.

Remember you can take a look into those files but you are note allowed to change this files. Handle with care.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.