locked
Get the created entity's id in a plugin RRS feed

  • Question

  • Hi all,

    How can i retrieve the guid of the current created entity in a plugin. For the update part everything is fine, but when creating the entity's guid is not set.

    How can i retrieve this id?

     

    Thanks!

    Friday, May 7, 2010 3:07 PM

Answers

  • Found:

    Guid id = (Guid)context.OutputParameters[ParameterName.Id];

    • Marked as answer by Irinel Crm Friday, May 7, 2010 3:13 PM
    Friday, May 7, 2010 3:13 PM