I've been trying to attach OneNote links to Trello cards. They are supposed to automatically open within the desktop app so that I can quickly see the referenced material of the card.
My problem is the way Trello handles URLs.
The way to open a OneNote file would be to create the link from the note, then paste the link (which has two parts: The first is an URL to the web app and the second one to the desktop app).
The link to the desktop app always looks like this:
Unfortunately, Trello doesn't recognize this as an URL. It converts the link to something like this:
Added as an attachment, it looks like this:
Added in the description of a card it looks like this:
Any ideas on how to "convince" Trello to use the desired URL format?
I could not test this with OneNote as I don't use it, but I tested it with Evernote and it worked! Have you tried using the Markdown link formatting in the note description? It would look like this:
[Note name here](evernote:///view/2125064/s19/blahblahblah/)
When I use this, it opens the note in the Evernote app, which I believe is the behavior you're looking for in OneNote.
Hope this helps!
I'm happy that worked, Christian!
I would still submit a feature request to email@example.com to build this into the attachments section of the card, if that's a feature you want. This email goes right to Trello devs, so your voice is guaranteed to be heard :)
Hi - links work for me.
In OneNote app I go to the page, right click and select Copy Link to Page. Then in the Trello card comment, click on the Attachment icon, paste the link (Ctrl+V), and type in the text you want to display (if other than the link which can be quite long and painful to look at). It does take a second or two to render upon save, but then I can access the OneNote page from the Trello card.
That said, when I click on the link to open it, it does open in the web version of OneNote and not the desktop app, but that's fair since I'm using Trello online and it still gives me access what I need.
Yes, I can open links in OneNote / OneDrive web when I save them as you described. This will be useful on-the-go.
It's faster, though, to open up my local notebook through the markdown link option as Devon mentioned above.
I think, I'll look for a way to auto-format OneNote's double-link for markdown so that I can choose from the web and online version depending on the situation.
Something like this:
Looks like this:
// Start with the clipboard content
var result = TextExpander.pasteboardText;
// Add Syntax and global description for start section
result = result.replace(/^https/, "[OneNote Web-Link](https");
// Add Syntax for mid section
result = result.replace(/\n/, "\)\n[OneNote Desktop-Link](");
// Add closing bracets
result = result.replace(/\&end/, "&end)");
// Return the result
What works: Links to sections and pages.
What doesn't work: Links to passages.
I hope this helps you when creating your own solution.
If you had to thrive a new habit during a lockdown, what would it be? Trello
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event