
Hello ,
I'm trying to filter on the current entity's Id to be the RegardingObjectId of the ActivityPointer entity. I tried this code :
var RecordId = parent.Xrm.Page.data.entity.getId(); var options = "$select=Subject&$filter=RegardingObjectId eq guid'" + RecordId + "'";
But this produces an error:
*This post is locked for comments
I have the same question (0)Hi SB,
I think you need to tweak the filter as described here:
RegardingObjectId/Id eq (guid'{'" + RecordId + "}')
If this helps I'd appreciate if you'd mark this as Answering your question.
Thanks,
Aiden