capabilities.work

Add a Data Field to a Collection

A 3-step recipe with Affinda. We can help you get access.

Recipe · 3 steps

Add a Data Field to a Collection

with Affinda

Create a collection then add a custom data field and data point to it.

  1. Create the workspace that will hold the collection.
  2. Create an extractor-bound collection inside the workspace.
  3. Add a data field to the collection along with a new data point so the collection captures an additional value.
What you'll need to have ready
  • organization: The organization identifier to create the workspace under.
  • workspaceName: The display name for the new workspace.
  • collectionName: The display name for the new collection.
  • extractor: The extractor identifier the collection should use.
  • fieldLabel: The label shown for the new data field.
  • fieldType: The content type of the field (e.g. text, integer, float, date).
  • dataPointName: The name of the data point backing the field.
  • dataPointSlug: A unique slug for the data point.
For your developer

Arazzo workflow affinda:add-collection-data-field, 3 operations: createWorkspace → createCollection → createDataFieldForCollection. Specs on APIs.io.