Display user details when SmartForm Initialize

  • 12 November 2013
  • 3 replies
  • 0 views

Badge +1

Hi,


I need to display the user details when the SmartForm initializes. The following details needs to be loaded.


1. Company


2. Contact Name


3. Phone


4. Email


Is there any Out Of Box option available in K2 to implement this.


Regards,
Thileeban.C


3 replies

Badge +5

Hi,


You can make use of the "AD User" SmartObject under "AD Service2" Service Type. When the form initialise, call on the SmartObject method "GetUserDetails" and pass in the current logon user name to the "Name" property.


 


JK

Badge +1

Hi JK,


I am having the SmartForms(1.0.1) version. The "AD User" SmartObject is not getting listed, while trying to configure the SmartObject in the rule.


Regards,


Thileeban.C

Badge +5

Hi Thileeban.C,


The SmartObject is available in K2 blackpearl, not the smartforms. Please look at the following link on how to configure the service instance.


http://help.k2.com/helppages/k2blackpearlUserGuide4.6.6/webframe.html#AD02.html


 


Good luck!


JK

Reply