UI page to display Record on the basis of selected variables value

keshav77
Tera Contributor

Hi All,

 

I'm working on a requirement to create a UI page that takes catalog item variable value as input and display info on ui page.

 

for example there is 2 variable one is refer to configuration item table another one is state  select box variable if we user select these UI Page will popup and show all the incident having same  configuration item and state as well.

 

how we can get this.

 

kindly assist me in this

@Ankur Bawiskar  any suggestion on this

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

@keshav77 

UI page cannot be used in catalog item, only UI macro are supported.

why not have a 3rd variable pointing to incident table and apply the filter condition so that it shows only the filtered records.

It will show only those INCs with that CI selected and that state.

why UI page is required?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

client want ui page should pop up and able to see all records on that. once the select value in these 2 variable.

 are you saying we do not able to open ui page with the help of on change client script.

 

@Ankur Bawiskar 

@keshav77 

yes it's possible via onChange client script and you can use GlideDialogWindow

see this

GlideDialogWindow: Advanced Popups Using UI Pages 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

mujeebqasimi
Kilo Explorer

easiest way is to use a catalog client script to open a UI page with GlideModal and pass in the configuration item + state values. The UI page can then query incidents with those filters and show them in a list.
below link is very detailed.

https://servicenowguru.com/system-ui/glidedialogwindow-advanced-popups-ui-pages/