Solved

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

  • 7 June 2021
  • 1 reply
  • 473 views

Userlevel 2

 

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": {}
},

 

icon

Best answer by genietim 7 June 2021, 14:52

View original

1 reply

Userlevel 7
Badge +12

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

 

Reply