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 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;
Hello,
Entity entity = (Entity)context.InputParameters["Target"];
Guid guid= entity.Id;
Hope this will help you!
Guid LeadId = entity.Id;
Thanks,
Shahbaaz
You can get lead id using below code
Guid recordID = entity.Id
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
HR-09070029-0 2
UllrSki 2
ED-30091530-0 1