- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2019 03:26 AM
Question on UI action -:
I have created a Delete UI action(form) custom on an specific table same as out of box Global UI action Delete.But the custom UI action is not working and it is not deleting the record.
We have used same script as global UI action script in custom UI action.
And I tried same thing on multiple service now instances but it is giving same error as attached on all instances.
Anyone can help me.
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2019 07:26 AM
We are getting error due to script is able not access window object.
Resolution -: There is a check box called 'Isolate Script' on Ui action table, we need to mark it false in order to use the window object, london onwards.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2019 03:51 AM
Hi Shubham,
Why to create custom delete UI action and not use out of box one?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2019 04:33 AM
Hi Ankur,
Q. Why to create custom delete UI action and not use out of box one? -
A. I have to show that Ui action only on some specific table and for some specific user.
So I created custom UI action on table specific and provide condition for users in condition fields.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2019 04:41 AM
Hi Shubham,
Can you share the script of that UI action?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2019 06:09 AM
Hi Ankur,
No worry, It is resolved now.
Thanks.