Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > User Selector ID Transforms View modes: 
User avatar
Member
Member
Mercer - 5/26/2010 10:25:02 PM
   
User Selector ID Transforms
I have created a document type and added a field with the Type User Selector. When I add a new document, I can select from an existing user and it stores the User Id. How can I display the selected user name and email address in a transform instead of just displaying the user id?


User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 6/1/2010 4:42:46 AM
   
RE:User Selector ID Transforms
Hello,

Since you are able to obtain the UserID in the transformation, you can develop custom function: http://devnet.kentico.com/docs/devguide/adding_custom_functions_to_transformations.htm, which will have this UserID as a parameter. Inside this function you will use our API to retrieve particular user data: http://devnet.kentico.com/docs/devguide/security_internals_overview.htm

Best regards
Ondrej Vasil

User avatar
Member
Member
Mercer - 6/1/2010 6:37:06 PM
   
RE:User Selector ID Transforms
That should work. Thank you.