Add Link to another catalog item
This content was last updated in 2020. It may still be useful, but could contain outdated information. Please confirm its accuracy before relying on it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-05-2020 11:52 AM
I've seen several posts on this but nothing that made sense or was accurately answered recently. I want to add a link to another catalog item if a certain selection is chosen. i have a request form for software, if a certain software is selected then I want a link to appear to another catalog item to submit a separate request. This seems to not be an easy thing which is very surprising since you can add it to the description.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-06-2020 10:27 AM
Hi,
Sorry that you're having trouble.
Can you try the full url, perhaps with your whole instance in it?
I've tried again with full instance URL and it works. So that should do it for you.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-01-2020 06:20 PM
Hi,
I just wanted to check in on this. If my reply helped guide you correctly, please mark it as Helpful & Correct.
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-05-2020 12:21 PM
Yes, as it involves anglar. You have an option of submission of request from backend as well?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-06-2020 10:25 AM
Yes, I need to have the option to submit from the backend as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-05-2020 12:22 PM
Configure below kind of onchange client script on your variable to show catalog item link
function onChange(control, oldValue, newValue, isLoading) {
if (isLoading || newValue == '') {
return;
}
if (g_form.getValue('req_for') == '62826bf03710200044e0bfc8bcbe5df1') {
g_form.addInfoMessage("Please click on <a href = '/com.glideapp.servicecatalog_cat_item_view.do?v=1&sysparm_id=ce8e4fb0db672b008d73771c8c961902'>Click</a>");
}
//Type appropriate comment here, and begin script below