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
Tom DawsonTom Dawson 

Passing variable through URL

Hi All

I'm tyring to pass a variable through a URL, however whenever i append my variable onto the end of my URL and hit enter, it removes the variable from the end. For example:

This is the URL i would like to use:
https://my-org.force.com/lightning/n/Create_New_SNP_Record?recordId=12345
Here, the variable is recordId and the value is 12345

After hitting enter, the URL becomes this:
https://my-org.force.com/lightning/n/Create_New_SNP_Record

Has anyone had this happen to them before? If so, any help would be appreciated!

Thanks

Tom