I'm trying to use the property ""connectedRepoItems"" in ""fields"", but even my card has one or more public table records associated, I got null values.{
card(id: ""XXX"") {fields { connectedRepoItems }
}
}answer:{
""data"": {
""card"": {
""fields"": [
{
""connectedRepoItems"": null
},
{
""connectedRepoItems"": null
},
{
""connectedRepoItems"": null"
Page 1 / 1
Hey Nigel,
To get the connected table records or cards, you need to query the child_relations, if it’s a child relation, or parent_relations, if it’s a parent relation
Like this:
{
card(id: 987654321) {
fields {
name
value
}
child_relations {
id
cards {
id
title
fields {
name
value
}
}
} parent_relations {
id
cards {
id
title
fields {
name
value
}
}
}
}
}
Reply
Join us in the Pipefy Community! 🚀
No account yet? Create an account
Login with your Pipefy credentials
or
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.