Actions31
- Table Actions
- View Actions
- Column Actions
- Share Actions
- Import Actions
- Row Actions
Overview
The node "Nextcloud Tables" allows users to manage Nextcloud Tables resources, including tables, views, columns, shares, imports, and rows. Specifically, the Update View operation lets you modify an existing view within a Nextcloud Table by changing its title, emoji, description, filters, and sorting rules.
This node is beneficial when you want to programmatically update how data is presented or filtered in a Nextcloud Table view without manually editing it through the Nextcloud interface. For example, you can rename a view to reflect new criteria, add or adjust filters to show only relevant rows, or change sorting to prioritize certain data.
Practical examples:
- Automatically update a view's title and description based on external triggers or workflows.
- Modify filters dynamically to show only rows matching specific conditions.
- Change sorting order to highlight recent or important entries.
Properties
| Name | Meaning |
|---|---|
| View | Select a view from the list or enter its numeric ID to specify which view to update. |
| Title | The new title of the view (optional). Can be set via expression. |
| Emoji | The new emoji icon for the view (optional). Can be set via expression. |
| Description | The new description text for the view (optional). Can be set via expression. |
| Filter | One or more filter rules to apply to the view. Each rule includes: |
| - Column: The column to filter on (selectable from table columns). | |
| - Operator: The comparison operator (e.g., EQ for equals). | |
| - Value: The value to compare against (can be an expression). | |
| Sorting | One or more sorting rules to apply to the view. Each rule includes: |
| - Column: The column to sort by (selectable from table columns). | |
| - Direction: Sorting direction, either Ascending (ASC) or Descending (DESC). |
Output
The node outputs JSON data representing the updated view object as returned by the Nextcloud Tables API. This typically includes the view's ID, updated title, emoji, description, applied filters, sorting rules, and other metadata.
No binary data output is involved in this operation.
Dependencies
- Requires an API key credential for authenticating with the Nextcloud Tables API.
- The node depends on Nextcloud Tables API endpoints to perform operations on views.
- Proper configuration of the API endpoint and credentials in n8n is necessary.
Troubleshooting
- Invalid View ID: If the provided view ID does not exist or is invalid, the node will throw an error. Ensure the view ID is correct and accessible.
- Permission Errors: Insufficient permissions on the Nextcloud instance may cause failures. Verify that the API key has rights to update views.
- Filter or Sort Configuration Issues: Incorrect column IDs or unsupported operators in filters or sorting rules can cause errors. Use the node's dropdowns to select valid columns and operators.
- API Connectivity Problems: Network issues or incorrect API URLs will prevent successful updates. Check connectivity and API endpoint settings.
- Expression Errors: If expressions used in properties like Title or Filter values are invalid, the node may fail. Validate expressions before execution.