Create objects from a CSV file

Use a design-time script to create objects in your project based on a CSV file.

Prerequisites

Create objects from a CSV file
  1. In Project view, select AlarmImporter.
  2. In Properties, next to AbsoluteResourceUri, select Browse.
  3. Select a CSV file that contains information about objects.

    Select alarms.csv

  4. In Project view, right-click AlarmImporter and select Execute ImportAlarms.
  • Variables are imported into the Model folder.

  • Alarms are imported into the Alarms folder.