Set Master Template on a new template created through API
When creating a template using the API (new Template(path, name, alias) how do I set the Master Template so that it appears in the right place in the Umbraco back office? The content of the template sets the Layout property:
Set Master Template on a new template created through API
When creating a template using the API (
new Template(path, name, alias
) how do I set the Master Template so that it appears in the right place in the Umbraco back office? The content of the template sets the Layout property:but this doesn't get carried over to the "Master Template" property and I don't know how to set that in code?
A workaround is to use the old
umbraco.cms.businesslogic.template
namespace (yuck)is working on a reply...