You need to sign in to do that
Don't have an account?
christwin123
Rendering a Salesforce Object Page in a VF page without sidebar and header
Hi,
I need to Rendering a Salesforce Object Page in a VF page without sidebar and header.
I used the ?isdtp=vw option when I was getting that perfectly but after the winter release I am getting the page in the frame but when I click the inline buttons like "New" or an Excisting record link it is not working properly.
I also tried using the ?isdtp=mn option when I got all the options "New" etc....but the page looks shrinked and I also get some additional Blue panels at the top.
Could someone please gide me getting that correct.
Thanks in Advance,
Regards,
Christwin
Hello Christwin,
Yes it is for VF, url overriding was never considered a good practice and are not supported by salesforce.
lt- I have limited experience with this option, but as far as I can tell it's exactly the same as mn, except that it removes the section header at the top of the page as well
All Answers
Hello Christwin,
In visualforce page you can simply use <apex:page sidebar=”false” showheader=”false”> to hide sidebar and header.
Hi Vinita,
Guess that Would be to hide the sidebar and header from the VF page.....Could you guide me in displaying the Object page to be shown in the VF page without the sidebar and header like https://ap1.salesforce.com/a02/o object page....Guess need to use ?isdtp=vw something like that.
Thanks you,
Regards,
Christwin
Hello Christwin,
Yes it is for VF, url overriding was never considered a good practice and are not supported by salesforce.
lt- I have limited experience with this option, but as far as I can tell it's exactly the same as mn, except that it removes the section header at the top of the page as well
Thank you so much.
Yeah I have tried the =vw before .....It was working good but guess after the winter release ...The page is rendered but the functionalitites like "New" Record links are not working.
Could you please guide me in this.
Regards,
Christwin
As per my observation, you might have previewed your page in the context of Lightning Experience and thats the reason neither header nor the side bar is showing inspite of making 'showHeader' & sideBar "True". I order to resolve this issue you have to open the new tab and pest the below link: https://SalesforceInstance/apex/AnyNewPageName then press enter, now you will see there is no such VF page exist. Then you just need to replace the "AnyNewPageName" with your "ActualVFpageName" and then enter, you will see the header and sidebar now. Thanks. Hope it helps!!