User Javascript Functions

The Repository Configuration settings determine whether your entities will use user javascript functions.  The user javascript functions are stored in javascript files (.js) stored on the Xephr server. There are two types of user javascript function files that can be set up, common user javascript functions and repository user javascript functions.  

If you set up your repository to recognize either common or repository user javascript functions, you will need to verify that the files exist in the appropriate directory, even if the files have nothing in them.  Otherwise, your logs will contain errors about the missing files.

Common User Javascript Functions

Common user javascript functions are stored in the '_common.js' file on the Xephr server in the 'templates/userdefined/javascript' directory of your Xephr install.  Common user javascript functions can be shared among all of the repositories.  

To set up your repository to recognize common user javascript functions, set the Use Common User Javascript property to true in your Repository Configuration.

Repository User Javascript Functions

Repository user javascript functions are stored in the 'repository_name.js' (where repository_name is the name of your repository) file on the Xephr server in the 'templates/userdefined/javascript' directory of your Xephr install.  Repository user javascript functions can only be accessed by your repository.

To set up your repository to recognize repository user javascript functions, set the Use Repository User Javascript property to true in your Repository Configuration..

Xephr is a registered trademark of NDS Systems, LC.

Copyright © 2007 NDS Systems LC.