You need to sign in to do that
Don't have an account?
Yashh
want help in Visualforce page
ill tell what is doing this scenario and what i want (please Help)
1 >So here i created Visualforce Page in that i have given some fields so when i save this its shows me on the sales order. This all i created in a standard format.
2>but right now what I want there is an upload button if data will upload then its sent to the( sales order object there is a child product object) there i want to show.
So here is My Vf code
<apex:page standardController="Opportunity" sidebar="flase" showHeader="false">
<apex:form >
<apex:pageBlock title="Sales Order">
<apex:pageBlockSection title="Information" collapsible="false" columns="1">
<apex:inputField value="{!Opportunity.Name}"/>
<apex:inputField value="{!Opportunity.CloseDate}"/>
<apex:inputField value="{!Opportunity.StageName}"/>
</apex:pageBlockSection>
<apex:pageBlockSection title="Product">
<apex:commandButton value="Upload File"/>
</apex:pageBlockSection>
<apex:pageBlockButtons location="bottom">
<apex:commandButton value="Save" action="{!save}"/>
<apex:commandButton value="Cancel" action="{!cancel}"/>
</apex:pageBlockButtons>
</apex:pageBlock>
</apex:form>
</apex:page>
1 >So here i created Visualforce Page in that i have given some fields so when i save this its shows me on the sales order. This all i created in a standard format.
2>but right now what I want there is an upload button if data will upload then its sent to the( sales order object there is a child product object) there i want to show.
So here is My Vf code
<apex:page standardController="Opportunity" sidebar="flase" showHeader="false">
<apex:form >
<apex:pageBlock title="Sales Order">
<apex:pageBlockSection title="Information" collapsible="false" columns="1">
<apex:inputField value="{!Opportunity.Name}"/>
<apex:inputField value="{!Opportunity.CloseDate}"/>
<apex:inputField value="{!Opportunity.StageName}"/>
</apex:pageBlockSection>
<apex:pageBlockSection title="Product">
<apex:commandButton value="Upload File"/>
</apex:pageBlockSection>
<apex:pageBlockButtons location="bottom">
<apex:commandButton value="Save" action="{!save}"/>
<apex:commandButton value="Cancel" action="{!cancel}"/>
</apex:pageBlockButtons>
</apex:pageBlock>
</apex:form>
</apex:page>
Please follow below example:
Apex class:-
if you need any assistanse, Please let me know!!
Kindly mark my solution as the best answer if it helps you.
Thanks
Mukesh