Infinity icon

Infinity

Work with Infinity items

Actions25

Attribute → Update

AI-generated

Overview

This node updates an existing attribute in an Infinity board within a specified workspace. It allows users to modify the attribute's name, type, default data, and settings. This operation is useful for managing and customizing the metadata fields of items in Infinity boards, such as changing the label or type of an attribute to better fit the data structure.

Use Case Examples

  1. Updating the name of an attribute to better describe its purpose.
  2. Changing the attribute type from text to number to reflect the data it holds.
  3. Modifying the default data or settings of an attribute to adjust its behavior or appearance.

Properties

Name Meaning
Workspace ID The ID of the workspace where the attribute exists.
Board ID The ID of the board within the workspace where the attribute exists.
Attribute ID The ID of the attribute to update.
Attribute Name The new name for the attribute. Leave empty to keep the existing name.
Attribute Type The type of the attribute, such as text, number, checkbox, etc.
Attribute Fields Additional fields for the attribute including default data and settings as JSON objects.

Output

JSON

  • json
    • id - The ID of the updated attribute.
    • name - The name of the updated attribute.
    • type - The type of the updated attribute.
    • default_data - The default data set for the attribute.
    • settings - The settings configured for the attribute.

Dependencies

  • An API key credential for authenticating requests to the Infinity API.

Troubleshooting

  • Error "Set at least one attribute field to update." occurs if no update fields are provided; ensure at least one field (name, type, default data, or settings) is set.
  • Invalid JSON errors may occur if the default data or settings fields contain malformed JSON; validate JSON syntax before input.
  • API request failures may happen due to incorrect workspace, board, or attribute IDs; verify IDs are correct and accessible with the provided credentials.

Discussion