Reply To: getFieldValue for lookups

Forums Classic DFFS getFieldValue for lookups Reply To: getFieldValue for lookups

#24301
Leonid
Participant

Right, Alex, just a regular Lookup field named “Groups”, with enabled multi-value selection.
The field is a lookup to another list. I’d like to pull not just selected values from the source list, but also selected items’ IDs.

getFieldValue("Groups")

only returns Values.
Wondering if there is a DFFS function to get value pairs or IDs.
I understand that if nothing else, I can run

spjs.utility.queryItems()

passing selected Values in CAML, but that seems too cumbersome just to get IDs.
Please advise.

Attachments: