I am trying to test ignition 8 with existing projects and also I want to try perspective.When I migrated my old projects I got lot on errors on expression for one I saw was ,I use view() to format data sets.Is this function no longer valid in v8 ? and what is the alternative.Also is their any manual for v8?
Why couldn’t I write expressions as below:
x = concat("[default]Pod3PositionValveShared_DB_1/",{TestTemplate.TagName},".value")
jsonGet({x},“topDescription”)
If I couldn’t, is there another solution?
I writed an expression as below:
jsonGet({concat("[default]Pod3PositionValveShared_DB_1/",{TestTemplate.TagName},".value")},“topDescription”)
but it would throw an exception of “Scan Error: Nested paths not allowed.”
This doesn't work because the expression language doesn't support variables. You must write your expression in a functional style - there's no advanced control flow like loops, and no extra operators like variable assignment.
This doesn't work because you can't construct a dynamic tag path within curly braces - only a single literal string is allowed. To do a dynamic tag path lookup, either add an additional custom property with an indirect tag binding, or use the tag expression function.