It’s currently the way it works but a future version might improve this.
BTW: You could also use replication to make this more flexible if your transclusions only use the name, e.g. replicate the items required by a document to the same group.
If document A is located in group 1 which is located in group 2, then the absolute path would be /2/1/A.
I have a database called Diaries. I create a new markdown record in a group called Temp (the path to which is /Temp ). I then create a transclusion as follows:
{{/Diary entries/2000-2009/2000/Thursday 13 January 2000}}
and that works perfectly for me to show that item in the new record.
Great, thx my friend Stephen.
Then, the absolute path is not on the finder side, it’s what we are seeing in DT view
Now, I can move my transclusion links (example)
from :
{{x-devonthink-item://74B72840-1F0E-4537-BDE6-F89A21830CE7}}
to :
{{/Cloud/CACF-Benefit}}
Its visually more clear.
Note: After testing, when we need to create a placeholder transclusion links, we need to add the file type, in this case {{/Cloud/CACF-Benefit.md}}.
Without the file extention, it will not work after we create the file “CACF-Benefit”.
But, if the target file already exist when creating the transclusion links, then the file extention is not needed. Perhaps, it was intentionally done by DT Dev team.
Since version 3.8 you can also just drag & drop Markdown documents and images while pressing the Ctrl modifier key to insert a transclusion. Depending on the location of both documents either a path or an item link is used.
Likewise drag & drop while pressing Cmd-Alt modifier keys inserts cross-links.
I am testing the two syntax for transclusions links. They are working fine.
But, if we need to change the other wikilinks in the global text for item links, we will use : Tools > Item Links > Convert Wikilinks to item links
That work fine.
But, it will destroy the transclusions link with {{ }} syntax, like shown bellow :
I’m using DEVONthink with Obsidian, by indexing my Obsidian vault with DT. Most of my files are in two Groups (call them A and B). I’m trying to use the ![] Obsidian syntax to transclude a document that resides in Group B into a document which is in Group A.
All of my documents have a unique file name, as I use a datetime prefix along with a file name (confirmed this by using Go > To Document… by the filename and only a single result appears).
the underlying directory structure I’m indexing against looks like:
obsidian-vault/
- pages/
- 220205 test in Group A.md
- journals/
- 220205 test in Group B.md
and then my DEVONthink directory structure:
commonplace (Database)/
- pages (entire directory indexed)/
- 220205 test in Group A.md
- journals (entire directory indexed)/
- 220205 test in Group B.md