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

New Standard Button is not working



I am calling a salesforce standard page in a iframe, That means I am calling a standard salesforce page in a VF page by using iframe. I am able to hide the header and side bar of standard page, But when I am clicking on New standard button .It is not working . Do you know how will do it?


<iframe height="500px" id="theIframe" name="theIframe" src="" width="100%" scrolling="false" frameborder = "true"/>


Please help me


use this you will get new functionality

<iframe height="500px" id="theIframe" name="theIframe" src="" width="100%" scrolling="true" frameborder = "true"/>

my suggestion is If you use the apex:detail component, you will get the all functionality.

I appreciate your answer and I have already tried that, But that gives salesforce old look and feel. 

I understand by using <apex:detail> we can disply detail page record of particular object. I want to display home page of particular object without header and sidebar. is there any component you know for this?


Hi Thanks for ur appreciation,



The <apex:detail> is for already created record. You can edit the already existing record in the <apex:detail> tag using inlineEdit attribute. But in your case create a new record, so you should create a new vfpage and overrise it on new button (button & links).





Chamil MadusankaChamil Madusanka
This code works. try this

page >
<iframe height="500px" id="theIframe" name="theIframe" src="/001/o?isdtp=mn" width="100%" scrolling="false" frameborder = "true"/>