You need to sign in to do that
Don't have an account?

Visualforce page in standard page layout
Hi,
I have one requirement.
I have embeded a VF page in standard Lead page layout .I have set the height of the page as 200 pixels.
The page is having a command button and when we click on the button a form will display in the VF page section.This functionality has been already implemented.The issue is that since the button height is only 30 pixel ,while loading the page is allocating 200 pixels for the VF page even though only a small button is displaying.
Is there any way to collapse this section while initially loading the page?
Please let me know if you need any more details.
The height of sections in the page layout is fixed so there's no way to have the size of that section change based on what's in it. What I've done for similar requirements is have a link or button which opens that VF page as a standalone, with another link back to the standard page layout when it's open in full screen mode.
All Answers
The height of sections in the page layout is fixed so there's no way to have the size of that section change based on what's in it. What I've done for similar requirements is have a link or button which opens that VF page as a standalone, with another link back to the standard page layout when it's open in full screen mode.
Thanks