Use the getParameters() and put() methods to add parameters to the URL.
Example: pageRef = getParameters().put(‘id’, object.id);
Example: pageRef = getParameters().put(‘id’, object.id);
Making developer's life easy
He is a Salesforce Certified Application Architect having 11+ years of experience in Salesforce. View more posts