Nextcloud Tables icon

Nextcloud Tables

Verwalten Sie Ihre Nextcloud Tables - Tabellen, Zeilen und Daten

Overview

The "Share Erstellen" operation in the Nextcloud Tables node allows users to create a share for a specific table within Nextcloud Tables. This enables sharing access to a table either with an individual user or a group, specifying detailed permissions such as read, create, update, delete, and manage rights.

This node is beneficial when you want to programmatically control access to your Nextcloud Tables data, for example:

  • Sharing a project table with a colleague so they can view and update rows.
  • Granting a team group read-only access to a reporting table.
  • Automating the setup of shares when new tables are created or updated.

Properties

Name Meaning
Tabelle Select a table from the list or specify its ID to share.
Share-Typ Type of share: either with a specific user ("Benutzer") or a user group ("Gruppe").
Benutzer (If Share-Typ is "Benutzer") Select the user to share the table with.
Gruppe (If Share-Typ is "Gruppe") Select the group to share the table with.
Berechtigungen Permissions granted for this share. Options include: Lesen (read), Erstellen (create), Aktualisieren (update), Löschen (delete), Verwalten (manage).
Zusätzliche Optionen - Anzeigename Optional display name for the share to identify it more easily.

Output

The node outputs JSON data representing the result of the share creation operation. This typically includes details about the created share such as share ID, target user or group, permissions assigned, and possibly metadata about the shared table.

No binary data output is involved in this operation.

Dependencies

  • Requires a valid API authentication token or API key credential configured in n8n to connect to the Nextcloud Tables API.
  • The node depends on Nextcloud Tables API endpoints for managing shares.
  • The node uses internal helper methods to load options dynamically (e.g., available tables, users, groups).

Troubleshooting

  • Common issues:
    • Invalid or missing table ID: Ensure the table exists and the ID is correct.
    • User or group not found: Verify that the selected user or group exists in the Nextcloud instance.
    • Insufficient permissions: The API credentials used must have rights to create shares.
  • Error messages:
    • "Unknown resource": Occurs if the resource parameter is incorrect; ensure "share" is selected.
    • API errors related to authorization or invalid parameters will be passed through; check API credentials and input values.
  • To resolve errors, verify all inputs, ensure proper API credentials, and confirm the target user/group and table exist.

Links and References

Discussion