how can i make the ui action navigate to a particular page in a table using url
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-13-2022 10:13 AM
i have a ui action and once the user clicks on the ui action i want it to navigate to a particular page having options.
Currently i am using the script as below but i wish to replace the sys_id of the record from the url and dynamically without sys_id i want the ui action to take me to that particular page.
var url2 = 'wizard.do?sys_target=&sysparm_wizard=sysverb_new&sysparm_parent=' + gs.getProperty('SysID') + '&sysparm_stack=change_request_list.do';
action.setRedirectURL(url2);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-13-2022 10:19 AM
You should be able to replace gs.getProperty('SysID') with current.sys_id
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-13-2022 10:21 AM
i tried but it does return a blank page as it is not taking me to the correct page.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-13-2022 10:29 AM
Can you post a screenshot of your UI action?
And also a screenshot of the page that you're trying to redirect to (include the URL in the screenshot, you can blur out your instanceName)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-13-2022 10:33 AM - edited ‎12-13-2022 10:52 AM
i want to navigate to an interceptor which is a part of the sys_wizard table .