Instance options for Widget in Record producer -> Custom Variable -> widget?

Mr world wide
Mega Guru

Hello ServiceNow experts,

I'm trying to achieve and drop down record producer which should have 3 things like Image, Title, and Description.
I could able to achieve the requirement but I want to make it more reusable, but I don't see any options to reuse the same widget.

 

My Record Producer

find_real_file.png 

Is it even possible to utilize the instance options concept for widget added to the record producer, custom variable -widget?

 

I created a Custom variable on my Record producer and created a Reusable widget that has instance options.

Now I want to use the widget on a variable but I don't see any option to add instance options data to the variable widget.

 

Please find the screenshots below for reference:

Reusable Widget which has instance options:find_real_file.png

 

Record producer variable: (Where I don't see any option to add widget instance options)

find_real_file.png

 

Please let me know your thoughts on this,
Thanks.

1 ACCEPTED SOLUTION

Shane41
ServiceNow Employee
ServiceNow Employee

Hi Mr World Wide,

This post should help:

https://community.servicenow.com/community?id=community_article&sys_id=659ff21cdb30105013b5fb2439961...

You set the option in the default value field on the variable

Hope this helps

If so please mark answer as correct and helpful

Shane

View solution in original post

2 REPLIES 2

Shane41
ServiceNow Employee
ServiceNow Employee

Hi Mr World Wide,

This post should help:

https://community.servicenow.com/community?id=community_article&sys_id=659ff21cdb30105013b5fb2439961...

You set the option in the default value field on the variable

Hope this helps

If so please mark answer as correct and helpful

Shane

Mr world wide
Mega Guru

Thank you so much, you saved my life.

I added everything to the default value and it's working as expected.

{
"widget": "table_values",
"title":"Table values",
"maximum_entries": 1,
"table": "custom_table",
"encoded_query": "active=true^ORDERBYorder",
"dropdown_title": "name",
"dropdown_description": "description",
"dropdown_image": "image",
}