UI - Action not working in workspace
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2024 08:03 AM
Hi All,
I have created a UI action on the Alert form, where it is working as expected. When I click it, it redirects to the page I need. However, when I open the same alert in the workspace, the button does not redirect to the URL and no action is been done.
this is working:
below is not working which was configured for the workspace: the message key is the field name where it has the link to redirect
function onClick(g_form) {
var redirectURL = g_form.getValue('message_key');
var win = window.open(redirectURL, '_blank');
win.focus();
Thanks & Regards
Sravani C
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2024 08:40 AM
Hi,
It seems to be due to that your UI action is server and you are trying to execute the client script just for the workspace action.