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
2 replies
Subscribers
7 subscribers
Views
1542 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
#SAIL Hi there, I'm having trouble to print some data
michelb
over 11 years ago
#SAIL
Hi there,
I'm having trouble to print some data on a Grid.
We are using the following structure on a CDT (which is also a database on MySQL):
CDT1
CDT2 (multiple)
field1
field2
field3
When I use a rule to filter my CDT1 and find the CDT2 objects which correspond to it,
I cannot print the field1, field2 and field3, because an error appears saying
they're not list type.
I understanded that the grid text column just prints an array, and my array is the
CDT2, not the fields inside of it. I want to know how can I print the fields on the Grid,
putting them inside an array. Is there some way to do this ?
I have a foreign key of my CDT1 inside my CDT2, but it cannot be used with Appian Query Rules.
Here's a practical example of what I'm trying to do:
a!gridTextColumn(
label: "Field1",
data: index(
local!datasubset.data.cdt2,
"cdt2.field1",
{}
),
field: "field1"
)
Thanks !
...
OriginalPostID-99711
OriginalPostID-99711
Discussion posts and replies are publicly visible
Parents
0
michelb
over 11 years ago
Thank you, bend ! It worked very well !
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
michelb
over 11 years ago
Thank you, bend ! It worked very well !
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data