Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to provide option values not available in the settings of a widget?

hamzaathar
Tera Expert

Hi,

 

I was going through the code of the Ticket Conversation Widget. The server side contains code to access table and sys_id from options.

 

	data.sys_id = (input && input.sys_id) || options.sys_id || $sp.getParameter("sys_id");
	data.table = (input && input.table) || options.table || $sp.getParameter("table");

 

However, setting these values is not available in the settings on the page editor. 

hamzaathar_0-1739895305034.png

 

 

How do I set these options values?

1 ACCEPTED SOLUTION

hamzaathar
Tera Expert

I have found the solution to this.

 

hamzaathar_0-1739895592970.png

hamzaathar_1-1739895628335.png

 

You may add additional options this way.

 

Hope this helps someone!

View solution in original post

1 REPLY 1

hamzaathar
Tera Expert

I have found the solution to this.

 

hamzaathar_0-1739895592970.png

hamzaathar_1-1739895628335.png

 

You may add additional options this way.

 

Hope this helps someone!