function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
prad_p25prad_p25 

Need help on Creatiing an event while clicking a button on lead

Hi,

I am trying to create an event from a button on lead details page. I am trying this through URL but what I want is to pass a fixed OwnerID (assigned to) for all the events that are created clicking that button.

here is my url but this is not showing ownerid as it mentioned. It is always showing the the owner as the person creating it. Also let me know if a Visualforce page will be a better option for this.

https://emea.salesforce.com/00U/e?&retURL=%2F{! Lead.Id }&ownerID={00520000001Orov}&whoId={! Lead.Id }

 

regards,

PB