Creating a button in the SOW

Shir Sharvit
Tera Contributor

Hey
I need to create a button in the workspace menu.

ShirSharvit_0-1703676114628.png

 


When the button is clicked, I need it to open a window with the creation of form support feedback
(create a new record in the u_support feedback table)

 

For example:

ShirSharvit_1-1703676191128.png

 

4 REPLIES 4

vipinmathew
Mega Guru

Hi @Shir Sharvit ,

 

Please go and create a new UI Action in Incident table with below configuration .

make sure you are selecting Correct Application Scope .

vipinmathew_0-1703678075975.png

vipinmathew_1-1703678130099.png

 

 

Here i am pasting the code below for your ease,

 

function onClick(g_form) {
    g_aw.openRecord("problem", "-1", { query: "problem=" + g_form.getUniqueValue() });
}
 
Hi @Shir Sharvit  : you need to replace "problem" with your table name in above script.

 

ShirSharvit_0-1703679334960.png

I tried and it doesn't work

Can you try to understand why?

 

It seems correct. Could you please attach a screenshot of whole UI Action configuration?

ShirSharvit_0-1703684545640.png

 

I tried and it doesn't work

Could you maybe try to help me understand what the problem is?