- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2020 08:31 AM
How Many types of Script Includes()?
Please provide the correct answer: Two types(client callable and server-side) or Three types.
Which one correct?
Thanks
Ram
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2020 08:40 AM
Hi Ram,
There are only 2. Client Callable & Server side but these are not types they are options script include can be called.
For types there are 3. Class, Classless, onDemand. Refer link for a check.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2020 08:37 AM
I would say 2 but changing my opinion after Jaspal's answer
3 types
Vinod Kumar Kachineni
Community Rising Star 2022

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2020 08:40 AM
Hi Ram,
There are only 2. Client Callable & Server side but these are not types they are options script include can be called.
For types there are 3. Class, Classless, onDemand. Refer link for a check.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2020 08:42 AM
Hi,
Script Includes are reusable server-side script logic that define a function or class. Script Includes execute their script logic only when explicitly called by other scripts. There are different types of Script Includes:
- On demand/classless
- Extend an existing class
- Define a new class
For more explanation you can refer the below link.
Thanks,
Pooja M
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2020 08:43 AM
Hi Ram,
There are 3 types of Script Include
1. On Demand/ Classless Script Include[You have to remove all the code which populates after inserting the name of Script Include and define a function]
2. Client Callable Script Include[Mark client callable checkbox as true]
3. Define a new class Script Include[define the function under the class created after creation of script include name]
https://snprotips.com/blog/2016/2/6/gliderecord-client-side-vs-server-side
Please mark the content as Correct and Helpful if you find it useful.
Regards,
Subhojit Das