Wenpeng Yu

How to use ChildReferenceType of AFElementTemplate in AFSDK or "PI System Explorer ?

Discussion created by Wenpeng Yu on Oct 10, 2014
Latest reply on Oct 10, 2014 by Wenpeng Yu

In PI AFSDK, AFElementTemplate has an attribute "ChildReferenceTypes", but this attribute is read only.  Similarly, in "PI System Explorer", we can not create child element template or reference child template. Then here are 2 questions:

 

1) Since we can not add child in the template level, what is the attribute "AFElementTemplate.ChildReferenceTypes" used for ?  Does "ChildReferenceTypes" remains empty ?

 

2) An element can take instances of any template as children or reference children, is it true?

Outcomes