PML Customisation User Guide

General Features of PML : Storing and Loading PML Files
When an AVEVA product is started up, PML scans each directory in the PMLLIB search path and creates a file named pml.index in each directory.
This index file contains a list of all the PML Files in all the directories under the directory given in the PMLLIB search path. All the PML Files listed in the pml.index files are loaded automatically when the product is started up.
When you are working on PML Files, you should store them in their own PML working directory, and add the path of their PML working directory as the first entry in their PMLLIB search path. Then, when you add a new PML File (after you have started up an AVEVA product), you will need to tell PML to rebuild its file index by giving the command:
If other users have added PML Files and updated the appropriate pml.index files, you can access the new files by giving the command:
This command re-reads all the pml.index files in your search path without rebuilding them.
When you are not running an AVEVA product, you can update the pml.index file in a given directory by giving the command:
pmlscan directory_name
Note:
The commands pml rehash and pml index are a type of command known as PML directives: they are used outside PML Files to direct PML itself to take certain actions. More information about using PML directives with form definitions is given in PML Directives

1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
AVEVA Logo