Page 1 of 1

Can we pass User Name & other User related information to Custom App URL ?

Posted: 27 Mar 2019, 16:47
by macrotech
Hello,
We would like to pass User Name and Room Number etc to custom app url in Query string as a parameter so please let me know how can do same ?

Thanx in Advance,
VIP

Re: Can we pass User Name & other User related information to Custom App URL ?

Posted: 27 Mar 2019, 17:37
by HSNMSupport
Hi Vipul
I am sorry but what you need ad the moment is not possible; it will be feasable if the custom APP will be shown only when the user is logged in.
If this could be usefull for you, please let me know and I'll forward your request to our developers in order to add your request to the wish list.

Thanks

Best regards

Re: Can we pass User Name & other User related information to Custom App URL ?

Posted: 28 Mar 2019, 18:50
by macrotech
Hello, Thanx for your reply.. Yes you are correct this requirement is for Custom App and After Login we want to pass String Parameter in Custom app URL..

Regards,
Vipul
Hello,
We would like to pass User Name and Room Number etc to custom app url in Query string as a parameter so please let me know how can do same ?

Thanx in Advance,
VIP

Re: Can we pass User Name & other User related information to Custom App URL ?

Posted: 28 Mar 2019, 18:52
by macrotech
Yes we want to Pass Parameter after login .. so please let me know how can we do that..

Regards,
Vipul

Re: Can we pass User Name & other User related information to Custom App URL ?

Posted: 29 Mar 2019, 11:16
by HSNMSupport
Hi Vipul,

in the custom JavaScript of your custom App, the %UserName% can be used.
Once your custom JavaScript has the UserName variable you can use it in order to get all the user's data through an API call.

Your custom JavaScript, with the %UserName% variable, calls your external page (php, C#, whatever) who performs the API call (getuserdatabyusername) to the HSNM which returns all user's data to your custom JavaScript.

Hope to have helped you,

Best Regards.