How to create a preview button in a form in servicenow platform with submit button and modify button

Sarika S Nair1
Kilo Sage

How to create a preview button in a form in servicenow platform. Also I want a submit and modify button in the preview screen. Can anybody tell me how to do this?

11 REPLIES 11

Murthy Ch
Giga Sage

Hi @Sarika 

By using UI actions u can create a button in form

 

find_real_file.png

Thanks,

Murthy

Thanks,
Murthy

Swapnil Soni1
Giga Guru

Hi Sarika,

You can create a preview button using ui actions. And by clicking in preview button you can show a dialog box with the button submit and modify.

And for more info of dialog box you can refer this link

https://servicenowguru.com/system-ui/glidedialogwindow-advanced-popups-ui-pages/

 

Let me know if this helps.

Thanks

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Sarika,

can you explain your exact requirement

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

I have a form. I have entered some values to the fields in that form. And In that form I want a preview button in addition to submit button, so that when I click on that preview button I should able to see the preview  of the current form with values I have entered ( means all fields should become read only) .Also I want a submit button  and modify button in that preview screen so that I could submit the form if all values entered are correct or I could modify if some values are incorrect by clicking on modify button.