I want to show variables from variable set on a widget

JabbarN
Tera Contributor

Hi community,

I am facing an issue in Service portal widget if somebody can help me with that.

I have created an variable set in that I have added some variables, but when I am requesting that catalog item It is showing all the variables, But in my case it should show only specific variables.

 

I am attaching an screenshot of my use case with you.

 

Demo is my name of variable set and Name and Age are the 2 variables, nut I want to display only name or Age separately.Screenshot 2025-03-07.pngScreenshot 2025-03-07 112053.png

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@JabbarN 

Can you share what that variable set contains and whether it's single row or MRVS?

Seems your variable set contains Label type of variable or Custom with Label and shows HTML data within it?

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

View solution in original post

2 REPLIES 2

Kieran Anson
Kilo Patron

Hi,

When you say you want to show name and age separately, what do you mean? 

Ankur Bawiskar
Tera Patron
Tera Patron

@JabbarN 

Can you share what that variable set contains and whether it's single row or MRVS?

Seems your variable set contains Label type of variable or Custom with Label and shows HTML data within it?

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