Copied to clipboard

Flag this post as spam?

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


  • Garrett Fisher 341 posts 496 karma points
    Jun 18, 2010 @ 17:10
    Garrett Fisher
    0

    ID of nodeTypeAlias

    Hi,

    I need to pass a Document Type as a querystring to a Macro, and I'd really rather not use a string (eg., "?typeCustomerCaseStudy") just in case anyone changes the Alias on the Document Type.  How do I find the *ID* of the nodeTypeAlias in teh database?  Is there one?

     

    Thanks,

    Garrett

     

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Jun 18, 2010 @ 22:14
    Matt Brailsford
    0

    In the admin, just hover over your doc type, and the ID will be displayed in the status bar, ie:

    javascript:openNodeType('XXXX');

    Where XXXX is you doc type id

    Matt

  • Garrett Fisher 341 posts 496 karma points
    Jun 21, 2010 @ 16:04
    Garrett Fisher
    0

    Perfect!  I totally should have figured that one out myself but Thank you!

    //Garrett

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Jun 26, 2010 @ 19:42
    Matt Brailsford
    0

    Hi Garret,

    Would you mind accepting the answer if this solved it for you?

    Cheers

    Matt

Please Sign in or register to post replies

Write your reply to:

Draft