Announcements
No record found.
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.