Modify Template Files
To modify template files
1. Copy the template files from the default directory to another directory.
2. Define the Ingres logical or environment variable II_TFDIR to point to the new directory. For example:
Windows: set II_TFDIR=\apps\orderapp\templates
UNIX: setenv II_TFDIR /apps/orderapp/templates
VMS: define II_TFDIR apps:[orderapp.templates]
3. Edit the template file copies in the new location. Modify the template files according to the grammar described in
Template Files Reference.
To use the modified versions of the template files, you must define II_TFDIR every time you use Vision, before you start Vision. If you want all users to use your modified template files, be sure II_TFDIR is set installation wide. You can define II_TFDIR in a startup file so that the installation always points to this directory.
If II_TFDIR is defined, each time Vision generates code for a frame, it first looks for a template file (including ##INCLUDE template files within the frame template) in the directory pointed to by II_TFDIR.
If Vision does not find a template file in the directory pointed to by II_TFDIR, it checks the default location. If it cannot find the template file in either place, an error occurs and code is not generated. (The previous version, if any, of the 4GL file is not affected.)
Last modified date: 01/30/2023