Activity Forums Salesforce® Discussions Automatically resize Inline visualforce components on a standard salesforce visualforce pagelayout? Reply To: Automatically resize Inline visualforce components on a standard salesforce visualforce pagelayout?

  • sushant

    Member
    January 31, 2017 at 1:54 pm

    Hi Tanu,

    I don't believe there is, from what I recall I've always had to set a static height. Unfortunately the standard page layout and the Visualforce get served up from different domains, so you can't do any cross site scripting to access the Visualforce page's parent and resize the iframe.

    The alternative is using a custom VF page to replace the Standard Page Layout (using apex:detail) and appending your Visualforce customizations to the bottom

    Thanks