function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Craig CoulterCraig Coulter 

Show visualforce page based on a picklist

I want to display a different visualforce page within the lead object based on what option is selected on a pick list within that lead. The visualforce pages have an iFrame with different maps and I want the map to show fully in the section, just like it would adding the VF page to the section via Page Layouts.

I have created a text formular tgat will display a link the the relavent VF page, but is there a way of showing the page instead of the link?
PriyaPriya (Salesforce Developers) 
Hey Craig,

Check this example if it helps :- 

https://developer.salesforce.com/forums/?id=906F0000000kA79IAE

Kindly mark it as the best answer if it works for you.

 

Thanks & Regards,

Priya Ranjan