You need to sign in to do that
Don't have an account?

Flattening custom Metadata to get relationship field name in lightning DataTables
I'm using a datatable in a lightning (aura) component. Since the columns don't allow for notation to get the relationship_field__r.QualifiedApiName I am trying to flatten the data the way you would with a lookup field on an object (as referenced here: https://salesforce.stackexchange.com/questions/200761/parent-field-in-lightning-datatable)
However it is not working and my column is still displaying blank.
Has anyone had success with a similar requirement displaying custom metadata relationship field names in a datatable?
I implementated the aura component with flattening Custom metadata. Please refer the following code which worked for me.
Aura Component: JS Function: Apex Controller:
Hope this helps you
If this helps kindly mark it as solved so that it may help others in future.
Thanks and Regards
All Answers
I implementated the aura component with flattening Custom metadata. Please refer the following code which worked for me.
Aura Component: JS Function: Apex Controller:
Hope this helps you
If this helps kindly mark it as solved so that it may help others in future.
Thanks and Regards
Thanks for your help. All those comments and I think I was just having a caching issue ("shrug"). It is working fine now.