Any other way to user dynamic url in Mobile web screen in Now Mobile

mukul Kaushal
Tera Contributor

I found this way to add dynamic url to get the data of current logged in user in now mobile web screen.

Retrieve Logged-In User Details Using Dynamic URLs in ServiceNow

1. We can use dynamic JavaScript expressions in supported URL parameters to retrieve details of the currently logged-in user.
This is useful when configuring custom links, Record Producers, Employee Center, Service Portal, and Now Mobile navigation.

2. Common GlideSystem Methods JavaScript Description javascript:gs.getUserID() Logged-in user's sys_id

3. Example: Now Mobile Custom URL To open the Employee Profile page for the currently logged-in user: https://instance.service-now.com/esc_new?id=hri_user_profile&sys_id=javascript:gs.getUserID()

#snow #servicenow #nowmobile #mobile #mobile Getting Started With Now Mobile @Servicenow 

0 REPLIES 0