Preview record link from UIB form to Servicenow view
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2024 03:30 AM
Hello.
I am working with UI builder and I am trying to make the preview record button (circle with "i" in it) inside a UIB form redirect to the form view inside Servicenow. When I have a record in my form and the link button is enabled, clicking it redirects to a page adding "/sub" to the url and the content of the page is "The page you are looking for cannot be found".
Another thing I found as a possible solution to the problem is creating a new page with the "/record" url but that breaks the button and nothing happens when it is clicked.
I also tried creating a Client script to redirect the user to the correct external url, but I cannot seem to identify the event triggered when the preview record button is pressed. I tried editing/disabling the "Preview record request" event but it doesn't seem to be working. Maybe it is a different one?
Any help will be greatly appreciated!