Created custom button to pre-populate few fields which overrides standard clone button using url hack, this is working in classic mode but not in lightning mode, sf1.
Please let me if we have any solution. thanks
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.
Sign up to join this communityCreated custom button to pre-populate few fields which overrides standard clone button using url hack, this is working in classic mode but not in lightning mode, sf1.
Please let me if we have any solution. thanks
You can use Lightning Quick action of type create record with predefined values to replace your url hack in Lightning and mobile app. Any url hack is simply not going to work in Lightning and salesforce mobile app.
Read this blog for an working example:- REPLACING URL HACKS WITH PRE-DEFINED ACTIONS IN LIGHTNING EXPERIENCE
Some other Resource available on it:-
Update:-
Salesforce Does not allow to use Action on Related list but it does the button. You can create a Visualforce page and use that visualforce page inside your button. Redirect user onload the page to the new record page with pre-populated values.
Also, You can explore this open source repository:- Quick-Actions-Everywhere which allows to add actions any where in salesforce.