
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2022 10:39 AM
Using AES I created a NEW workspace experience on an OLD Application in our system. I'm leveraging the UI lists to display the requests from the OLD app and adding a UI Action to open the Service Portal for the existing application.
Referencing Ashley's blog, I decided to try a simple UI Action of opening google.com
https://www.ashleysn.com/post/workspace-ui-actions
function onClick(g_form) {
g_modal.showFrame({
url: 'https://www.google.com',
title: 'Google',
size: 'lg',
height: 500
});
}
I'm able to get the UI Action to show up on the request record. When I click on the button it doesn't do anything that I can see.
Any thoughts on why the UI Action doesn't fire? Or how I can validate?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-04-2022 08:27 AM
As already posted on this Question you have to set the client flag on the UI Action to true in order to get it working. Not as obvious as it may sound ^^

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-04-2022 08:14 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-04-2022 08:21 AM
This to Martin in the thread https://community.servicenow.com/community?id=community_question&sys_id=3bf4ccbfdb5e1010fb115583ca961903&view_source=searchResult. His comment there helped resolve me issue.
"So for anyone who has the issue that g_modal doesn't open, you have to set the client flag to true on the ui action for it to work. That took me a while to figure that out ^^"

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-04-2022 08:27 AM
As already posted on this Question you have to set the client flag on the UI Action to true in order to get it working. Not as obvious as it may sound ^^