Launching Record Create Page with Default Field Values
Suppose Object is Task and default value for Status field to 'Completed' and ActivityDate to TODAY
Use :
/lightning/o/Task/new?defaultFieldValues=Status=Completed,ActivityDate={!TEXT(TODAY())}
Resource(s): https://help.salesforce.com/s/articleView?id=sf.links_useful_custom_buttons_create_record_dfv.htm&type=5
Comments
Post a Comment