0

I have standard Opportunity record detail page which has the standard in-line edit functionality. On my opportunity flexi-page, right side custom panel has custom component which needs to update the Opportunity Stage value. On the update from the right panel component i need to validate the required fields on opportunity for that stage. If any errors/validation then i need to initialize the standard Edit functionality. But my requirement is to initialize the In-line edit on the record page rather opening the Opportunity edit standard pop-up modal

Tried Salesforce out of box force:edit will open the Standard pop-up modal not the In-line edit

editRecord : function(component, event, helper) { var editRecordEvent = $A.get("e.force:editRecord"); editRecordEvent.setParams({ "recordId": component.get("v.contact.Id") }); editRecordEvent.fire(); }

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.