Actions144
- Activity Log Actions
- API Info Actions
- Article Actions
- Asset Actions
- Asset Layout Actions
- Asset Layout Field Actions
- Asset Password Actions
- Card Actions
- Company Actions
- Expiration Actions
- Export Actions
- Folder Actions
- Group Actions
- IP Address Actions
- List Actions
- List Options Actions
- Magic Dash Actions
- Matcher Actions
- Network Actions
- Password Folder Actions
- Photo Actions
- Procedure Actions
- Procedure Task Actions
- Public Photo Actions
- Rack Storage Actions
- Rack Storage Item Actions
- Relation Actions
- S3 Export Actions
- Upload Actions
- User Actions
- VLAN Actions
- VLAN Zone Actions
- Website Actions
Asset Layout Field → Create
AI-generatedOverview
This node operation creates a new field within an asset layout in the Hudu system. It is useful for users who want to customize asset layouts by adding specific fields such as text, number, date, or other types to better organize and track asset information. For example, a user can create a new text field labeled 'Serial Number' or a date field for 'Warranty Expiration' within an asset layout.
Use Case Examples
- Creating a new text field labeled 'Serial Number' in an asset layout to store asset serial numbers.
- Adding a date field labeled 'Warranty Expiration' to track warranty end dates for assets.
Properties
| Name | Meaning |
|---|---|
| Asset Layout Name or ID | Specifies the asset layout to which the new field will be added. The user can select from existing asset layouts or specify an ID via expression. |
| Label | The label or name of the new field to be created in the asset layout. |
| Field Type | The type of the field being created, such as Text, Rich Text, Heading, Check Box, Link, Number, Date, List, Embed, Phone, Asset Link, Address, etc. |
| Additional Fields | Optional additional settings for the field such as expiration tracking, hint text, destroyed status, linked asset layout, list options, min/max values, multiple selections, position, required status, and visibility in list view. |
Output
JSON
id- The unique identifier of the created asset layout field.label- The label of the created field.field_type- The type of the created field.asset_layout_id- The ID of the asset layout to which the field belongs.additionalFieldsexpiration- Indicates if the field is for expiration tracking.hint- Hint or help text for the field.is_destroyed- Indicates if the field is marked as destroyed.linkable_id- ID of the linked asset layout if applicable.list_id- ID of the list used for ListSelect fields.max- Maximum value allowed for the field.min- Minimum value allowed for the field.multiple_options- Whether multiple selections are allowed for ListSelect fields.options- Options for select-type fields.position- Position of the field in the layout.required- Whether the field is required.show_in_list- Whether the field is shown in the list view.
Dependencies
- Requires an API key credential for Hudu REST API authentication.
Troubleshooting
- Common issues include invalid or missing asset layout ID, which will cause the creation to fail.
- If required fields like 'Label' or 'Field Type' are missing, the node will throw an error.
- Ensure that list IDs and linked asset layout IDs are valid when specified, especially for ListSelect and linked fields.
- Errors related to permissions or API limits may occur if the API key credential is not properly configured or lacks necessary permissions.
Links
- n8n Expressions Documentation - Documentation on how to use expressions to specify dynamic values such as IDs.