Skip to main content
Solved

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

  • June 7, 2021
  • 1 reply
  • 629 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

 

1 reply

genietim
Forum|alt.badge.img+12
  • Legend
  • 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