Adding a multipleObjectPicker scoped to Domain User or Group isn't working properly
I'm trying to add a multipleObjectPicker to ChangeRequest.js. I have multipleObjectPickers already for Organization, Location, and Hardware Asset classes - each scoped accordingly and fully functional.
My new Domain User or Group multipleObjectPicker scopes to the class for adding, but after clicking Add and Save, the item isn't listed/displayed on the form. If I set Scoped = false, I'm able to see the item (along with all other related items).
Has anyone else successfully add a similar multipleObjectPicker? Here is my code snippet if anyone else wants to try and let me know if it works in their environment.
Best Answer
-
Aaron_Boock Customer Advanced IT Monkey ✭✭✭I switched to a different classId. I assume Domain User or Group is a more complicated class.{name: "Implementers",type: "multipleObjectPicker",PropertyName: "RelatesToConfigItem",ClassId: "10a7f898-e672-ccf3-8881-360bfb6a8f9a",PropertyToDisplay: {DisplayName: "Display Name", Department: "Department", UserName: "Network ID"},Scoped: true}0
Answers