You need to sign in to do that
Don't have an account?
SubashKumar
Hiding VF page in standard page
Hi,
I have embedded a VF page in account detail page layout. All Account detail page should show the VF page. How ever each user should have the ability to turn on or turn off the VF page. This property will be controlled by a flag in User object. No separate profile will be assigned to show the VF page.
I though that using javascript, I can set the height of the iframe which renders the VF page. If I set the height this can be achieved. How ever There is permission error as there domains are different.
Can any one suggest any idea to achieve this?
Thanks,
Subash.
create a Narrow HTML component,
add this HTML in Home page component
This is just trick to achieve your business need.
above code will hide this section from home page :) too
So User will not experiance any UI change
Hope this will help you
Cheers,
Bala
If you want to hide the visual force page on the basis of profile then in this you can invoke the page property 'rendered'.
Try out the sample code given below :
<apex:page rendered="{!if($Profile.Name != 'System Administrator',$Page.testconfirm,URLFOR($Action.Account.Tab, $ObjectType.Account,null,true))}">
Hope this helps.