You need to sign in to do that
Don't have an account?
Visualforce Page in Standard Page Layout
I have a standatrd page layout with a visualforce page placed in a section. The page renders fine when I am in "View Detail" mode. I have 2 issues
1: When I click "Edit" the embedded visual force page does not render, it disappears. Is this supposed to happen?
2: When in view mode for the page the embedded vf page is in "edit". is there a way to have the embedded vf page follow the view / edit modes?
here is my vf page info:
<apex:page standardController="Account">
<apex:form>
<apex:pageBlock>
<apex:pageBlockSection>
<apex:inputField value="{!account.ShippingStreet}"/>
<apex:inputField value="{!account.BillingStreet}"/>
<apex:inputField value="{!account.ShippingCity}"/>
<apex:inputField value="{!account.BillingCity}"/>
<apex:inputField value="{!account.ShippingState}"/>
<apex:inputField value="{!account.BillingState}"/>
<apex:inputField value="{!account.ShippingPostalCode}"/>
<apex:inputField value="{!account.BillingPostalCode}"/>
<apex:inputField value="{!account.Shipping_Country__c}"/>
<apex:inputField value="{!account.Billing_Country__c}"/>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:form>
</apex:page>
Thanks for your help.
Right, Visualforce doesn't appear on edit pages - however you can override view and edit with your own Visualforce - and that might get you the functionality you're looking for ...
Look under Buttons And Links on the object to setup the overrides.