Skip to main content

I query K2's "Activity Instance Destination" object to get audit trail of a process. I want to make a call to AD service to get a display name for each user who has actioned the request. I am using a service that needs username without domain name so in an expression I am stripping out K2:DomainName and passing value to AD service to get username. Call to the service works OK as I can display value in a message box. 

 

How do I get that value to display in listview ?

 

I have tried building a separate listview with transfer data action but second view does not display any data. Is there a way to display data in either list view for approver name field. 

 

10680iC487DD9FB1AC7BC5.jpgThank You

Have you tried using the lookup control?


 


You are displayinng the user's ID but want that translated into a more user friendly display name, correct?

In that case, consider using the list display control.  If can look up an ID from one source and display a value from another SmartObject.  You create an association between the two SmartObjects and the list display converts the value automatically.

BUT:  AD can be much slower than a database, so each lookup may slow the UI.  You might consider rather than looking up this value from AD using the built-in UMUser SmartObject.  It users cached user data so it is much faster than going to AD.  I have never used it with the list display control and it requires an extra parameter of the User Manager (K2 for AD) so you will have to investigate how to configure that.

 

David


Reply