Widget options not available for Catalog item custom variable

ServiceNow Tech
Tera Contributor

I created a new portal widget and mapped it to one catalog item custom variable. Now that widget is visible in catalog item inplace of that variable in portal but I am not able to add widget options to it.

If I ctrl+rightClick on that widget, it is showing widget options for the main catalog item widget but not the custom widget which I created.

How can I add widget options to my new widget if I map it to a catalog custom variable?

Please help.

1 REPLY 1

Peter Bodelier
Giga Sage

You can pass the option scheme by filling the default value on the variable with something like

 

 

{
  "widget": "widget-link-button",
  "href": "https://www.dell.com/downloads/global/products/precn/en/spec_precn_690_en.pdf",
  "button_text": "Vendor Product Details",
  "color": "primary"
}

 


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.