About this question
Is there a way we can get the value from force:RecordData on init ? I am getting the onclick event of a button.
JS:
doInit: function(component, event, helper) { var opp = component.get("v.parentOpp"); console.log('Name Value: '+ opp.Name); }Error:
Action failed: c:createIWSRecord$controller$doInit [Cannot read property 'Name' of null] quickActionHandlerHelper.js failed to create component - forceChatter:lightningComponent