How to add parameter to page url through apex code?

Use the getParameters() and put() methods to add parameters to the URL.
Example: pageRef = getParameters().put(‘id’, object.id);

Published by Sandeep Kumar

He is a Salesforce Certified Application Architect having 11+ years of experience in Salesforce.

Leave a Reply