In the JavaScript console, execute the following to get the locations of the application JavaScript folder and the user JavaScript folder, respectively.
// for App folder scripts app.getPath("app", "javascript");
// for User folder scripts app.getPath("user", "javascript");
You can place the code file in either location, depending on whether you want it available to all users or just certain ones.
// for App folder scripts
app.getPath("app", "javascript");
// for User folder scripts
app.getPath("user", "javascript");
You can place the code file in either location, depending on whether you want it available to all users or just certain ones.
George