How can a single UI Action can be used both in client side and server side.

swathigangadhar
Tera Expert

How can a single UI Action can be used both in client side and server side.

1 ACCEPTED SOLUTION

snehabinani26
Tera Guru

Hi Swathi,



Please configure the Ui Action in the format provided in screenshot.



find_real_file.png



find_real_file.png


View solution in original post

5 REPLIES 5

Shishir Srivast
Mega Sage

if you want to use as a client side then you need to click the Client checkbox and provide the function name in onClick.


And, code that runs without onclick will run on server side.



Please have below link for your reference.



https://www.servicenowguru.com/system-ui/ui-actions-system-ui/client-server-code-ui-action/