How to construct links to open OneDrive files in app.diagrams.net

381 views
Skip to first unread message

Martin Dreyer

unread,
Jul 12, 2023, 10:34:40 PM7/12/23
to draw.io Q&A
(I am blown away by how good this product is)

I am storing my draw.io diagrams in OneDrive/SharePoint. Opening them by navigating through the dialogs works fine but I'd like to offer links in my app that take folk straight  to edit them at app.diagrams.net  (they will coauthor) and I need to construct the links programmatically.

I imagine something like this https://app.diagrams.net?src=[path to my file on OneDrive/SharePoint] but haven't found a syntax for this.

Is it possible?

draw.io Q&A

unread,
Jul 13, 2023, 2:09:19 AM7/13/23
to draw.io Q&A
Open the file in your browser and copy the link from the browser's address bar.

Martin Dreyer

unread,
Jul 19, 2023, 5:21:18 PM7/19/23
to draw.io Q&A
Thanks for replying  but I need to construct the links programmatically from my app. Diagrams get created programmatically and saved to SharePoint programmatically, so having a human manually copy each link is not viable.

draw.io Q&A

unread,
Jul 21, 2023, 4:08:05 AM7/21/23
to draw.io Q&A
We're not aware of any way to achieve that.
Reply all
Reply to author
Forward
0 new messages