Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
10 replies
Subscribers
7 subscribers
Views
3553 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
I would like to display some status images in a a!gridImageColumn based on the r
patrickp
over 9 years ago
I would like to display some status images in a a!gridImageColumn based on the result of a condition in a expression rule. The structure is the following:
a!gridImageColumn(
label: "STATUS",
size: "ICON",
field: "travelId",
data: apply(rule!displayStatusImage,local!dataForCurrentPage.travelId))
According to the evaluation, the outputs of rule!displayStatusImage are a!documentImage(document:a!iconIndicator("STATUS_OK")) or
a!documentImage(document:a!iconIndicator("STATUS_NOTDONE") but the error in my SAIL form says:
"A gridImageColumn [label=“STATUS”] has an invalid value for “data.” All elements of “data” must be of the type SafeImage or DocumentImage but were [“Record; Record; Record”]"
I tried to use a!webImage as well but the same error appears.
Thanks in advance!
OriginalPostID-143152
OriginalPostID-143152
Discussion posts and replies are publicly visible
Parents
0
patrickp
over 9 years ago
Of course the error still persists.
In addition, I could say that a part from the gridImageColumn the other gridTextColumns are displayed properly.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
patrickp
over 9 years ago
Of course the error still persists.
In addition, I could say that a part from the gridImageColumn the other gridTextColumns are displayed properly.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data