- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2021 12:01 AM
Hello Community,
I make a UI action on ITIL view. and this UI action redirect to on UI page. this works fine.
But In Service Portal UI action not redirect to UI page.
So can I do this?
Thanks & Regards,
Harsha.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2021 12:12 AM
Hi,
please share your UI action code
Does it have action.setRedirectURL()
If yes then action.setRedirectURL() doesn't work in portal
check this for alternative
Workaround to use action.setRedirectURL in Portal 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
‎02-23-2021 12:12 AM
Hi,
if you are using action.setRedirectURL(url) works only in server-side UI Actions. If yours is client-side, you either need to manipulate window.location object or enhance your UI Action and make it capable of executing both client-side and server-side code.
Let me know if this helps.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2021 12:12 AM
Hi,
please share your UI action code
Does it have action.setRedirectURL()
If yes then action.setRedirectURL() doesn't work in portal
check this for alternative
Workaround to use action.setRedirectURL in Portal 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
‎02-23-2021 12:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2021 12:25 AM
Hi,
So it won't work
refer the link I shared for alternative
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader