Currently it is impossible to create AF Element Template that has dynamic number of Attributes. Example scenarios I have been struggling with are focused on monitoring:
- monitoring many virtual servers with checking available free storage on each disk - each server may have from 2 up to 10 disks
- monitoring of PI OPC Interfaces - some are single interfaces, some in failover which affects a number of machines, heartbeat points etc.
Alternative solution would be to allow Element Template to be created with a group of sub elements in number depending on certain conditions. For one of my described scenarios I would have an Element Template with Attribut which number reflects the number of disks and thus a number of sub elements to be created where one element is considered to be one disk. Each of sub elements in such case follow the same Element Template.