DataLab actions
If you've finished reading the DataLab queries documentation, you're ready to start performing actions against the response data.
An action is a server-side job that will be performed against all found Entities for your query. This allows you to perform bulk operations without having to iterate over the results in your client code.
Performing an action will return a PendingAction.ID for you to monitor. Refer to the Pending Action documentation for help.
Not all actions are currently documented. Please contact support if you want more information about any actions, including those available in Operator but not documented here.
Action: Set attribute value
DataLab action | Set attribute value
Action: Update Tags
DataLab action | Update Tags
Action: Create Entity Attachments
Attach an existing file to the selected Entities. This will not duplicate the file in the File Store.
DataLab action | Attach file
Action: Export JSON
Export the found Entities and related records into a series of JSON files zipped together.
DataLab action | Export JSON
Action: Export CSV
DataLab action | Export CSV
Action: Delete Entities
DataLab action | Delete Entities
Action: Delete Relationships
This action will delete Entity Relationships where the found Entities are the parent.
DataLab action | Delete Relationships
Action: Data Transformation
You can apply a data transformation process against each found Entity by creating a transformation record and applying it to an action.
We'll briefly cover the basic CRUD of these records, then show an example action using them.
Get Transformation records
Get Transformation by ID
Create/Update Transformation record
Delete Transformation by ID
Here is how you can apply a transformation to an action: