You need to sign in to do that
Don't have an account?
AkiT
How to imitate the custom button & scontrol iframe in VF?
Hi!
I use the below VF code to open an s-control in an iframe - similar one does using custom button & s-control in standard sf page. However I cannot add the custom button in VF to get the same behavior.
So I use commadButton and return reference to new VF page with scontrol tag as in below code. However this is not as flexible - it is inline and static size. E.g. It does not react on sidebar collapse which is not nice. VF iframe tag doesnt seem to work as I cannot feed object id.
Any suggestions / workarounds?
Code:
I use the below VF code to open an s-control in an iframe - similar one does using custom button & s-control in standard sf page. However I cannot add the custom button in VF to get the same behavior.
So I use commadButton and return reference to new VF page with scontrol tag as in below code. However this is not as flexible - it is inline and static size. E.g. It does not react on sidebar collapse which is not nice. VF iframe tag doesnt seem to work as I cannot feed object id.
Any suggestions / workarounds?
Code:
<apex:page standardController="Offer__c" extensions="offerPage" tabStyle="Offer__c"> <apex:scontrol controlName="ListBtn" height="800" width="1000" subject="a06T0000001p2Q0"/> </apex:page>