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
SimmoSimmo 

Create a Custom Button passing parameters in Lightning Experience

I have read in the Salesforce documentation that it is not possible to create a custom button and pass parameters in Lightning Experience.

Is there any way to resolve this? I have tried a few things but cant not get the values to pass through.

I am trying to create a custom List button, when clicked I want to create a new record but pass through some of the values from the original record. This was working fine with a URL button in classic, but the values are not passed through in Lightning Experience.

 
Waqar Hussain SFWaqar Hussain SF
Create a new VF page and use URL custom Button. On the VF page load created record and get the values by SOQL.
So the URL should be lik

/apex/YOUR_VF_PAGE?Id={!OBJECTNAME.ID}