Actions100
- Activity Logs Actions
- Articles Actions
- Asset Layouts Actions
- Asset Passwords Actions
- Assets Actions
- Get Assets
- Get Companies Company Id Assets
- Post Companies Company Id Assets
- Get Companies Company Id Assets Id
- Put Companies Company Id Assets Id
- Delete Companies Company Id Assets Id
- Put Companies Company Id Assets Id Archive
- Put Companies Company Id Assets Id Unarchive
- Put Companies Company Id Assets Id Move Layout
- Cards Actions
- Companies Actions
- Expirations Actions
- Exports Actions
- Folders Actions
- IP Addresses Actions
- Lists Actions
- Magic Dash Actions
- Matchers Actions
- Networks Actions
- Password Folders Actions
- Procedure Tasks Actions
- Procedures Actions
- Public Photos Actions
- Rack Storage Items Actions
- Rack Storages Actions
- Relations Actions
- Uploads Actions
Overview
This node operation updates an existing Asset Layout by its ID. It allows users to modify various properties of the Asset Layout such as its name, colors, icon, included fields, and visibility options like including passwords, photos, comments, and files. This is useful in scenarios where asset layouts need to be customized or updated dynamically based on changing requirements or user preferences.
Practical examples include:
- Updating the color scheme or icon of an asset layout to match branding changes.
- Adding or removing specific fields displayed in the asset layout.
- Enabling or disabling inclusion of sensitive information like passwords or photos for security or privacy reasons.
Properties
Name | Meaning |
---|---|
Id | ID of the Asset Layout to be updated |
Additional Body Fields | Optional fields to update in the Asset Layout: |
- Fields | An array of field names to include in the Asset Layout |
- Active | Boolean indicating if the Asset Layout is active |
- Icon Color | Hex code string representing the icon color |
- Color | Hex code string representing the background color |
- Icon | Icon class name string |
- Name | Name of the Asset Layout |
- Include Passwords | Boolean to include passwords in the Asset Layout |
- Include Photos | Boolean to include photos in the Asset Layout |
- Include Comments | Boolean to include comments in the Asset Layout |
- Include Files | Boolean to include files in the Asset Layout |
- Password Types | String listing password types separated by new line characters |
Output
The node outputs JSON data representing the updated Asset Layout object returned from the API after the update operation. This typically includes all the properties of the Asset Layout reflecting the changes made.
If the node supports binary data output (not indicated here), it would represent associated files or media related to the Asset Layout.
Dependencies
- Requires an API key credential for authentication with the external service managing Asset Layouts.
- The base URL for the API must be configured in the node credentials.
- The node depends on the external API endpoint that supports updating Asset Layouts by ID.
Troubleshooting
- Invalid ID error: Occurs if the provided Asset Layout ID does not exist. Verify the ID is correct.
- Authentication errors: Ensure the API key or authentication token is valid and has permissions to update Asset Layouts.
- Validation errors: If any body fields are invalid (e.g., malformed JSON in fields array, invalid hex color codes), the API may reject the request. Double-check input formats.
- Network issues: Connectivity problems with the API server will cause failures; verify network access and API availability.
Links and References
- Refer to the external API documentation for Asset Layouts for detailed field definitions and constraints.
- n8n documentation on how to configure API credentials and use HTTP request nodes for custom API calls.