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

Reload form UI Action Onclick function

Jerome11
Tera Guru

Is it possible to reload the current form after completing the Onclick function of a UI Action? I do not want to execute the gsftSubmit function.

1 ACCEPTED SOLUTION

Brad Tilton
ServiceNow Employee
ServiceNow Employee

You can just use standard javascript to do a page reload if you're in the client side portion of a UI Action: 

location.reload()

Location reload() Method

View solution in original post

2 REPLIES 2

Brad Tilton
ServiceNow Employee
ServiceNow Employee

You can just use standard javascript to do a page reload if you're in the client side portion of a UI Action: 

location.reload()

Location reload() Method

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

please try what Brad has mentioned

Regards
Ankur

 

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