Create objects from a CSV file
Use a design-time script to create objects in your project based on a
CSV
file.Prerequisites
- Obtain or prepare aCSVfile that contains information about objects that you want to import into the project.TIP: TheCSVfile is a part of the sample project. You can also download theCSVfile individually from: alarms.csv
- Create objects from a CSV file
- InProject view, selectAlarmImporter.
- InProperties, next toAbsoluteResourceUri, selectBrowse.
- Select aCSVfile that contains information about objects.Selectalarms.csv
- InProject view, right-clickAlarmImporterand selectExecute ImportAlarms.
- Variables are imported into theModelfolder.
- Alarms are imported into theAlarmsfolder.
Provide Feedback