how to get the query parameters in visualforce page

We can get the Query Parameters in Visualforce page using {!$CurrentPage.parameters.QUERYPARAMETER NAME}

For Instance:
https://Salesforce_instance/apex/VFPage?Id=001D000000IRt53&CaseId=003D000000T6bIE

Here we can get the ID and CASEID value from Query Paramerts to VF page like
{!$CurrentPage.parameters.Id} – ID VALUE (001D000000IRt53)
{!$CurrentPage.parameters.CaseId} – CASEID VALUE (003D000000T6bIE)

Written by 

Salesforce MVP | Lightning Champion | 16x Salesforce Certified | Application Architect | 6x Trailhead Ranger | Techforce Services | Australia

Leave a Reply

Your email address will not be published. Required fields are marked *

*