Word templates and Active Library - creating a mirror folder
See also:
If you wish to use Oyez's Word templates outside of OyezForms - within case management for example - you can create a mirror folder containing templates with comprehendible filenames for ease of manipulation. It is important that this folder is not directly used as a working base document production as file locks will prevent replacement.
By using application-level macros and the OyezForms ActiveLibraryComplete event (available in version 10.00S+), you can use the following script to make a mirror folder of all Word templates delivered by Active Library. Templates are copied to a folder specified in the first line of the script (root_target) and renamed to the form's library title. A log of the files copied during the last library sync is also created to aid the user. Initially, all templates will copy to the target folder. Subsequently, only newly delivered Word templates will copy.
Copy the following script into the \oyezfrms.bas file in your application folder. Call support for help.