When I use StratusFormsAddUserToPeoplePicker(<email address>) to add someone to a peoplepicker and then get it back using StratusFormsGetPeopleFromPeoplePicker(<id>) I get results that look like this:
When I use the UI to enter a user and select it and then get it back using StratusFormsGetPeopleFromPeoplePicker(<id>) I get results that look like this:
Note crucially the differing values in AutoFill* fields so those cannot be depended on and, most crucially, the absence of an EntityData object and the Key value when added via StratusFormsAddUserToPeoplePicker().
I am guessing that this works with StratusForms (i.e., a person added programmatically via StratusFormsAddUserToPeoplePicker() presumably gets updated when the form is saved) but it sure would be nice if this function could be used in a more generic sense. I am doing more than just setting and saving the value (I need to pass it elsewhere) and I'm coming up short on usable values in the object.
When I use
StratusFormsAddUserToPeoplePicker(<email address>)
to add someone to a peoplepicker and then get it back usingStratusFormsGetPeopleFromPeoplePicker(<id>)
I get results that look like this:When I use the UI to enter a user and select it and then get it back using
StratusFormsGetPeopleFromPeoplePicker(<id>)
I get results that look like this:Note crucially the differing values in
AutoFill*
fields so those cannot be depended on and, most crucially, the absence of anEntityData
object and theKey
value when added viaStratusFormsAddUserToPeoplePicker()
.I am guessing that this works with StratusForms (i.e., a person added programmatically via
StratusFormsAddUserToPeoplePicker()
presumably gets updated when the form is saved) but it sure would be nice if this function could be used in a more generic sense. I am doing more than just setting and saving the value (I need to pass it elsewhere) and I'm coming up short on usable values in the object.