Hi everyone,
I'm having above error message after using a!todatasubset(), my code is as below:
local!pagingInfo: a!pagingInfo( 1, 1, a!sortInfo( field: local!emailsRelatedToCase.id, ascending: false ) ), local!datasubset: todatasubset(local!emailsRelatedToCase,local!pagingInfo ),
within that, local!emailsRelatedToCase stores data queried from a database to get email IDs and relatedCaseId, sentFrom, sentTo, dateTime for each email.
Did anyone see this error before?
Thanks a lot,
Discussion posts and replies are publicly visible
Your sortinfo is wrong. The field must either be the name of the field or the record field reference.
Thanks! Is it possible for me to sort the data in a local variable?
in sort configuration, use your filed name( like id, caseId) instead "local!emailsRelatedToCase.id"