For those of you trying to link to sources/documents in DEVONthink, there is a remarkably easy way to do it. In DT: index your vault, open the target note, then select the sources/docs you want to link to and Cmd-Alt-Drag & drop them into the note. Presto! the link(s) show up, properly formatted and named in Obsidian.

I’m on MAC and it does not seem to work for me neither. If I type for instance:

[link](file:///Users/username/Documents/foldername/filename)

I receive this message:

Any idea? Am I doing something wrong?

Any help is very much appreciated!

To help figure this out, could you try it out with a real test file and then paste here both the file’s path and the link you tried?

Hi,
thank you for this great an easy solution.
It seams works for local folder.
It´s great idea for linking to local folders
the syntax is:
[foldername](file:///local path)

1 Like

Be good for Local Links with Spaces to Work

Just a note no internal links with spaces are working. Would be a good feature to add.
Currently in Windows the working local links are:

  1. [Folder](file:///N:\..a)
  2. [Folder](file:///"N:\..a")
  3. [Image](file:///N:\..a\Figurative.png)
  4. [Image](file:///"N:\..a\Figurative.png")
  5. [File](file:///N:\..a\test.txt)
  6. [File](file:///"N:\..a\test.txt")

All links with spaces are currently not working: (see spolier below)

Personally having a local portable reference library, it would be useful to have spaces allowed. Though renaming is certainly a possibility.

I made a video just to show what was happening with various link syntax in windows.

Windows Video:

Click Here to see Links Tested

Local Links with no spaces Working
[Folder](file:///N:\..a)
[Folder](file:///"N:\..a")
[Image](file:///N:\..a\Figurative.png)
[Image](file:///"N:\..a\Figurative.png")
[File](file:///N:\..a\test.txt)
[File](file:///"N:\..a\test.txt")

Expected to Work:

[Folder](file:///N:\Documents\..Spiritual Library)
[Folder](file:///N:\..a)
[File](file:///N:\..a\test test.txt)
[Image](file:///N:\..a\Figurative.png)
[Image](file:///N:\..a\Figurative - 2.png)

None of the Local Links With Spaces Working
[Folder](file:///N:\Documents\..Spiritual Library)
[Folder]("file:///N:\Documents\..Spiritual Library")
[Folder](file:///"N:\Documents\..Spiritual Library")
[Folder](N:\Documents\..Spiritual Library)
[File]("file:///N:\..a\test test.txt")
[File](file:///N:\..a\test test.txt)
[File]("file:///N:\..a\test test.txt")
[File](file:///"N:\..a\test test.txt")
[File](N:\..a\test test.txt)
[File]("N:\..a\test test.txt")
[Image](file:///N:\..a\Figurative - 2.png)
[Image](file:///"N:\..a\Figurative - 2.png")
[Image]("file:///N:\..a\Figurative - 2.png")

Local Links with no spaces (mixture of trials)
[Folder](file:///N:\..a)
[Folder](file:///"N:\..a")
[Folder]("file:///N:\..a")
[File](N:\..a\test.txt)
[File]("N:\..a\test.txt")
[Image](file:///N:\..a\Figurative.png)
[Image]("file:///N:\..a\Figurative.png")
[y-Image](file:///"N:\..a\Figurative.png")
[Image](N:\..a\Figurative.png)
[Image]("N:\..a\Figurative.png")

Links must be URL Encoded… change spaces to => %20

2 Likes

:slight_smile: so obvious, been over seven years since I have had to think about this stuff, thanks for the tip, will check it out. :seedling:

As one can shift right click and ‘copy as path’ in windows, I will leave it as a possible suggestion anyhow, that this native windows path would work with the file syntax in front.

Anyway the program is a very powerful tool, I am very appreciative to the developers and communtiy.

Thanks @luckman212 all working well.

For anyone who struggles with this code stuff; the resulting awnser:

“N:…a\important - note - 2021 - Jan12.docx”
becomes
[File](file:///"N:\..a\important%20-%20note%20-%202021%20-%20Jan12.docx")
or
[File](file:///N:\..a\important%20-%20note%20-%202021%20-%20Jan12.docx)

If not comfortable there is a converter here

Example of how to use here

2 Likes

Hi jwb,

Your suggestion looks great but I can’t seem to get it to work.
Do you mean holding Cmd-option-Drag & drop? There is no Alt on the Mac.
I tried that as well but all it does is coppy the image from devonthink into the obsidian vault and inserts a simple link in the document.
What i want to do is reference an image stored in devonthink without moving it over and also have it be displayed inline.

Thanks in advance for your help!

Odd. I got this to work earlier (dragging with cmd+opt held from DEVONthink into Obsidian to create a DEVONthink item link), but now I can’t make it happen again. (Note: the option key is the alt key; many Mac keyboards have alt printed on the key!)

It will always work from a DEVONthink window to a DEVONthink window, though. You may want to use the DEVONlink plugin to quickly open a note you’re working on in DEVONthink and then use this workflow.

This is not possible, however. If the file is stored in DEVONthink, you can’t embed/transclude it in Obsidian (using the DEVONthink link). Obsidian doesn’t have the capability of rendering a DEVONthink item link embed.

Thanks so much Ryan for your reply.
Ok if embedding images stored in Devonthink doesn’t work, I will simply move those images in the obsidian vault.

However, I now use Devonthink to view all my imported MD notes on iPhone. If I just index those notes, I can still see the names on iPhone but when I click on “download” nothing happens and I can’t see the notes.

Is there some other way I can do this?
If not, I guess I’ll have to wait for the Obsidian ios version to come out.

Not sure, sorry. You might want to reach out to DEVONthink support!

Hello all,

first of all, I really like Obsidian software and recommend it to everyone, who I think could benefit from it.

I would like to ask if it is possible to somehow include links to the local server share. I thought that Obsidian could be well used as an organization’s knowledge base. I noticed that I cannot use the file:/// syntax for links like:

\\fileshare\Departments\Medicine\

If it should be posted as a separate question, please let me know. Thank you!

Hi.

Sorry, I don’t know about it.

And I think it is better if you re-post this question in #get-help section, because this is archived topics, and few/no people will read your question in here.

1 Like

Thank you!

Cross-posted to: Using local server share links

Will [File](/…) be allowed without file:// in front of the path ?

Don’t know if you’ve found an answer or solution, but if not, try this:

[Network - Depts\Medicine](<file:///\\fileshare\Departments\Medicine>)

That should work.

The “Network - Depts\Medicine” part that is between the square brackets is just a description for you to describe that it’s from the network server, and the section of the network server that you are linking to.

The part that is between the parentheses is the link to your server share.

Hi, @N1755L Latest version of Obsidian encodes all included links and solves this issue.

Thank you!

O

Oh… Nice! So is this only for files within the vault, or any linked file on your PC? Thanks.

Wait a sec, oh, we’re talking about network shares? Seems I have the latest version, v0.12.3, but if I link to a local file, and then decide to move that file to a different folder, my link within Obsidian is broken. Are you referring to something different than this?