Write the following line in constructor. Value of the param ‘id’ is stored in paramValue.
String paramValue = ApexPages.currentPage().getParameters().get(‘id’);
Making developer's life easy
String paramValue = ApexPages.currentPage().getParameters().get(‘id’);
He is a Salesforce Certified Application Architect having 11+ years of experience in Salesforce. View more posts