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 

2x Salesforce MVP | Platform Champion | 18x Salesforce Certified | MuleSoft Certified | 8x Trailhead Ranger | TechForce Services | Sydney | Australia

Leave a Reply

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

*