Skip to main content

Create a category that you want to use to create the picker control.

 

 

 

 

Search for UMUSer in K2 Designer.

 

 

11078iE5DBAE1998EE878E.png

 

 

 

 

 

Right click the UMUser SmartObject and select Move To…

 

 

The category that you created earlier.

 

 

15242i156F576F9ED6950B.png

 

 

 

 

 

Decide what Properties you want to get back after you perform your search search.

 

 

I will use Get User method, which requires a Label as input.

 

 

13940i26813634BE09ADD5.png

 

 

 

 

 

I tested this in the Smart Object Tester Utility

 

 

I will get back FQN, Name, Description, Display Name, Email, Manager, and Object SID.

 

 

I will use Display Name as the display in this example

 

 

17011iC905521AB74BAF26.png

 

 

 

 

 

Create an Item View. I chose not to use the UMUser SmartObject as the data source, since I want to get the data to save somewhere else. (I won't show saving the data in this example)

 

 

 

 

 

Drag and drop the picker control on top of the form.

 

 

In the Properties Pane

 

 

Click on the SmartObject for the Data Source

 

 

Choose the UMUser SmartObject,

 

 

Get Users Method

 

 

Filter the properties that you want.

 

 

I choose the Name as the Identifier

 

 

And the DisplayName as the Display Propterty.

 

 

12186i5D75568488E1F3D5.png

 

 

 

 

 

 15204i0A7C3BFF4FA8592A.png

 

 

 

 

 

On the Rules tab click on When Picker is Resolving and press Edit Rule

 

 

On asynchronously populate Picker list control with data

 

 

Click (configure)

 

 

On the Label Name type in K2

 

 

15192i581A5A8F6E9A66DE.png

 

 

 

 

 

Click Finish,

 

 

Click OK,

 

 

Click Finish,

 

 

 

 

 

Run the view in a new window to test.

 

 

 

 

 

Click the Eye Glass

 

 

16713iE1D957F7067A43EC.png

 

 

Type in bob, and click the eyeglass

 

 

10698iD47F1DCEC5FBA0B2.png

 

 

Or Try typing no name at all, all the names should appear in the picker.

 

Thanks Chadg. In the article there was "UMUser"smarobject is mentioned.

 

But i am not able to find that object in my designer. do i need create the smartobject.

 

Note : I am using K2 Five designer.

 




Hi Rameshbabu,

 

You can find UMUser SmartObject in K2management->System->Management->UserManagement->SmartObjects->UMUser

 

Thanks,

Vijay


Reply