drawio-nextcloud icon indicating copy to clipboard operation
drawio-nextcloud copied to clipboard

Feature Request: Support for URL Parameters in Nextcloud draw.io Integration (e.g., Open Specific Page)

Open Ver-Nunft opened this issue 7 months ago • 0 comments

Is your feature request related to a problem?

Currently, the Nextcloud draw.io integration does not support any URL parameters when opening diagram files. This means it is not possible to link directly to a specific page (e.g., page=2 or page-id=...) or to use any other parameters that are supported in the standalone diagrams.net (draw.io) application. This limitation makes it difficult to guide users to relevant content in large, multi-page diagrams and reduces the flexibility of sharing and collaboration.

Describe the solution you'd like

I would like the Nextcloud draw.io app to support common URL parameters as recognized by diagrams.net/draw.io, such as:

  • page (to open a specific page by index)
  • page-id (to open a specific page by ID)
  • Any other parameters that are supported by the upstream draw.io application

For example:

https://cloud.example.com/apps/drawio/edit?fileId=123456&page=2
https://cloud.example.com/apps/drawio/edit?fileId=123456&page-id=abcde12345

This would allow users to share links that open a diagram directly to the relevant section or page, improving usability and collaboration.

Describe alternatives you've considered

  • Adding instructions for users to manually select the correct page after opening the file.
  • Creating internal navigation links within the diagram itself (only possible after the file is already open).
  • Exporting and sharing individual pages as separate files (not efficient for dynamic or frequently updated diagrams).

Additional context

  • The lack of parameter support is a general limitation: currently, no URL parameters are respected or passed to the draw.io editor via the Nextcloud integration.
  • This feature would bring the Nextcloud integration closer to the functionality of the standalone diagrams.net/draw.io service.
  • It would be especially helpful for teams working with complex diagrams or documentation.

Thank you for considering this feature request!

Ver-Nunft avatar May 21 '25 19:05 Ver-Nunft