1

How to resixe the inline visualforce page in the pagelayout. Is there any ap exchange products or any code that I can do this ?

2
  • Are you talking about VF pages, which you use in standard layout? There is an option for height and width. Commented Mar 10, 2016 at 17:22
  • Also vote here.
    – Adrian Larson
    Commented Mar 10, 2016 at 17:40

1 Answer 1

3

You can set the size of visual-force page from the page layout but it will be static height and will not change according to the content of the VF page(You can enable scroll bars as well).

For setting the height, click on the wrench icon you see on the VF page block in the standard page layout editor and set the height in pixels.

If you want the height to change based on the content, you will run in cross domain issues as VF pages and Standard layouts are served from different domain. However if you still want to go into it, you may have a look at this question.

1
  • 1
    Eh, used to be possible via Post Messaging but they disabled sidebar hacks so you can no longer add a listener to the parent window.
    – Adrian Larson
    Commented Mar 10, 2016 at 17:33

Not the answer you're looking for? Browse other questions tagged .