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
sapthagiri_186sapthagiri_186 

Inline Edit & Save for Visualforce page layout in Professional Edition

Hi,

 

I have got Professional edition and have created a VF page(for Detailed Page) using standard controller in Leads section and have override the standard layout. Now is there a possibility to have inline edit (& Save) option available in this VF page by not writing a controller.

 

Regards

Best Answer chosen by Admin (Salesforce Developers) 
souvik9086souvik9086

Use something like this

 

<apex:commandButton value="{!$Label.Save}" id="saveButton" action="{!saving}"/>
<apex:outputField value="{!Obj.Name}" > <apex:inlineEditSupport showOnEdit="saveButton" event="ondblclick" changedStyleClass="myBoldClass" rendered="{!activeInlineEdit==true}"/> </apex:outputField>

 

If this post is helpful please throw Kudos.If this post solves your problem kindly mark it as solution.

Thanks

All Answers

MTBRiderMTBRider

There is a <apex:inlineEditSupport> tag that you can use with a number of VF components that will enable in line editing.  There is also a inlineEdit attribute for the <apex:detail> component.

souvik9086souvik9086

Use something like this

 

<apex:commandButton value="{!$Label.Save}" id="saveButton" action="{!saving}"/>
<apex:outputField value="{!Obj.Name}" > <apex:inlineEditSupport showOnEdit="saveButton" event="ondblclick" changedStyleClass="myBoldClass" rendered="{!activeInlineEdit==true}"/> </apex:outputField>

 

If this post is helpful please throw Kudos.If this post solves your problem kindly mark it as solution.

Thanks

This was selected as the best answer
sapthagiri_186sapthagiri_186
Thank you. This did work out. :)
souvik9086souvik9086

Great!! If the post helps you then throw KUDOS by clicking the Star Icon on the left. This will help other users searching for similar problems.

 

Thanks