AnsweredAssumed Answered

SubstituteParameters does not work for attribute value replacement in custom data reference

Question asked by oysteintorget on Jan 16, 2019
Latest reply on Jan 17, 2019 by rdavin

I have implemented a custom data reference and I am trying to make the config string support parameter substitution. I have used the AFDataReference.SubstituteParameters and that works for %Element% and %Attribute% substitution, but not for attribute value substitution using the attribute value substitution with %@AttributeName%.


I have tested the config string with a  PiPoint attribute and there the substitution works and replaces the config string with the attribute value so the syntax I am using should be correct.


I am currently calling SubstituteParameters like this SubstituteParameters(configString, this, null, null).


Is there anything else that needs to be implemented to make attribute value substitution to work?