You need to sign in to do that
Don't have an account?

Conditionally render visualforce page on record based on checkbox value
I have a custom object named Instruments. There is a visualforce page embed on the page layout of each record. I would like to conditionally render the visualforce page if the custom field, "High Priority" checkbox, on the record is false. Appreciate your help. Thanks.
Practically it is not possible, but there may be tricks:
1. You can create a Visualforce page and put all the code in the single page using component and rendered based on the Checkbox value.
2. You can create a Visualforce page and use standardcontroller="Instrument__c" and you may use iFrame to display your page on the single page and based on Checkbox Value you can render the correct page.
Thanks
Abdul Vahid
iBirds Software Services Pvt. Ltd.
contact@ibirdsservices.com
See example