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 → Create
AI-generatedOverview
This node operation creates a new Asset Layout in the Hudu system. It is useful for users who want to define custom layouts for assets, specifying how asset information is organized and displayed. For example, a user can create an Asset Layout with a specific name, set it as active or inactive, choose colors and icons, and decide which types of information (comments, files, passwords, photos) to include. Additionally, users can define custom fields within the layout, specifying field types, labels, positions, and other attributes.
Use Case Examples
- Creating a new Asset Layout named 'Office Equipment' with a blue background color and an icon representing a computer.
- Defining an Asset Layout that includes comments and files but excludes passwords and photos.
- Adding custom fields to the Asset Layout such as a text field for 'Serial Number', a date field for 'Purchase Date', and a checkbox for 'Under Warranty'.
Properties
| Name | Meaning |
|---|---|
| Name | The name of the Asset Layout to be created. |
| Additional Fields | Optional settings for the Asset Layout such as whether it is active, color and icon customization, and inclusion of comments, files, passwords, and photos. |
| Fields to Add/Update | Custom fields to add or update in the Asset Layout, including field type, label, position, and other attributes. |
Output
JSON
id- The unique identifier of the created Asset Layout.name- The name of the created Asset Layout.active- Indicates if the Asset Layout is active.color- The background color of the Asset Layout in hex code.icon- The Font Awesome icon code used for the Asset Layout.icon_color- The color of the icon in hex code.include_comments- Whether comments are included in the Asset Layout.include_files- Whether files are included in the Asset Layout.include_passwords- Whether passwords are included in the Asset Layout.include_photos- Whether photos are included in the Asset Layout.password_types- List of password types included in the Asset Layout.fields- Array of custom fields added or updated in the Asset Layout, each with properties like type, label, position, and other attributes.
Dependencies
- Hudu REST API
- API key credential for authentication
Troubleshooting
- Ensure the API key credential is correctly configured and has permissions to create Asset Layouts.
- Verify that required fields such as 'Name' are provided and valid.
- Check that any list IDs used in fields are valid numeric IDs.
- If the node throws an error about unknown resource, confirm that 'asset_layouts' is correctly specified as the resource.
Links
- Hudu API Documentation - Asset Layouts - Official API documentation for managing Asset Layouts in Hudu.
- Font Awesome Icon Search - Resource to find Font Awesome icon codes for use in the Asset Layout icon field.