I have Visualforce Page which redirects to standard accounts edit page with prepoulated value for record Type. The record type is getting populated using URL hack. But since URL hacks dont work in lightning experience this functionality is not working and the record type is not populated.
Is there any other workaround to redirect to a standard page with pre-poulated values in Lightning?
Best Answer
First you create a lightning Application name myFirstApp which retrieve data from the url. if your URl is like this /c/ChooseCampaignApp.app?AccountId=001P000000eM5z7&ContactId=003P000000hlONG
Then the attribute name must be same as the the Url which contains the values myFirstApp.app
Create a component Name: AccountFormByID, adding a server-side controller, AccountFormByIDController, with an attribute: accGetID
Client-side Controller:
Server side Controller:-