- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2022 04:45 AM
See below for a glide query written within a record producer's script. However, I was wondering whether this is run client/server side and if the best practice is to call a script include instead? If script include is required, how should it be called from within the script? Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2022 05:08 AM
Hi,
This is a server side script.
Also, a record producer directly creates a record in a table of your choice, so here in this script you can set values of any fields that are say mandatory/desired in your target table but is not being input in the form, or display any messages.
I would not advise to use Ajax on client scripts unless necessary, since it does have an impact UI side.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2022 05:08 AM
Hi,
This is a server side script.
Also, a record producer directly creates a record in a table of your choice, so here in this script you can set values of any fields that are say mandatory/desired in your target table but is not being input in the form, or display any messages.
I would not advise to use Ajax on client scripts unless necessary, since it does have an impact UI side.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2022 05:12 AM
Hi,
Script include is required only if you are using the same script in multiple places. If you are using this script only here then it is not required to create a script include.
Thank you,
Palani
Palani