is there an easy way with k2 to show user's current spcontext id,name on submitterview ?
Which approach should i use,thanks
is there an easy way with k2 to show user's current spcontext id,name on submitterview ?
Which approach should i use,thanks
By using K2 process fields in Server code you able retreive Currently logged in user or you can use .Net code to populate currently logged in user.
Thanks madhann.
I'm using web based infopath forms.So i think .net code won't help in my situation.
I want to call a web service to get user's detailed info (sending loggedin user and getting his age for example).
I want to show that info on submitter view,when submitter opens the form,he/she will see his/her age,mail,sex,etc...
How can i manage this? We drag and drop submitter view to start event at infopath template based process. Is it possible to call reference event before using submitterview event on process start ?
Thanks
Hi Erdemtomus,
You can use the out of the box SP web service "UserProfileService" and add it as a secondary datasource on your InfoPath forms.
The method that will return the data youn need is GetUserProfileByName.
Here is a good article on the subject:
Regards,
Brian
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.