Skip to main content
8 events
when toggle format what by license comment
Sep 27, 2021 at 7:15 comment added RubenDG @SattiRenukaSravanthi I updated the forEach, try it now.
Sep 27, 2021 at 7:15 history edited RubenDG CC BY-SA 4.0
deleted 8 characters in body
Sep 27, 2021 at 5:00 comment added Renuka Objdata Proxy {} providerLightningTable.js:4 [{"Id":"a1Q0m000001uiuREAQ","Name":"984874","Provider_Name_API__c":"Grace","NPI__c":"9876543211","FedId__c":"123456","LicenceId__c":"87654","MedicareOscarNumber__c":"12345","Service_Affiliation__r":[{"ProviderId__c":"a1Q0m000001uiuREAQ","Id":"a1R0m000000KteZEAS","Name":"SA-1732680","LOBName__c":"tres"}],"ServiceAffiliation1Name":"SA-1732680","ServiceAffiliation1LOBName":"tres"}]
Sep 26, 2021 at 19:52 comment added RubenDG @SattiRenukaSravanthi please post the output of console.log(JSON.stringify(ObjData));. About providerId you need to use it if you want to fetch only records that are children of the specific Providerentity__c. If so, replace the whole WHERE clause with WHERE Id = :ProviderId
Sep 26, 2021 at 15:05 comment added Renuka Providerentity__c is parent, serviceaffiliation__c is child,service_affiliation1__c is childrelationship name..iwant tosearch parent obj fields on search bar where I need to display data of both parent and child in datatable. Providerid__c is the lookup field on child. Is there any need to assign providerid(ProviderId: 'recordId') in the apex.if yes where and to what..Thanks
Sep 26, 2021 at 12:46 comment added RubenDG @SattiRenukaSravanthi In JS the if should be if (record.Service_Affiliation1__r && record.Service_Affiliation1__r.length) {. About where assinging providerId in apex, you should update your question explaining what is the goal of that method: would you get from that query and what is the requirement.
Sep 26, 2021 at 12:42 history edited RubenDG CC BY-SA 4.0
added 34 characters in body
Sep 25, 2021 at 9:38 history answered RubenDG CC BY-SA 4.0