Forum Discussion

DarioCL's avatar
DarioCL
Copper Contributor
Oct 07, 2025

Cannot change a content type template's url anymore

Hello, 
I created a new content type for my site, everything works well, however I'm unable to change it's template url (Advanced settings -> use existing model).

This is the error that appears once I hit the save button:

This roughly translates to:  "Unable to update advanced settings. A Web-type file cannot be attached as a template."

 

Now this is strange because in the past I could do this without any issue. Has something changed in the template system, or could it possibly be a bug? 

 

Thanks in advance

2 Replies

  • Hi DarioCL​ 

    Microsoft has changed the template gallery, maybe it's a side effect. 

     

    The url /_layouts/15/CreatePageFromTemplate.aspx it's the same as when you use the default SharePoint menu New > Page, an there it's work fine with default settings:

     

    In Document Content Types you can add a url to your document template:

    In what library do you use your new ContentType?

    What is your UseCase to use the default url /_layouts/15/CreatePageFromTemplate.aspx vor a custom ContentType?

     

    Best, Dave

    • DarioCL's avatar
      DarioCL
      Copper Contributor

      Hello DaveMehr365​, thanks for your answer.

      In my use case, when I click on New and select my new content type (which is of type page), Sharepoint loads the page editor, without giving me the possibility to select a template first, as opposed to when I click on New -> Page. 

      In the past, I used to fix this by specifying the CreatePageFromTemplate.aspx template, but this is not feasible anymore as shown in my original post, and partly confirmed by you. 

      To sum it up, I'd like to either select a template via the Sharepoint standard screen (similar to how the standard New -> Page works), or, if possible, specify a fixed template for my content type by inserting a link to it in the advanced settings screen (e.g. sites/mySite/SitePages/MyTemplate.aspx)

Resources