AlistairFrith

AF Data References (again!)

Discussion created by AlistairFrith on Sep 17, 2012
Latest reply on Sep 18, 2012 by RJKSolutions

Sorry to hit you with this perenial bugbear again, but I am trying to create a simple text attribute that takes its value from the same attribute in the parent element. So I can have a root element called [PIServer] which is the PI server containing the data for that part of the tree, and the child elements below it can all have the same attribute, pointing to their parent. So the attributes in the child have been set up as Formula data references with the settings:

 

A=..\|PIServer;

 

If the attribute in the root element is "snafu", then the attribute in the immediate child gets the value:

 

Data was not available for attribute 'PIServer': snafu

 

and the next level down gets:

 

Data was not available for attribute 'PIServer': Data was not available for attribute 'PIServer': snafu

 

so it has clearly got the value of the parent attribute (snafu), but it looks like it is trying to evaluate that instead of just presenting it.

 

2248.Untitled.jpg

 

What am I doing wrong?

 

--- Alistair.

Outcomes