Workspace client side alternate of "g_user_date_time_format" and "g_tz_offset"
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2025 09:55 PM
I am working on Client Script for Workspace. I want to use "g_user_date_time_format" and "g_tz_offset" but these apis are not available on the workspace. Is there any client equivalent of these two?
NOTE: I don't want to use GlideAjax for now. I want to explore client side logic only to avoid any asynchronous calls.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2025 10:37 PM
I don't think you have similar properties available for workspace client script
you will have to use GlideAjax in workspace client script of your UI action
If my response helped please mark it correct and close the thread so that it benefits future readers.
Regards,
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader