+ Start a Discussion
pgolikovapgolikova 

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?

 

Appreciate,

 

Best Answer chosen by Admin (Salesforce Developers) 
bob_buzzardbob_buzzard

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 (***):

 

/apex/VF_page?id=********