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
AichaSFAichaSF 

URL Button- Passing Parameters from First object to second object.

Hello everyone,
I have a URL button in my Opportunity object (Lightning version),  that opens the form for Task creating. I need to pass parameters from the opportunity to the Task (such as the account linked to the opportunity, the contact ..).
Can you help me.
Shruti SShruti S
Have you tried building a Quick Action instead ? You could use the Pre-defined Values feature to default the fields on the Task. Refer - https://help.salesforce.com/apex/HTViewHelpDoc?id=actions_overview.htm
AichaSFAichaSF
Thank's for your replay;
Can you give me exemples please.