Hi All,
i want to get leadid of lead record in plugin.
That Plugin is triggered on creation of lead record i.e. on post operation.
Thanks
*This post is locked for comments
Hi All,
i want to get leadid of lead record in plugin.
That Plugin is triggered on creation of lead record i.e. on post operation.
Thanks
*This post is locked for comments
Hi ,
You can get lead id using below code
Entity entity = (Entity)context.InputParameters["Target"];
Guid recordID = entity.Id
Entity entity = (Entity)context.InputParameters["Target"];
Guid LeadId = entity.Id;
Thanks,
Shahbaaz
Hello,
Entity entity = (Entity)context.InputParameters["Target"];
Guid guid= entity.Id;
Hope this will help you!
Hi ,
you can get the leadid via below method.
entity =(Entity)pluginExecutionContext.InputParameters[Constants.CONTEXT_Target]; this might be different depending on your writing style.
Guid leadid = entity.Id;
Mohamed Amine Mahmoudi
83
Super User 2025 Season 1
Community Member
52
dkrishna
6