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
Sneha.PatilSneha.Patil 

Lightning URL hack issue with prepopulating fields on Page Load

Hi,

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 prepoulated values in Lightning?

Thanks,
Sneha

Piyush Kumar 58Piyush Kumar 58

Hello Sneha Patil ,

You can get value from the URL in the Lightning Component  using Lightning App aand Attribute. I write a blog on this go to this it will sure helps you to get out this ..
http://forcetalks.com/blog/passing-url-parameters-to-apex-controller-in-a-lightning-components/  (http://forcetalks.com/blog/passing-url-parameters-to-apex-controller-in-a-lightning-components/)

Let me know if you face any isssue regarding this.

Thanks 
Piyush Kumar