Custom files are external or user-created files that can be included in a project when it compiles. These files could include CSV or DBF files associated with tables presented on project pages, or HTML content. It should also include any required ActiveX objects.
To include custom files in a runtime deployment:
Note: The following files cannot be included as custom files as they are used by the compiler when preparing the zip files:
• Changes.dbf
• Custfiles.dbf
• Errlog.dbf
• Custfiles.zip
• Custactivex.zip
• _library.rdb
• _project.rdb
For a description of the properties, see below.
If you are adding an ActiveX object, make sure the Is ActiveX field is set to TRUE.
Note: If an ActiveX object has an associated data source, verify that the data source can be located by the computer hosting the client. See the topic Managing Associated Data Sources under the section on ActiveX objects in the Citect SCADA Help.
Custom Files Properties
Field |
Description |
---|---|
File Name |
The name of a file you would like to incorporate into to a runtime deployment. For example, a CSV or DBF file associated with a table presented on a project page, an HTML file, or a required ActiveX object. You can use wild cards ('*' or '?') when specifying a file name. To identify a custom file, you need to precede the file name with:
A Windows relative path should navigate from the current project directory. A Citect SCADA directory path can be one of the following:
The Browse button allows you to select a required file with the path included. Note: The following files cannot be included as Web Client files as they are used by the compiler when preparing the deployment zip files: |
Is ActiveX |
This field specifies if a file is an ActiveX object or not, which determines if it should be included in custActivex.zip or custFiles.zip. If the value you select is False, the file will be added to custFiles.zip; if you select True it will be added to custActiveX.zip. If you leave this field blank, any file with the extension ".ocx", will be automatically added to custActiveX.zip by the compiler. This is because ActiveX objects typically use this file extension. Similarly, any files that don't have this extension will be automatically added to custFiles.zip If you select False in this field where an .ocx file has been identified, it will force the .ocx file to be included in custFiles.zip. |
Destination Location |
This field specifies the folder structure that should be used to host the file when it is extracted from the one of the delivered zip files. It should represent a directory path in relation to the location where extraction occurs. For example: \Files\ The base folder for extraction is C:\ProgramData\Schneider Electric\Citect SCADA2018\User\Example |
Comment |
Any useful comment (254 characters). |
Property |
Description |
---|---|
Project |
The project in which the custom file is configured. |
Published June 2018