hi guys is there any option for save button in form page?

venkatesh s
Giga Expert

hi guys is there any option for save button in form page?

my need is I don't want to right click every time to save changes, is there any options to ease that

kindly regards

VK

1 ACCEPTED SOLUTION

Afrith Shariff
Tera Guru

Hello Venkatesh,

In order to make the save button visible on the form action. Go to UI actions under System definition. There select the record (Knowledge [kb_knowledge]) I have attached the screenshot for reference. Now open the record and check the Form button check box, and select the table to which you want to add the save button. Now Right-click on the header and click the insert and stay button. this will keep the record and insert the new record.

Thanks,

Afrith.

 

View solution in original post

7 REPLIES 7

RAHUL YADAV9
Mega Guru

You can create a UI action and in script mention current.update();

and in condition please check current.isValidRecord() && current.canWrite() && gs.getProperty('glide.ui.update_is_submit') != 'true'

You can append the condition according to your reqirements.

 

Feel free to mark correct and helpful.

Afrith Shariff
Tera Guru

Hello Venkatesh,

In order to make the save button visible on the form action. Go to UI actions under System definition. There select the record (Knowledge [kb_knowledge]) I have attached the screenshot for reference. Now open the record and check the Form button check box, and select the table to which you want to add the save button. Now Right-click on the header and click the insert and stay button. this will keep the record and insert the new record.

Thanks,

Afrith.

 

Kartik Sethi
Tera Guru
Tera Guru

Hi @venkatesh s 

 

You can create a UI Action on Incident table and can provide code similar to Save as shown below:

Condition

!(current.isNewRecord() && !current.canCreate()) && current.canWrite()

Script:

action.setRedirectURL(current);
current.update();
if (! current.isActionAborted())
    action.setRedirectURL(current);

Form Button: True

You can take references from:

https://<your_instance>.service-now.com/sys_ui_action.do?sys_id=47fd7f4dc0a8000600a552278b5232ab

 


Please mark my answer as correct if this solves your issues!

If it helped you in any way then please mark helpful!

 

Thanks and regards,

Kartik

David Banghart
Tera Contributor

In Tokyo:

1. Navigate to System Properties

2. Scroll until you see the option: Show "Save", "Insert" and "Insert and Stay" buttons on forms.

3. Set this property to true by checking the Yes box.

4. Scroll back to the top and click Save

 

DavidBanghart_0-1685843499937.png