Forum Discussion

KURT BARBER's avatar
KURT BARBER
Copper Contributor
Apr 09, 2017

Document Content Type Template in Modern Document Library

Hello,

I can't seem to find a solution to the following problem:

When attempting to create a custom (document) content type and uploading a custom document template, I run into an Access Denied prompt.  I'm working in an O365 group site in a modern document library and am following these http://www.kalmstrom.com/Tips/SharePoint-Online-Course/Content-Types-Intro.htm.  According to the instructions, there is a setting in the administrator panel related to allowing custom scripting that needs to be turned on.  However, custom scripting is already turned on in my environment and I continue to run into the error/prompt.

Does anyone know a workaround/solution to this?

 

Thanks,

- Kurt

 

10 Replies

  • Anonymous's avatar
    Anonymous

    I have had a call with a support engineer from Microsoft and have the solution for this issue.

    The way it works now is as designed. A lot of the options for site customizations are default not available in Connected Modern Team Sites/Office 365 Groups sites. The setting in the SharePoint admin center do not affect the Office 365 Groups Sites. Only the site collection that are shown in the list in the SharePoint admin center. To be able to use specific settings in the Office 365 Groups Sites, for example changing the advanced settings of custom content types, you have to connect to the site collection and turn the feature using PowerShell.

     

    You can read here how to do that: https://support.office.com/en-us/article/Turn-scripting-capabilities-on-or-off-1f2c515f-5d7e-448a-9fd7-835da935584f?ui=en-US&rs=en-US&ad=US

    • KURT BARBER's avatar
      KURT BARBER
      Copper Contributor

      Thanks for the info Rebekka! 

      I ended up submitting a ticket and getting help on this, so thankfully I'm all set.

  • Anonymous's avatar
    Anonymous

    I have the same issue. I have looked for a work around, but haven't found it yet. A support call seams the only option.

    • KURT BARBER's avatar
      KURT BARBER
      Copper Contributor

      Juan - ...Just following up...any idea if there is an answer to my original question; I just need to decide soon whether to continue to pursue my current road or try carving out a different path.

       

      Thanks,


      jcgonzalezmartin wrote:
      Are you seeing or no the Content Types gallery access in the site settings group?

      - Kurt

      • Well, I see you have access to the Content Type gallery so you should be able to create your custom content types from there and in the case of Document Content Types, add a template to them with no access denied errors. If you are having these errors, I suggest to open a support ticket because in my opinion those errors are not correct
    • KURT BARBER's avatar
      KURT BARBER
      Copper Contributor

      I believe I am seeing what you're alluding to...

       

      Thanks for the quick reply

      • KURT BARBER's avatar
        KURT BARBER
        Copper Contributor
        Does this screenshot answer your question or am I looking in the wrong spot?

        Thanks again,
        - Kurt

Resources