When using the Node API there is a property to check the nodeTypeAlias, however, there isn't a property with the Node Type ID. The Content
Type Picker type for a user control property spits out a list of content
type IDs, not alias. I've noticed in the App_Data/umbraco.config file that there
is infact an attribute on each node called nodeType which stores the ID
but there doesn't seem to be any access to it via the API.
If I need to query child nodes on a current node and I need to check the Node Type ID of these child nodes, is the only way if I parse the XML file myself?
Node type through API
Hi,
When using the Node API there is a property to check the nodeTypeAlias, however, there isn't a property with the Node Type ID. The Content Type Picker type for a user control property spits out a list of content type IDs, not alias. I've noticed in the App_Data/umbraco.config file that there is infact an attribute on each node called nodeType which stores the ID but there doesn't seem to be any access to it via the API.
If I need to query child nodes on a current node and I need to check the Node Type ID of these child nodes, is the only way if I parse the XML file myself?
Umbraco 4.7
Cheers
is working on a reply...