on 02-27-2017 7:22 AM
I have a PCo query in FixedQuery mode and passing tag names dynamically using "RETRIEVE [Param.1]" where Param.1 is tag name stored in SQL. I am trying to get each tag value. I created one transaction variable to assign tag name in variable (Transaction.DynamicTagName). I am trying to access this tag value using Output.Results{/Rowsets/Rowset/Row/['#Transaction.DynamicTagName#']} but it is not returning any value. Kindly help getting the value of dynamic tag
Hi,
Can you try withbelow path i.e. by removing square brackets & quotes.
Output.Results{/Rowsets/Rowset/Row/#Transaction.DynamicTagName#}
Regards,
Abhijeet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ayush,
Did you reach at a solution? If not I would suggest Abhijeet's solution here. We generally use square brackets when we have some comparisons to do.
Regards,
Swaroop
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
13 | |
6 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.