Skip to main content
Solved

How to offset the card fields in graphql


enrique.herbella

Hi

Using graphql I am looking to access a card that has over 100 fields.

I notice that I always get the first 100 fields when using :
 

{
  card(id: 5555555555) {
    id
    title
    fields {
      name
    }
  }
}

Is there a way by which I could offset the fields I retrieve using graphql?
Thanks!

Best answer by Lais Laudari

Hi @enrique.herbella!

For your case, you will always need to tell it what information you want the query to show you.
 

query MyQuery {

    allCards(pipeId: ####) {

        edges {

            node {

                fields {

                    field {

                        id

                    }


There is a shortcut you can just click on the CTRL key + Space key, which shows you the options you can use. With that, all the fields that will appear are the ones that are available for that part of the query.
In this print below you can see an example of using the CTRL + Space key to show all the options I can use in that field:
 

 

View original
Did this topic help you find an answer to your question?

4 replies

Lais Laudari

Hi @enrique.herbella!

For your case, you will always need to tell it what information you want the query to show you.
 

query MyQuery {

    allCards(pipeId: ####) {

        edges {

            node {

                fields {

                    field {

                        id

                    }


There is a shortcut you can just click on the CTRL key + Space key, which shows you the options you can use. With that, all the fields that will appear are the ones that are available for that part of the query.
In this print below you can see an example of using the CTRL + Space key to show all the options I can use in that field:
 

 


enrique.herbella

Thanks!


Ezequiel Souza
Forum|alt.badge.img+14

👏👏👏👏👏👏


marcosmelo
Forum|alt.badge.img+18
  • Pipefy Legend
  • 1465 replies
  • October 5, 2023
Lais Laudari wrote:

Hi @enrique.herbella!

For your case, you will always need to tell it what information you want the query to show you.
 

query MyQuery {

    allCards(pipeId: ####) {

        edges {

            node {

                fields {

                    field {

                        id

                    }


There is a shortcut you can just click on the CTRL key + Space key, which shows you the options you can use. With that, all the fields that will appear are the ones that are available for that part of the query.
In this print below you can see an example of using the CTRL + Space key to show all the options I can use in that field:
 

 

TKS!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings