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

Redirect to a page layoutand prepopulate with values

I try to convert the javascript buttons in order to make them work in lightning.


<apex:page standardController="Solutions__c" recordSetVar="solutions" extensions="SolutionWrapper" >


            function redirect(){
            window.onload = window.setTimeout(redirect(),5000);

This visual force page is integrated in a 'Custom Button or Link Edit' because in my case i can not use action.

Given the fact that url hack are not working anymore in lightning , are there any other way in this case to prepopulate the fields of the url destination. 

Thanky you in advance 
Raj VakatiRaj Vakati
you need to use the lightning-quick action button