Hi
I’ve got two dynamic pages which links to a dataset that has reference links.
On one page it allows me to get the data from the reference link but the other which is pretty much identical it doesn’t.
It’s a simple column setup on both pages:
“id”: “colGifter”,
“dataPath”: “gifter.gifter”,
“label”: “From”,
“type”: “string”,
One page it works and the next it doesn’t (both to the same datasets).
After playing around, I found that if I change to the column set up to be:
“id”: “colGifter”,
“dataPath”: “gifter”, <==== changed to just the key field, not a field within the reference link.
“label”: “From”,
“type”: “string”,
On the one that works I get [object Object] on the one that doesn’t work I just get the ID number of the key field.
Essentially, does anyone know what determines if a datapath will return an object vs just the ID?
I’ve spent ages trying to find differences between the two pages but no luck.
Thanks in advance
Will