Skip to content

automatic-controls/cp-property-import-export-addon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Property Import / Export Utility


WebCTRL is a trademark of Automated Logic Corporation. Any other trademarks mentioned herein are the property of their respective owners.


Overview

This add-on provides a utility for exporting and importing control program properties as JSON. The Rest API add-on is a required dependency for this utility to function.

  • Export: Choose which copy-categories to include and optionally filter microblocks by reference-name regex.
  • Import: Apply a JSON file to one or more target equipment locations.
  • EIKON: Apply a JSON file back to the original equipment file.

🚀 Installation

  1. If signed add-ons are required, copy the authenticating certificate ACES.cer to the ./programdata/addons directory of your WebCTRL installation folder.
  2. Ensure the Rest API add-on is installed.
  3. Install PropertyImportExportUtility.addon using the WebCTRL interface.
  4. Logout and login to WebCTRL to refresh your session. You should see a new option in the system dropdown menu in the top-right corner: Export/Import Properties.

🛠️ Usage

Navigate to an equipment location on the geographic or network tree. Clicking the Export/Import Properties option in the system menu will open a popup allowing users to upload or download JSON files containing control program properties. You can filter which properties are to be exported by selecting various copy-category options or by providing a regular expression that filters microblock reference names. The import feature does not enforce any sort of signature check, so feel free to manually edit the JSON files after exporting.

In the top-right corner of the popup window, a link is provided to download import.logic-script, which can be executed in EIKON. This script takes a JSON file exported by the add-on and attempts to apply it back to the original equipment file. Not all WebCTRL nodes have a corresponding property in EIKON, so expect that some properties will be skipped. There is a printMissing flag in the script which can be turned on if you want to see which node paths are skipped.

About

This WebCTRL add-on provides a utility for exporting and importing control program properties as JSON.

Topics

Resources

License

Stars

Watchers

Forks

Contributors