UI action client script not working in SIR workspace, but working fine in native UI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2025 12:33 AM
UI action client script not working in SIR workspace, but working fine in native UI.
I have created the declarative action on the related list to make the UI action visible, but when clicking on it it is not working
Here is the script:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2025 02:11 AM
Hi @Ankur Bawiskar ,
I have a Ui action called "Create Reimage incident" on the related list to create incident by selecting the configuration item (CI's Affected table) as below.
Ui action and script:
script include which is called in UI action:
For this to be available on the Workspace related list i have created declarative action assignment as below and calling the same script which is there in ui action as well in declarative action assignment client script, which is making the Ui action visible in the related list, but when clicking on that getting error in the browser console as "SCRIPT:EXEC Error while running Client Script "GlideScopedScript": TypeError: g_form.getChecked is not a function"
Declarative Action assignment:
workspace Ui action visibility:
could you please help me know why this error is coming, when it is working fine in Native UI and not working in workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 01:24 AM
Hi @Ankur Bawiskar @Community Alums @Amarjeet Pal ,
Can some help me in fixing the above issue which i have mentioned in the previous reply.
Best Regards
Abdul Aamer