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

Testing VF - entering ID in url line doesn't return data

Hello, guys


I'm a bit confused as when I was going through VF workbook and used example of entering a random account identifier it worked but it doesn't not work anymore.
When I enter /apex/VF_page?=id******** it doesn't get any results from that account.


What can cause that?
Have I entered ID format wrong?




Best Answer chosen by Admin (Salesforce Developers) 

If that is a direct cut and paste of the URL, your '=' is in the wrong place.  That character separates the parameter name (id) from the value (***):