- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2020 07:12 AM
Hi,
Please navigate to <registration link> for completing the process.
In that registration link i want to give the other catalog form.
How to link a catalog item to another catalog item?
Solved! Go to Solution.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2020 07:41 AM
You can create a ui macro for this in the platform, and a widget for the service portal. The link will depend on which view you're sending the user to, as if you're trying to send them to a link within the frameset you have to copy the entire catalog > catalog item link address, else it will open outside of the frameset, here's a quick example I pulled out of my PDI by navigating to Catalog and drilling down to a catalog item:
/com.glideapp.servicecatalog_cat_item_view.do?v=1&sysparm_id=e56a7ffe41011300964ff05369414ebd&sysparm_link_parent=109f0438c6112276003ae8ac13e7009d&sysparm_catalog=e0d08b13c3330100c8b837659bba8fb4&sysparm_catalog_view=catalog_default&sysparm_view=catalog_default
In a portal widget you'd use something like:
<a href='sp?id=sc_cat_item&sys_id=[SYS_ID_OF_CATALOG_ITEM]'>Text</a>
This eliminates the need for any instance specific URLs, and sys_ids of catalog items shouldn't be changing between the instances.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2020 07:41 AM
You can create a ui macro for this in the platform, and a widget for the service portal. The link will depend on which view you're sending the user to, as if you're trying to send them to a link within the frameset you have to copy the entire catalog > catalog item link address, else it will open outside of the frameset, here's a quick example I pulled out of my PDI by navigating to Catalog and drilling down to a catalog item:
/com.glideapp.servicecatalog_cat_item_view.do?v=1&sysparm_id=e56a7ffe41011300964ff05369414ebd&sysparm_link_parent=109f0438c6112276003ae8ac13e7009d&sysparm_catalog=e0d08b13c3330100c8b837659bba8fb4&sysparm_catalog_view=catalog_default&sysparm_view=catalog_default
In a portal widget you'd use something like:
<a href='sp?id=sc_cat_item&sys_id=[SYS_ID_OF_CATALOG_ITEM]'>Text</a>
This eliminates the need for any instance specific URLs, and sys_ids of catalog items shouldn't be changing between the instances.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2020 09:03 AM
Is it possible to create the UI Macro, when variable type is label?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2020 09:08 AM
In this case, the variable would be a Macro instead of a Label, and you would include the Label text inside of the Macro/Widget.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2020 09:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Friday
Hi! Thank you for sharing, can anyone provide the UI example of what this actually looks like?
