How to hide 'Cascaded Variables' from Service Portal 'Describe Needs Srceen'?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2018 08:33 AM
Hi Community,
I have an Service catalog order-guide that consist of 6 Catalog Items. As each of them need to capture the name of the person the Item is for I have cascaded the 'Variable' for this question so that the requester only need to populate this question in the guide once (then is automatically copied to the duplicate variables in the items).
Question: How do I hide these duplicated variables in the Service Portal (as no longer a need for the User to see them)?.
Product documentation tells me to do the below:
------------------
To hide duplicate variables on all screens after the initial Describe Needs screen in Service Portal, use the isOrderGuide() API.
Example:
if(g_service_catalog.isOrderGuide()) g_form.setDisplay(‘variable_name’, false);
----------
Not sure though where in the system I actually add or amend this?
Does anyone know?:)
Thanks,
Henrik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2018 08:44 AM
Hi Henrik,
You can hide the variables from other catalog items so that they are not visible on Order Guides using below steps.
1.Open the Variable defined on the catalog item.
2.Uncheck "Visible on Guides" checkbox to hide it on Order Guides.Refer below screenshot
Hope this helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2018 09:03 AM
Hi Amit,
Thank you for feedback,
If I unchecked the box the it hides the Variable from the Service Portal 'Describe Needs' screen but it also do not capture the original cascaded value to the RITM.
The solution I am looking for is one where the Requester fill in the 'Who is the request for?' once in the guide when making the request, and this information is cascaded to each Catalog Item within this guide so that the fullfiler has this information in the RITM for each of the 6 Items. All of this without the requester having to see the duplicated question 'Who is this request for?' 6 times in the 'Describe needs' form in the Service portal when populating the order guide.
Hope I make sense:)
Cheers,
Henrik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2018 09:05 AM
The way ServiceNow explains it is:
Hide cascaded variables
You can hide the duplicated variables on the Choose Options screens to keep your screen clean.
When cascading variables, you can hide the duplicated variables on the Choose Options screens, making these screens simpler.
To hide duplicate variables on all screens after the initial Describe Needs screen in the Service Catalog Platform UI, run an onLoad catalog client script.
https://docs.servicenow.com/bundle/kingston-it-service-management/page/product/service-catalog-management/concept/c_CascadeTheOrderGuideVariables.html
I just don't know where you would make the update they refer to?
Thanks,
Henrik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2018 09:13 AM