- 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-21-2018 04:49 PM
If you are using Service portal, the client UI actions wont be visible.
Which widget are you using to display the form? If you want a button that takes you to another page, you would need to modify the widget to add a button in HTML and then a onclick function in client controller.
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 05:12 PM

- 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-21-2018 05:24 PM
I figured it out. I added openWindow() onclick and that worked

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2018 05:28 PM
Glad it worked :). Can you mark this thread closed and mark my response correct if it answered your question.
Please mark this response as correct or helpful if it assisted you with your question.