UI Page not display in Catalog Item

nancyhz
Mega Contributor

I am new for ServiceNow, I want to display UI page in catalog item I created. I added UI page in catalog a variable as follows:

Type: Container Start
Variable Name: container
Order 350

Type: UI page
Variable Name: add_row
Order: 400

Type: Container End
Order: 500

I created catalog policy and I set variable-container's visible to false in UI Policy Action, however, UI page is not displayed in my catalog item.

I have attached all screenshots for your reference. Thanks in advance for your feedback.

Nancy

7 REPLIES 7

adiddigi
Tera Guru

Found this post,

My first question is : If you want to DISPLAY the UI page, why are you making container start as false in the UI policy?

Just make it leave alone or true, and you will start seeing the UI page.


nancyhz
Mega Contributor

Abhiram, I was told to hide container variable (Hiding a Service Catalog UI Page Variable), I never made it working.

I removed UI policy, but it still not display UI page. I am new to ServiceNow, can you do my favor to give some demo sample?


How do you display a UI page:

Step 1 : Create a variable of type UI page.
Step 2 : Fill in the field called UI Page (which is a reference with the new UI Page)

I've done this on https://demo005.service-now.com/ for the catalog item iPhone5, Which displays a message Hi There.


How do you hide a UI Page:
The discussion in that link you gave me is about how to hide a UI page.

Step 1: Enclose your UI page in a container
Step2 : Hide the container, which will hide the UI page.

Hope that helps!


nancyhz
Mega Contributor

I found why it is not working, Many thanks.