How to create/display form in service now when we click on new button which is on particular table?

priyanka0709
Tera Contributor

We have particular table present in service now so we need to add new button to right side top of page and when we click on button it should open new form to create new entry in corresponding table. how can we create form and link with new button so people can fill form and submit record?

please help us!!

2 REPLIES 2

SindhuKM
Tera Guru

Hi Priyanaka,

You need to create UI Action ,and make "List Banner Button" to be checked to true, and in the script you can use

action.setRedirectURL("/your_table_name.do?sys_id=-1);
 
If this resolves your question. Kindly Hit like and close the thread.
Thanks,
Sindhu K M

Jitendra Diwak1
Kilo Sage

Hi @priyanka0709,

 

Please make the var of url and pass this.

 

If this is server side, you can try:

window.open(url, '_blank');

 Please accept my solution if it works for and thumps up.

 

Thanks

Jitendra

Please accept my solution if it works for and thumps up.