The CreatorCon Call for Content is officially open! Get started here.

How to set up Take Survey widget from Standard Ticket?

Guilherme Corre
Tera Contributor

How could I add a Feedback tab to the Standard Ticket, showing a survey of my choice?

find_real_file.png

I tried navigating to Standard Ticket > Standard Ticket Configuration, choosing sc_req_item as the table.

Then added a new tab as follows:

find_real_file.png

However I do not know what widget parameters I should add to the form.

In my understanding they should be (based on ashley(sn)šŸ˜ž

sysparm_trigger_table = the table the record (sc_req_item)

sysparm_trigger_id = the sys_id of the record (current.sys_id - can I use current here?)

 

But, this doesn“t work, can anyone help?

 

[EDIT]

 

So you also need to provide the Survey type as a widget parameter:

find_real_file.png 

If I type the sys_id manually it does work:

find_real_file.png

However, current.sys_id doesn't work. How could I provide options.sys_id or $sp.getParameter('sysparm_trigger_id') to the widget?

6 REPLIES 6

Sushma R1
Tera Expert
One thing that looks like missing is widget instance ??

I edited the question, do you know a way to dynamically populate a widget's options?

mackinley
Tera Expert

We are in the same situation with `current.sys_id`. Did you ever find a solution?

We figured it out. Use `{table.sys_id}`