Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Can you get a doctype by the ID instead of the nodetypealias?
We noticed that since we upgraded to 4.7.2, since Razor can not take "-" in the nodetypealias we were wondering if there was a way to get the DocTypes by ID instead of the NodeTypeAlias name.
Is this possible?
Hi. Wouldn't it fit?
using umbraco.cms.businesslogic.web;var docType = new DocumentType(docTypeId);
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted