IPCOSRumaila

Changing template of an element. What should happen with attributes with the same name?

Discussion created by IPCOSRumaila on Sep 4, 2014
Latest reply on Sep 8, 2014 by cmanhard

Hi,

 

 

 

Some-times the nature of an Asset in the PI/AF tree changes and then we need another template for that element. This other template may contain different definitions for the attributes with the same name.

 

To my surprise when re-assigning this other template with AF SDK these attributes where the name occurs in both templates now suddenly have a definition which overrides the template and is actually the old definition of the previous template.  To be clear,  these  attributes were originally following the template, so there  were no overrides before the reassignment. Is this expected?

 

Side question, I probably missed something, but how can I easily see which attributes have an override and which not in PI System Explorer? Currently I export the tree to xml and examine the result.

 

 

 

Regards,

 

 

 

Denis

Outcomes