Substation will support having predefined templates for the AppData\Roaming profile stored in a local Program Data folder.
On startup, Substation will search for predefined templates in the Program Data folder and copy them to the AppData\Roaming folder following certain rules described in this document. From that point, Substation will operate normally, either using the files in AppData\Roaming or creating new files if any are missing.
<?xml version="1.0" encoding="utf-8"?>
<AppData ProductName="Substation" Version="1" Options="" />
11. If desired, you can set/change the Options value.
Comma separated list of options that will be applied to the copy operation. Only the values from the Template folder are used (values present in the file in the AppData folder are ignored.) Possible values are listed here. These values can be combined to achieve various effects. If no options are specified, then files will be copied based on a comparison of Version.
Ignore Version: Ignore the version comparison. Must be used in conjunction with Timestamp or Overwrite, otherwise no action will be taken. Timestamp: Compare files based on the modified time. If the modified time of the template file is later than the modified time of the AppData file, then the AppData file will be overwritten by the template file. Force: Every time the software starts, the Template files will be copied to and overwrite the AppData files. NoOverwrite: Existing AppData files will not be overwritten.
12. If no options are set, software will copy files from Templates\AppdataRoaming folder when the version value in Templates\AppdataRoaming \Appdata.xml is greater than the version value in user’s Appdata Roaming folder.
Note: Software will automatically copy Appdata.xml to user’s roaming folder. This is how the software knows what the version value is for the user.
13. Deployment to additional machines: Copy C:\ProgramData\Bentley\OpenUtilities Substation CONNECT Edition\Configuration\Datasets\Substation\Templates\AppDataRoaming folder to each use's machine.