Hudu icon

Hudu

Interact with Hudu REST API

Asset Layout Field → Get

AI-generated

Overview

This node operation retrieves a specific field from an asset layout in the Hudu system. It is useful when you need to access detailed information about a particular field within an asset layout, such as its configuration or metadata. For example, you might use this operation to fetch the properties of a custom field defined in an asset layout to display or process it further in your workflow.

Use Case Examples

  1. Retrieve the details of a field named 'Serial Number' from a specified asset layout to validate or use in asset management processes.
  2. Fetch a field by its ID from an asset layout to update or audit asset information.

Properties

Name Meaning
Asset Layout Name or ID Select or specify the ID of the asset layout from which to get the field.
Field Name or ID Select or specify the ID of the field within the chosen asset layout to retrieve.

Output

JSON

  • id - The unique identifier of the asset layout field.
  • name - The name of the asset layout field.
  • type - The data type of the field (e.g., text, number, date).
  • required - Indicates if the field is mandatory.
  • defaultValue - The default value set for the field, if any.
  • options - Possible options for the field if it is a selectable type.

Dependencies

  • Requires an API key credential for Hudu REST API authentication.

Troubleshooting

  • Ensure the asset layout ID and field ID are correctly specified and exist in the Hudu system to avoid 'resource not known' or 'field not found' errors.
  • If the node throws an error about unknown resource, verify that the resource parameter is set to 'asset_layout_fields'.
  • Check API credentials and network connectivity if the node fails to retrieve data from the Hudu API.

Discussion