Timeline for force:recordData not loading any data
Current License: CC BY-SA 4.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 21, 2019 at 6:37 | comment | added | Krishna N | Thank you so much. it worked. Issue is with the list of fields added as you said. | |
Aug 21, 2019 at 6:36 | vote | accept | Krishna N | ||
Aug 20, 2019 at 10:04 | comment | added | salesforce-sas | check answer in starting | |
Aug 20, 2019 at 10:03 | history | edited | salesforce-sas | CC BY-SA 4.0 |
added 292 characters in body
|
Aug 20, 2019 at 9:59 | comment | added | Krishna N | Yes. the Id is coming in the console log | |
Aug 20, 2019 at 9:59 | comment | added | salesforce-sas |
are you getting log ---- console.log("carId--"+event.getParam("car").Id); ?
|
|
Aug 20, 2019 at 9:58 | comment | added | Krishna N | My concern is, somewhere it is messing up here I guess. as the v.car is Null <force:recordData aura:id="service" recordId="{!v.Id}" mode="VIEW" targetFields="{!v.car}" targetError="{!v.recordError}" recordUpdated="{!c.onRecordUpdated}" fields="Id, Name, Mileage__c, Per_Day_Rent__c, Build_Year__c, Contact__r.Name, Contact__r.Email, Contact__r.HomePhone__c, Car_Type__r.Name, Picture__c" /> | |
Aug 20, 2019 at 9:57 | comment | added | Krishna N | Tried moving the aura:if to inside the lightning:tab still same. | |
Aug 20, 2019 at 9:47 | comment | added | Krishna N | There is no error comping up. From the attached screenshot above, when I add not(empty(v.car)) instead of empty(v.car), then I'm not seeing anything from there as v.car is becoming empty. | |
Aug 20, 2019 at 9:29 | comment | added | salesforce-sas | added in answer. So, the error is gone now? | |
Aug 20, 2019 at 9:28 | history | edited | salesforce-sas | CC BY-SA 4.0 |
added 435 characters in body
|
Aug 20, 2019 at 9:22 | comment | added | Krishna N | Hi Thanks for ur reply. when I set it to not(empty(v.car)) the entire section is not coming up as that is null. so for time being i had it like that. | |
Aug 20, 2019 at 9:00 | history | answered | salesforce-sas | CC BY-SA 4.0 |