locked
Content Type Hub - using RRS feed

  • Question

  • Got 6 webApplications with 1 or more Site Collections in each

    In http://portal - I have a Content Hub defined at http://portal/sites/CTH and the MMS is configured to use this and the Content Hub feature enabled at the site.

    In this CTH I have a doc library where all the word, excel templates resides in a doc library http://portal/sites/CTH/documents/

    And in the WebApp/site there’s defined a e.g. Word CT where the URL to the template is typed like this:

     http://portal/sites/CTH/documents/word.docx

    Upon save the URL gets stripped to: /sites/CTH/documents/word.docx

    Then in the WebApp http://portal2 I can see the Word CT in the Root Site collection – but can’t see it and attach it to a doc library in a subsite –

     

    I can attach the CT to a library in the root, but when I try to create a new Doc – Word gives me this Error 


    I’m guessing that the reference to sites/CTH/documents/word.docx that causes this (the missing http://portal/)

    So I’m not allowed to save the URL with http://portal/

    How do I fix this “across” WebApp “problem” – so I only have to maintain the templates files and CT in the CTH ? 


    • Edited by JmATK Tuesday, May 30, 2017 8:48 AM
    Tuesday, May 30, 2017 8:47 AM

Answers

  • Hi,

    It’s a known issue in SharePoint.

    The content type will analyze the path as relative path by design, which will cause this issue.

    Thanks,

    Dean Wang


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    • Marked as answer by JmATK Thursday, June 1, 2017 11:53 AM
    Thursday, June 1, 2017 9:43 AM

All replies

  • Hi,

    Yes, the URL will be analyzed as relative path automatically if you restore the template in the web application which the content type hub site in. When you use this content type in other web applications, SP can’t find the template.

    As a workaround, I suggest you upload document template to content type. Then try to republish the content type.

    Thanks,

    Dean Wang


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Wednesday, May 31, 2017 7:47 AM
  • Hi Dean 

    Yes... I've uploaded the template :)  

    Is this a bug in SP or can it be forced to keep the reference http://  ? 

    Thursday, June 1, 2017 4:24 AM
  • Hi,

    It’s a known issue in SharePoint.

    The content type will analyze the path as relative path by design, which will cause this issue.

    Thanks,

    Dean Wang


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    • Marked as answer by JmATK Thursday, June 1, 2017 11:53 AM
    Thursday, June 1, 2017 9:43 AM