adding if condition in the label parameter of grid column, if local!docids are not available then column should be blank and otherwise Uploaded documents.
Can you please help on this.
Thanks for your thoughts on this.
Discussion posts and replies are publicly visible
Hi srikanth ,
It's a known behavior of is null or empty function it will gives false for empty array .We have many approaches for example try using length function like
if(length({array})<=0,"","Upload documents")
Hi. To complement Venkat Avuluri suggestion, if there's a case where the variable "local!docsIds" is not a list, the length() function will return an error. To solve it, use the following code: if( or( a!isNullOrEmpty(local!docs), length(local!docs) = 0 ), "", "Uploaded Documents" )
if( or( a!isNullOrEmpty(local!docs), length(local!docs) = 0 ), "", "Uploaded Documents" )
More on null checking in my blog post: appian.rocks/.../
In addition to the previous answers, another possible solution is:
Thank you so much stefan, this post helped me to resolve the issue.