2017-07-31 10:50:43 +00:00
|
|
|
# Custom Script Examples
|
|
|
|
|
2015-11-05 11:25:10 +00:00
|
|
|
### How to Create a Custom Script
|
|
|
|
|
|
|
|
Create a Custom Script (you must have System Manager role for this):
|
|
|
|
|
|
|
|
1. Got to: Setup > Custom Script > New Custom Script
|
|
|
|
2. Select the DocType in which you want to add the Custom Script
|
|
|
|
|
|
|
|
* * *
|
|
|
|
|
|
|
|
### Notes
|
|
|
|
|
|
|
|
1. Server Custom Scripts are only available for the Administrator.
|
|
|
|
2. Client Custom Scripts are in Javascript and Server Custom Scripts are in Python.
|
|
|
|
3. For testing, make sure to go to Tools > Clear Cache and refresh after updating a Custom Script.
|
|
|
|
|
|
|
|
### Topics
|
|
|
|
|
|
|
|
{index}
|