Hello Folks:
I am trying to figure out why the "value: ......." works when I use fv!identifier but fails when I use fv!row (this gives me all 14 values as the output) whereas I am looking for just the current grid-row's value (one value). The gridfied documentation seem to imply both are equi
As usual, thanks to the community on my Appian learning journey.
Ma
Discussion posts and replies are publicly visible
Could you please share the data store in local variable currentProductNutrients
HI Komalj
If I understand your request correctly, this is the information you information you are seeking.
Hi
I tried this
a!localVariables( local!data:{{number:301,name:"Calcium"}, {number:303,name:"Calcium"}}, a!gridField( data: local!data, columns: a!gridColumn( label: "Number", value: fv!row.number ) ))
and it worked
Are you using a!localVariables if yes could you please share the data of you local variable from the local variable data section
I strongly feel your data structure is incorrect
KomalThe issue was my incorrect usage of syntax to access the data field. I was originally using it as shown in the image below.
As Mike Schmitt pointed out (and as your example shows), I was using fv!row as an index to the data ".number[fv!row]" which is incorrect. I should have used "fv!row.number".
I am not sure what you mean by 'data structure is incorrect'. The local variable I am using is as shown in the earlier image I had sent.
Thanks for your help.
Great. I assumed the data is improper dictionary structure and so you are facing issue while using .number.