Some sample scripts that make use of EKM's scripting interface are packaged in a “script library” with an EKM server. The script library is saved in the EKM_HOME/examples/conf/scripts directory where the EKM server is installed. You can access this remote folder directly in EKM from the built-in /Data/Shared Data/Sample Files folder. The Sample Files folder is a remote folder that maps to the EKM_HOME/examples directory and to access the scripts, just navigate to the Sample Files folder and drill down to the conf/scripts sub-folder. See Accessing Sample Files for more details.

Note: The Sample Files folder is accessible only by admin users.
The scripts folder contains Python sample scripts. You
can copy the macros defined in these scripts to your custom scripts. However, you cannot reference a macro directly. Only when a script from this directory is placed under workspace
configuration control by an EKM admin user on the common /Administration/Configuration/Scripts page, will its macros be globally available in all contexts. See
the section on Configuring
a Common Scripts Library in the Administration
Guide for more details on how a global script library
can be configured by an admin user.