Skip to main content

Hi ,

 

I have a people picker field that populates multiple users ; 

 

How do i get each users , populated in people picker ';' separated FQN, Email  and other details using smartform rules or expressions. and then save it in sql database 

Help much appreciated

 

Thanks in advance 

Hi naina


 


See the links below:


https://community.k2.com/t5/General/K2-smartform-peoplepicker-issue/td-p/100697


 


https://help.k2.com/onlinehelp/k2five/userguide/5.1/default.htm#Create/K2Designer/Controls/Picker/PickerControl.htm


 


Regards


Elvis


Good day  @naina;


 


Could you please drill into this article(https://simonatk2.wordpress.com/category/smartobjects/), Also attach errored screenshot you'hv met.


 


Regards;


Widson.


 


Hello,

You can use the following event:
For All items in <Your Picker control> list control

As an example, I wan to get the Display Name and the E-mail Address of the user given their FQN. For this case, I will use the UMUser GetUserDetails method.


For All items in <Your Picker control> list control
>>> On UMUser SmartObject, Execute its Get User Details Method

Under this event, you would need to use the one of the properties under the SmartObject bound to your Picker control to iterate through every FQN listed in the Picker control:



You would also need to add hidden data labels to act as placeholders for the return properties of this SmartObject call which you can then save to your own database. 

Hope this help.



 


Reply