Client script working in workspace but not in native UI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 05:45 AM
Hi,
Requirement: Whenever state filed changes to "Closed Incomplete" , we need to capture the reason and update that in work notes.
Client script:
This script is working in workspace but not in native form.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 06:20 AM
According to this help document, it is only used for workspaces.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 06:32 AM
g_modal works only on workspace.
For native UI, you can try glidemodal. PFB link for more info.
Regards,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 06:41 AM
Hi @J Siva ,
Thanks for your reply. Could you suggest how we can achieve this functionality in both workspace and in native UI form.?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 07:27 AM
PFB article to check if the current page is native ui or workspace. Inside the respective if block you can write the core ui or workspace logics.
Regards,
Siva