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
How can I get my DocType ID of my current node using Node Factory?
THanks for the help.
Hi Carlos,
Here is one way you could do it:
using umbraco.NodeFactory;using umbraco.cms.businesslogic.web;
var currentNode = Node.GetCurrent(); DocumentType dt = DocumentType.GetByAlias(currentNode.NodeTypeAlias); //Doctype id is: dt.Id
HTH,Tom
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
NodeFactory Document Type Id
How can I get my DocType ID of my current node using Node Factory?
THanks for the help.
Hi Carlos,
Here is one way you could do it:
HTH,
Tom
is working on a reply...