As described, tag modules typically use the default "ConfigFolder" module to generate the tag properties folder for tags of their type. If you so choose, a tag module may use an external module to allow custom implementation of the configuration for existing tag modules without modifying the tag modules themselves. If a module called, Configuration is added as a plug-in to a tag. This module is launched whenever the ConfigFoldert module would have been called. The Configuration module should slay itself when it has completed, indicating to the caller in VTS that it has completed. VTS passes three parameters to the Configuration module.
Parms – A pointer to an allocated array of parameters for the tag. The initial values of this array are the current values for the tag's parameters. It is the task of the "Configuration" module to set new values within this array when the tag's parameters are modified. If any parameters are changed, the VTS code automatically detects these changes and calls the Refresh module for the tag. It is up to the Configuration module to actually update the tag properties database. (Information on the Refresh module can be found in Tag Template Module Rules.)
NewTag – The NewTag parameter is a flag that has a value of 1 when a new tag of this tag type is created. The values in the Parms array (see “Parms”, above) contain the default values for the tag (i.e. the parameters entered for the last tag of this tag type created). If this flag’s value is 0, an existing tag is being modified, and the Parms array contains all of the existing parameters.
TabNum – The number of the tab of the tag properties folder that would have appeared if the "ConfigFolder" module were used, rather than the custom "Configuration" module. "TabNum" is used by the Navigator to restrict parameter changes to those found on specific tabs of the tag properties folder generated by the "ConfigFolder" module. It is up to the "Configuration" module to restrict user changes to those parameters if this parameter is valid. "TabNum" may be invalid, in which case all parameters may be entered and modified.