Hello All,
I have CDT where one of the column is array. Now whenever I'm trying to read that particular fields value, Its giving me error saying "Only scalar fields can be taken from CDT". Any suggestion on how I can read that fields values? I tried by converting it into datasubset as well but getting the same error
Discussion posts and replies are publicly visible
This happens when the CDT is also an array, so its best to get a specific index in the CDT, and then index (index(), a!forEach(), etc.) the multiple attribute you want.
For example:
local!yourCDT.attribute will break, but local!yourCDT[local!someIndex].attribute will work
local!yourCDT.attribute
local!yourCDT[local!someIndex].attribute