Inside our remote event receivers we query the list item fields, using these 2 methods:-
Or querying the list using CAML query.
now in the first approach the data returned will always be of type string (not strongly typed). for example we have a People or Group field named ScoreUsers which allow multiple selections, and inside the
ItemEventProperties.AfterProperties the users will be returned as a string, as follow:-
while if we query the list item using CAML or using GetItemByID, then the ScoreUsers will be of type
FieldUserValue() , as follow:-
so can we force the
ItemEventProperties.AfterProperties to return strongly typed data?