Copied to clipboard

Flag this post as spam?

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


  • Mitch Olinsky 31 posts 51 karma points
    Oct 19, 2011 @ 16:52
    Mitch Olinsky
    0

    GUID / itemid of Node From ID

    Does anyone know how to get the GUID of a node?

    I'm trying to do so for an event handler.  The idea is that it sends an email to a person with a link to the courier deploy screen.  The URL is:

    http://domain/umbraco/plugins/courier/dialogs/CommitItem.aspx?providerGuid=d8e6ad83-e73a-11df-9492-0800200c9a66&itemid=<GUID>

    But I can't seem to get the GUID.  I've been working on this:

    "&itemid=" + umbraco.library.GetXmlNodeById(sender.Id.ToString()).Current.GetAttribute("guid", "").ToString()

  • Mike Chambers 635 posts 1252 karma points c-trib
    Feb 23, 2012 @ 01:50
    Mike Chambers
    0

     

    I've been playing with members... and member.UniqueId seems to give me the guid... it's inherited from 

    Guid CMSNode.UniqueId.

    Might be what you were looking for, if you were indeed still looking?

     

Please Sign in or register to post replies

Write your reply to:

Draft