- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2022 06:06 AM
I'm super stuck on this and cannot figure out a way to tackle what I want to achieve in the portal so I'm hoping someone can point me in the right direction.
I am looking to enhance the ticket sharing functionality we have in place. In the current setup I have a list collector in a variable set that sits at the bottom of the catalogue item. This list links to customer_contact and has a reference qualifier (calling a script include) to ensure only relevant people are returned (we have users from a variety of companies so need to limit the names that show). Additionally there is a list of "default sharers" someone can setup for themselves and these get loaded when the item loads.
This all works but feels a little clunky being bolted onto the bottom of a form. What I really want to do is have it as a list on the right hand side of the item where the buttons sit:
I've got the area setup but I actually have no idea how to put a list collector field in here with a ref qual or if that's even possible. I've done it internally using jelly for modal popups but not in the portal.
Is anyone able to point me in the right direction to be able to achieve this or put me out of my misery if it can't really be done.
Thank you.
Solved! Go to Solution.
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-12-2022 08:25 AM
Hi
Couple of things you need to understand here to understand how the platform works and it will clear your query as well:
1) When ever you load a Catalog Item similar to below mentioned URL gets loaded. For example:
https://instance.service-now.com/sp?id=sc_cat_item&sys_id=e212a942c0a80165008313c59764eea1&referrer=popular_items
Basically it is the OOB Page named "sc_cat_item" which is responsible for rendering both Catalog item and Record producer on this page which is an important core widget platform provides.
This page contains different widget which works together to build catalog functionality and on the left is the section divided where all variable should load and right is the section to display button like "Add to Cart" "Order Now" etc.
Shifting your List collector variable to the right means you will need to customize this core Page and Widget as well which I will strongly suggest should be done only when it is really really required as I have seen in my previous project caused lot of issues like after upgrade we did not got the new functionality ServiceNow added to these pages and widgets.
I understand, list collector is a giant thing which takes up a fair amount of screen and is not a good user experience.
Solution Proposed:
1) You can make a List collector variable smaller and make it similar to glide_list type as we have in native view which will not only reduce the clunky space the big list collector occupies and will also look cleaner.
Open your List collector variable form and add the below attribute as shown below:
glide_list
Hope this helps. Please mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-12-2022 07:07 AM
Since the variable set is part of the catalog item, I doubt it will be possible to bring it to left under order button.
What can be done here is create a new widget or customize your "Sc catalog item" widget and place something under order now.
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-12-2022 08:25 AM
Hi
Couple of things you need to understand here to understand how the platform works and it will clear your query as well:
1) When ever you load a Catalog Item similar to below mentioned URL gets loaded. For example:
https://instance.service-now.com/sp?id=sc_cat_item&sys_id=e212a942c0a80165008313c59764eea1&referrer=popular_items
Basically it is the OOB Page named "sc_cat_item" which is responsible for rendering both Catalog item and Record producer on this page which is an important core widget platform provides.
This page contains different widget which works together to build catalog functionality and on the left is the section divided where all variable should load and right is the section to display button like "Add to Cart" "Order Now" etc.
Shifting your List collector variable to the right means you will need to customize this core Page and Widget as well which I will strongly suggest should be done only when it is really really required as I have seen in my previous project caused lot of issues like after upgrade we did not got the new functionality ServiceNow added to these pages and widgets.
I understand, list collector is a giant thing which takes up a fair amount of screen and is not a good user experience.
Solution Proposed:
1) You can make a List collector variable smaller and make it similar to glide_list type as we have in native view which will not only reduce the clunky space the big list collector occupies and will also look cleaner.
Open your List collector variable form and add the below attribute as shown below:
glide_list
Hope this helps. Please mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2022 12:53 AM
Thank you for your reply.
I had hoped to find a way to build a list in some way similar to how you can build them in modal popups within the system. Looks like this isn't the case so I shall move to plan B.
Appreciate the guidance on the use of glide_list - I will give that a go and see how it looks.