- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2018 01:13 PM
I'm trying to set up an incident to allow users to redirect to a specific catalog item based on the category selected.
It seems the URL I try to use is not accepted. Redirects me to basically a blank page.
Below is the page I'm trying to redirect to
This is the script for the UI Action Create Service Requests which is based off of the Create Request UI Action. Line 6 is the actual page I want to redirect to.
In addition, would current.description = current.variables.descr work to copy the information entered into the Incident table into this description variable?
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2018 05:24 PM
set the onClick field to openWindow();
Remove line 1 to 6 and only keep the function.
Remove the condition just for testing
Please mark this response as correct or helpful if it assisted you with your question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2018 01:15 PM
You should make this UI action Client UI action and use window.open(urlnew) instead
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2018 02:09 PM
Client UI Action?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2018 02:24 PM
Check the Client check box in the UI action and use client script instead of server script
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2018 04:31 PM
Scripting is not a strong point for me. If I check the Client script box as part of the UI Action, it disables the UI Action button.
I've tried different ways to use the window.open() without success. Would I have other options to build?