AnsweredAssumed Answered

Dynamic reference in Analysis Templates

Question asked by Chris_Hawkins on Feb 23, 2017
Latest reply on Mar 13, 2017 by Chris_Hawkins

I've already read recently that what I'm attempting to do may not be possible. I can't recall where!

What I would like to do is create a generic expression in an Analysis template that includes references to several element|attributes. While the element|attributes are fixed for an installation they will vary between systems. And what I'm trying to avoid is having to manually edit the expressions (there are many!) for each system.


I've tried various things:

  • Using CONCAT() within Analysis to build up the AF Path from sub-strings for the element / attribute names
  • Creating an attribute of type string using stringbuilder that contains the (full) path for the element|attribute I wish to reference in Analysis.

Neither of the above work as  the Analysis variable remains as s string, i.e. it isn't cast into a AF Path.

Any ideas?