function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SujitMandalSujitMandal 

Inline editing for opportunity field

Hello All,

 

We are using standard opportunity details page for displaying the opportunity. But for creating and editing an opportunity we are using custom visualforce page. Hence inline editing for opportunity field (stage) no longer working. I want to achieve this functionality in standard opportunity details page. How this would be possible. Please help me in this matter.

 

Thanks

Alex

Chamil MadusankaChamil Madusanka

Try this example

 

http://salesforceworld.blogspot.com/2011/06/inline-editing-in-visualforce-page.html

 

If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.

Navatar_DbSupNavatar_DbSup

Hi,

 

If the Inline Editing is not enable for the standard page .you can enable the inline editing by following the below steps

 

Setup->Customize->User Interface->check Enable Inline Editing checkbox->click on save button

 

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved. 

SujitMandalSujitMandal

This is true for standard functionality.
In my case Create\Edit Opportunity implemented by custom visualforce page.
but the view page is standard Opportunity page

 

Create/Edit page look like something below.

 

<apex:pageBlock title="Opportunity Edit" mode="edit" id="Mypageblock">
   <apex:pageBlockButtons id="pgblkbuttons">
    <apex:commandButton action="{!save}" value="Save" styleClass="btn" />
    <apex:commandButton action="{!saveNew}" value="Save & New" styleClass="btn" />
    <apex:commandButton action="{!cancel}" value="Cancel" styleClass="btn" />
</apex:pageBlockButtons>
   <apex:pageBlockSection title="Opportunity Information" columns="2">
    <apex:repeat value="{!$ObjectType.Opportunity.FieldSets.OpportunityInformation}"
     var="field">
     <apex:inputField value="{!opportunity[field]}" />
    </apex:repeat>
   </apex:pageBlockSection>
</apex:pageBlock>