Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Tableau
  3. Question
Tableau

get the value from force:RecordData on Init handler

Asked by Bernadette Bond Apr 24, 2021 1.0K views 1 answer
Share

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

Your answer

1 Answer

More Tableau discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Tableau Blogs

Guides, tips and career advice on Tableau from JanBask experts.