Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • John 88 posts 112 karma points
    Jul 26, 2011 @ 08:10
    John
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft