How to pass Record Type selection to override page in Salesforce?

Sample code:

String recordTyp = ApexPages.currentPage().getParameters().get('RecordType');
if ( String.isNotBlank(recordTyp) )
p.getParameters().put('RecordType',recordTyp);

Cheers!!!

No comments:

Post a Comment