URL Parameters within Apex and Visualforce

28 Sep

Get a URL parameter from a Visualforce page

Get a map of URL parameters from a Visualforce page

Get URL Parameters in a Visualforce page

This assumes the URL is looks like this, “http://www.salesforce.com/apex/MyPage?urlparm=something”.

Put values into Visualforce page’s URL and load a new page

Method 1: write out the URL

Method 2: Put parameters into a PageReference

Put values into the current test page’s URL in a Test Class

Salesforce Help

$CurrentPage Documentation
Controller Navigation Methods
Visualforce Parameters

2 Replies to “URL Parameters within Apex and Visualforce

Comments are closed.