Display text box defauly value as logged username/email id

120 views
Skip to first unread message

bestfri...@gmail.com

unread,
Aug 14, 2013, 11:36:10 AM8/14/13
to suppor...@runmyprocess.com
Hi ,

Is it possible to display Username textbox with logged user name/email id by default?

Gareth Thiveux

unread,
Aug 14, 2013, 11:45:23 AM8/14/13
to suppor...@runmyprocess.com
Hi,

Create your Username text input with id_username as it's ID.
Then create an hidden JS widget and put the following code :
var connected_user = ${P_connected_user.login};
id_username.setValue(connected_user);

Use ${P_connected_user.name} if you want the name instead of the email.


Regards,

Pre-Sales Consultant / Consultant Avant-Vente
 Fujitsu RunMyProcess
22 rue Chauchat, 75009 Paris - France (GMT+1)

     


Fujitsu RunMyProcess user? Please add a review on GoogleApps Marketplace

Afin de contribuer au respect de l'environnement, merci de n'imprimer ce message qu'en cas de nécessité.
Be environmentally friendly: do not print this email unless it is entirely necessary.


Hi ,

Is it possible to display Username textbox with logged user name/email id by default?



--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "RunMyProcess Support Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at http://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/70154e83-dce8-4c1e-a673-a5271cbc5e37%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/groups/opt_out.

bestfri...@gmail.com

unread,
Aug 14, 2013, 12:10:38 PM8/14/13
to suppor...@runmyprocess.com, bestfri...@gmail.com
On Wednesday, August 14, 2013 11:36:10 AM UTC-4, bestfri...@gmail.com wrote:
> Hi ,
>
> Is it possible to display Username textbox with logged user name/email id by default?

Hi Gareth,

I created but it failed to display the logged in user and it is displaying all the user details in the drop down.


Thanks and Regards
Nagasai

bestfri...@gmail.com

unread,
Aug 14, 2013, 12:15:55 PM8/14/13
to suppor...@runmyprocess.com, bestfri...@gmail.com

Please find screenshots of the settings

form.PNG
JS.PNG

Gareth Thiveux

unread,
Aug 14, 2013, 12:18:06 PM8/14/13
to suppor...@runmyprocess.com, Nagasai aytha
Hi,

As it's a list and not a text input you have to use id_username.setSelectedValue instead of id_username.setValue


Regards,

Pre-Sales Consultant / Consultant Avant-Vente
 Fujitsu RunMyProcess
22 rue Chauchat, 75009 Paris - France (GMT+1)

     


Fujitsu RunMyProcess user? Please add a review on GoogleApps Marketplace

Afin de contribuer au respect de l'environnement, merci de n'imprimer ce message qu'en cas de nécessité.
Be environmentally friendly: do not print this email unless it is entirely necessary.


2013/8/14 <bestfri...@gmail.com>
On Wednesday, August 14, 2013 12:10:38 PM UTC-4, bestfri...@gmail.com wrote:
--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "RunMyProcess Support Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at http://groups.google.com/a/runmyprocess.com/group/supportforum/.

bestfri...@gmail.com

unread,
Aug 14, 2013, 12:41:09 PM8/14/13
to suppor...@runmyprocess.com, Nagasai aytha
On Wednesday, August 14, 2013 12:18:06 PM UTC-4, Gareth Thiveux wrote:
> Hi,
>
>
> As it's a list and not a text input you have to use id_username.setSelectedValue instead of id_username.setValue
>
>
>
>
>
>
> Regards,
>
>
>
>
> Gareth THIVEUX
>
>
>
> Pre-Sales Consultant / Consultant Avant-Vente
>
>
>  Fujitsu RunMyProcess
>
>
> 22 rue Chauchat, 75009 Paris - France (GMT+1)
>
>
> website : Fujitsu RunMyProcess
>
>
>
>
>
>
>      
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Fujitsu RunMyProcess user? Please add a review on GoogleApps Marketplace
>
>
>
>
>
>
>
> Afin de contribuer au respect de l'environnement, merci de n'imprimer ce message qu'en cas de nécessité.
>
>
> Be environmentally friendly: do not print this email unless it is entirely necessary.
>
>
>
>
>
>
>
> 2013/8/14 <bestfri...@gmail.com>
>
>
>
> On Wednesday, August 14, 2013 12:10:38 PM UTC-4, bestfri...@gmail.com wrote:
>
> > On Wednesday, August 14, 2013 11:36:10 AM UTC-4, bestfri...@gmail.com wrote:
>
> > > Hi ,
>
> > >
>
> > > Is it possible to display Username textbox with logged user name/email id by default?
>
> >
>
> > Hi Gareth,
>
> >
>
> > I created but it failed to display the logged in user and it is displaying all the user details in the drop down.
>
> >
>
> >
>
> > Thanks and Regards
>
> > Nagasai
>
>
>
> Please find screenshots of the settings
>
>
>
>
> --
>
> Fujitsu - RunMyProcess
>
> ---
>
> You received this message because you are subscribed to the Google Groups "RunMyProcess Support Forum" group.
>
> To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
>
> To post to this group, send email to suppor...@runmyprocess.com.
>
> Visit this group at http://groups.google.com/a/runmyprocess.com/group/supportforum/.
>
> To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/187321ea-cf21-4d4d-81cd-52773b63b95a%40runmyprocess.com.
>
>
>
>
>
> For more options, visit https://groups.google.com/a/runmyprocess.com/groups/opt_out.

No Luck Gareth :( ... I tried the above scenarios, with both text box and drop down, still it is failing.

Gareth Thiveux

unread,
Aug 14, 2013, 12:43:35 PM8/14/13
to suppor...@runmyprocess.com, Nagasai aytha
Hi,

Other solution is to put directly ${P_connected_user.login} as the default value of your field.
That should work.


Regards,

Pre-Sales Consultant / Consultant Avant-Vente
 Fujitsu RunMyProcess
22 rue Chauchat, 75009 Paris - France (GMT+1)

     

bestfri...@gmail.com

unread,
Aug 14, 2013, 1:12:27 PM8/14/13
to suppor...@runmyprocess.com, Nagasai aytha
On Wednesday, August 14, 2013 12:43:35 PM UTC-4, Gareth Thiveux wrote:
> Hi,
>
>
> Other solution is to put directly ${P_connected_user.login} as the default value of your field.
> That should work.
>
>
>
>
> Regards,
>
>
>
>
>
>
> Gareth THIVEUX
>
>
>
> Pre-Sales Consultant / Consultant Avant-Vente
>
>
Thanks alot Gareth for your help....It works great!!!
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages