Show dynamic VisualForce page based on a field value in Salesforce. — Salesforce Garage


In order to achieve the requirement, create a custom button and set the Behavior picklist to option ‘Execute JavaScript’ and Content Source picklist to ‘OnClick JavaScript’. Add the below lines of code in Custom button Editor Text page: Here, I am showing the custom VF page based on the values present in RecordType. if(‘{!Position__c.RecordType}’==”Developer”) { […]

via Show dynamic VisualForce page based on a field value in Salesforce. — Salesforce Garage

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s