- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-05-2016 06:52 AM
Hi all
Is it possible from a UI Macro to call a Ui Action ?
There is some code on the instance here which does a few bits and loads from a UI Page and works well
However, I may want to call this routine from elsewhere (on the CMS) and that it is all Ui Macro driven
My initial attempts are not working and I am not sure if it is possible, a code issue or the click not being registered
Cheers
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-05-2016 10:10 AM
An interesting one to try out.
I created a UI action on incident table and then invoke it through UI Macro by bringing it in the Incident form as UI formatter.
UI Action:
UI Macro:
UI Formatter:
Now as a result of it, When I open any incident form it opens "www.servicenow.com" on a new page. Basically UI Macro is calling a UI action.
Hope this help!
-Manjul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2018 02:28 PM
ple help in these
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-20-2021 03:27 AM
Good Morning,
Your problem is on line 3 at the end of <script type = "text/javascript"/>, you have an extra "/" which is closing the script tag. Remove "/" after javascript and the error should disappear.
Kind Regards
Ashley