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
deep12usdeep12us 

How to disable sidebar ina standard salesforce page

The standard salesforce page is in a Iframe. I want no sidebar to be shown on the page with recent items. I tried disabling the option from user interface in setup, but didn't work. Is there anyway or code to do that.

Ankit AroraAnkit Arora

I am not sure if you are talking about a custom VF page displaying in an IFram? If it is a custom VFP then you can just add 

 

 

<apex:page sidebar="false">

in your page. It will hide the sidebar on your page. Hope this will help.

 

Thanks

Ankit Arora

Blog | Facebook | Blog Page