Skip to main content
Solved

How do I add data in connector type fields through API?

  • June 7, 2021
  • 1 reply
  • 572 views

ivan99

 

Hi, I'm starting API development. I'm able to create a card through my environment using GraphQL, but I'm not able to add data to a connector type field. Field information:

 {
          "id": "contatos",
          "type": "connector",
          "index_name": "field_29_connector",
          "description": "",
          "label": "Contatos:",
          "allChildrenMustBeDoneToFinishParent": false,
          "canConnectExisting": true,
          "connectedRepo": {}
        },

 

Best answer by genietim

As far as I know, the workflow would be the following:

  1. 1. Create connected record,
  2. 2. Connect the records e.g. through a `updateFieldValue` or a `createCardRelation` mutation.

Example for database connection field entries:

https://community.pipefy.com/ask-the-community-43/can-t-connect-a-tablerecord-in-to-another-table-420

 

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

1 reply

genietim
Forum|alt.badge.img+12
  • Pipefy Legend
  • 412 replies
  • Answer
  • June 7, 2021

As far as I know, the workflow would be the following:

  1. 1. Create connected record,
  2. 2. Connect the records e.g. through a `updateFieldValue` or a `createCardRelation` mutation.

Example for database connection field entries:

https://community.pipefy.com/ask-the-community-43/can-t-connect-a-tablerecord-in-to-another-table-420

 


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