You need to sign in to do that
Don't have an account?
Alex Waddell 12
Help: Exposing VF page on Account object
Hey everyone,
I am trying to create a simple VF page that creates a Physician's Note on save.
I am having trouble exposing this VF page on the account object since the standard controller is set to Physicians_note__c
Physicians Note is a child to the Account. Below is my code.
I am trying to put the VF page on the account page using the Edit page option
Can anyone help me expose this VF page on the account page while still creating the Physician's Note when pressing save.
Thank you
I am trying to create a simple VF page that creates a Physician's Note on save.
I am having trouble exposing this VF page on the account object since the standard controller is set to Physicians_note__c
Physicians Note is a child to the Account. Below is my code.
<apex:page StandardController="Physicians_Note__c"> <apex:form > <apex:pageBlock title="Physician's Note" mode="edit"> <apex:pageBlockButtons > <apex:commandButton action="{!save}" value="Save"/> </apex:pageBlockButtons> <apex:pageBlockSection title="My Content Section" columns="2"> <apex:inputField Label="Subjective" value="{!Physicians_Note__c.Subjective__c}" style="width:500px"/> <br></br> <apex:inputField Label="Objective" value="{!Physicians_Note__c.Objective__c}" style="width:500px"/> <br></br> <apex:inputField Label="Assessment" value="{!Physicians_Note__c.Assessment__c}" style="width:500px"/> <br></br> <apex:inputField Label="Plan" value="{!Physicians_Note__c.Plan__c}" style="width:500px"/> </apex:pageBlockSection> </apex:pageBlock> </apex:form> </apex:page>
I am trying to put the VF page on the account page using the Edit page option
Can anyone help me expose this VF page on the account page while still creating the Physician's Note when pressing save.
Thank you