locked
Document Information Panel not Showing for XML documents RRS feed

  • Question

  • Hi All,

    I have content types enabled on a library and I have the Information Panel set to open. However, this only seems to work on documents with a .doc or .docx extension. If I same a document as xml and upload to SH then when it is opened in Word - no information panel. Does anyone know how to get this to work or is it just not possible.

    Thanks for any help

     


    LMP
    • Moved by Mike Walsh FIN Tuesday, March 22, 2011 6:49 AM admin q (From:SharePoint - General Question and Answers and Discussion (pre-SharePoint 2010))
    Monday, March 21, 2011 10:22 PM

Answers

  • Hi,

    Thanks to share your post.

    For the issue, do you mean that you want to enable the document library panel for the XML document? If yes, The Xml below can be base64 encoded using the Convert.ToBase64String method and the put in the xml of the content type:

    <XmlDocuments>
      <XmlDocument NamespaceURI="http://schemas.microsoft.com/office/2006/metadata/customXsn">PGN1c3RvbVhzbiB4bWxucz0iaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS9vZmZpY2UvMjAwNi9tZXRhZGF0YS9jdXN0b21Yc24iPjx4c25Mb2NhdGlvbj48L3hzbkxvY2F0aW9uPjxjYWNoZWQ+VHJ1ZTwvY2FjaGVkPjxvcGVuQnlEZWZhdWx0PlRydWU8L29wZW5CeURlZmF1bHQ+PHhzblNjb3BlPjwveHNuU2NvcGU+PC9jdXN0b21Yc24+</XmlDocument>
      <XmlDocument NamespaceURI="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms">PEZvcm1UZW1wbGF0ZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vc2hhcmVwb2ludC92My9jb250ZW50dHlwZS9mb3JtcyI+PERpc3BsYXk+RG9jdW1lbnRMaWJyYXJ5Rm9ybTwvRGlzcGxheT48RWRpdD5Eb2N1bWVudExpYnJhcnlGb3JtPC9FZGl0PjxOZXc+RG9jdW1lbnRMaWJyYXJ5Rm9ybTwvTmV3PjwvRm9ybVRlbXBsYXRlcz4=</XmlDocument>
      </XmlDocuments>


    Unencoded xml to insert into customXsn section

    <customXsn xmlns="http://schemas.microsoft.com/office/2006/metadata/customXsn">
      <xsnLocation />
      <cached>True</cached>
      <openByDefault>True</openByDefault>
      <xsnScope />
      </customXsn>

    Hope this could help you!

    Leo

    • Marked as answer by Emir Liu Tuesday, March 29, 2011 9:31 AM
    Thursday, March 24, 2011 8:21 AM