3

Canary Calculations %Path% Variable Support

Currently in Calculations, %Asset% is supported which makes building dynamic calculations easy. Still though, you have to manually type in the 'Path' portion even if it is selected above. In the example below, I have added the Path to the Asset Context already. It would be great if I can just refer to it as %Path% instead of setting it twice. This makes it easy in the future if I ever want to modify my path, I don't need to do it twice for everything.

3 replies

null
    • smason
    • 4 days ago
    • Reported - view

    Hi ,

    There is an Asset Tags menu in the bottom right which contains an exhaustive list of tags of the configured asset type. If you add tags to the expression from here, it will include all of the information it needs, path and everything.

     

      • System Engineer | CSE ICON
      • davin_ross
      • 4 days ago
      • Reported - view

       Yes sir. I very much use that feature and enjoy it. 
      My issue is that if the View name is ever changed, then that has to be done at the "Path" level within "Asset Context" as well as all the individual expressions where "Water District" is referenced in your example. If there was a variable for %Path%, then this would only need to be changed in the asset context section for each calculation. 

      • smason
      • 4 days ago
      • Reported - view

       Gotcha! I'm with you now.

Content aside

print this pagePrint this page
  • 3 Votes
  • 4 days agoLast active
  • 3Replies
  • 12Views
  • 2 Following