Parameterize lookup function


Is it possible to parameterize the path to the lookup data. I am not sure if it is path or the dataset. When I change the word hold in the path to a parameter, everything after the parameter is changed to regular text and resulting in expression error.
I tried putting the whole path in a tostr() that also did not work. Any suggestions on what I am doing wrong?

You will need to use the tag() expression function to perform that kind of indirection inside an expression tag. (It is the only situation where you should use the tag() expression function.)


@pturmel - can't figure out what am i doing wrong

You need to construct the tag path with strings and the parameter.

So something like this:

tag(concat('[~]_MasterData/',{udtParTankType},'Tank_Data'))
2 Likes

Awesome, thank you @bschroeder