Actions100
- Activity Log Actions
- Article Actions
- Asset Actions
- Asset Layout Actions
- Asset Layout Field Actions
- Asset Password Actions
- Card Actions
- Company Actions
- Expiration Actions
- Folder Actions
- IP Address Actions
- List Actions
- Magic Dash Actions
- Matcher Actions
- Network Actions
- Password Folder Actions
- Procedure Actions
- Procedure Task Actions
- Public Photo Actions
- Rack Storage Actions
- Rack Storage Item Actions
Overview
This node interacts with the Hudu REST API to update an existing Asset Layout Field within a specified Asset Layout. It allows users to modify various attributes of a field such as its label, type, position, and other metadata.
Common scenarios where this node is beneficial include:
- Adjusting the structure or metadata of asset layouts dynamically based on changing business requirements.
- Automating updates to asset fields without manual intervention in the Hudu interface.
- Integrating asset layout management into broader workflows that involve asset tracking or documentation.
For example, you might use this node to change the label of a field from "Serial Number" to "Asset Serial Number," mark a field as required, or update the field type from "Text" to "Number" to better reflect the data it should hold.
Properties
| Name | Meaning |
|---|---|
| Asset Layout Name or ID | Select or specify the ID of the Asset Layout containing the field to update. |
| Field Name or ID | Select or specify the ID of the specific Asset Layout Field to update. |
| Update Fields | A collection of optional fields to update for the selected Asset Layout Field: - Expiration: Whether this field tracks expiration (boolean). - Field Type: The type of the field; options include Text, Rich Text, Heading, Check Box, Link, Confidential Text, Number, Date, List, Embed, Copyable Text, Phone, Asset Link, Address. - Hint: Help text for the field. - Is Destroyed: Marks the field as destroyed (advanced use). - Label: The display label of the field. - Linkable ID: ID of a linked resource (optional, advanced). - Maximum Value: Maximum allowed value (for numeric fields). - Minimum Value: Minimum allowed value (for numeric fields). - Options: Comma-separated options for select-type fields. - Position: Position/order of the field in the layout. - Required: Whether the field is mandatory. - Show in List: Whether to show this field in list views. |
Output
The node outputs a JSON array where each item corresponds to the updated Asset Layout Field. Each output item contains the updated field's properties as returned by the Hudu API after the update operation.
No binary data is output by this node.
Dependencies
- Requires an active connection to the Hudu REST API.
- Requires an API key credential configured in n8n for authentication.
- The base URL for the Hudu API must be set in the node credentials.
- The node depends on internal option loaders to fetch available Asset Layouts and their Fields for selection.
Troubleshooting
- Invalid Asset Layout or Field ID: If the specified Asset Layout or Field ID does not exist or is incorrect, the API will return an error. Verify IDs using the option selectors or expressions.
- Insufficient Permissions: Ensure the API key used has permissions to update asset layout fields.
- Invalid Field Type or Options: When updating the field type or options, ensure values are valid and consistent with the expected types (e.g., options for select fields must be comma-separated strings).
- API Connectivity Issues: Network problems or incorrect base URL/API key can cause failures. Confirm credentials and network access.
- Continue On Fail Behavior: If enabled, errors for individual items will be returned as JSON objects with an
errorproperty instead of stopping execution.
Links and References
- Hudu API Documentation (general reference for API endpoints)
- n8n Expressions Documentation (for dynamic parameter values)