How to access items in DTTG with other Apps?

Could you please explain the mechanics?

I want to share a folder to an App.
Where and how to do that?

Within DTTG?
Within the Files App?

Or are folders not possible and this only works for single files?

I totally have no idea how and where to do this :flushed:

Going to search the PDF, but not sure for what term i need to search

You cannot share groups (folders) but only documents. Groups in DEVONthink To Go are no ā€œrealā€ file system constructs but virtual, and virtual folders cannot be opened using the Open Inā€¦ mechanism. You can, of course, also access everything in DEVONthink To Go through the Files app or any app that uses the file provider mechanism.

1 Like

So in iOS 13 Files App API changes, it is possible to make it so other apps can ask for access to an entire folder. Secure shellfish supports it and itā€™s pulling files from my servers so I assume that DEVONthink should be able to do it as well.

Only thing is that all of the features that Apple added to iOS that let DEVONthink be DEVONthink require iOS 13/14

Source: ( Whatā€™s New in File Management and Quick Look - WWDC19 - Videos - Apple Developer )

Thatā€™s correct. Unfortunately, DEVONthink To Go doesnā€™t store its data in folders that closely resemble the file structure you see in its interface. And Apple added these API changes in the most primitive way and completely ignored virtual file systems based on file providers (like DEVONthink To Go and other apps).

You can probably mirror the DB with empty files and folders like the shellfish dev did and load the files on demand but then you would need to have a cache that will take up more space and this would probably be a big task to get files to be happy with loading folders with thousands of files.

Itā€™s doable but no small task. Can be probably considered a major complex feature.

Yes, weā€™d basically need to recreate the whole group structure including replicants in a folder that is then accessible through Appleā€™s mechanism. Unless Apple adds file provider support to their API which opens the feature to all file-provider-based apps in one go. Itā€™s our to-do list.

Ahhh I now understand why DTTG file provider is greyed out in some apps. Thanks for the clarification.

Hi - what is meant by ā€œlong-pressā€ and which is the option that allows the document to be opened in a PDF viewer? I am not getting a separate menu of options when I select it and Iā€™m not sure which option to use to avoid having the document leave Devonthink when I highlight it. First time user and would greatly appreciate a link to a step-by-step explanation of how to open from DDTG into PDF viewer on ipad!! Thank you!

Use your favourite search engine on ā€œios longpressā€ for lots of info on this standard Apple IOS feature.

1 Like

Thank you - I am using the ā€œlong press,ā€ but Iā€™m just getting the same menu options as regular press - ā€œopen in new window,ā€ ā€œcopy item link,ā€ ā€œimport to acrobatā€ etc - is it one of these commands? The conversation above implies that an ā€œopen inā€ or ā€œopen withā€ option should differently show upon long press! Thanks for helping to clarify!

Sorry, I canā€™t help you. Not only do I not see what you report, but when I ā€œlong pressā€ a test markdown file I see on an iPhone (fully patched with newest version of DEVONthink ToGo) whatā€™s shown here. Apple IOS must have done something to your setup.

Thanks - thatā€™s helpful to see - Iā€™ll give them a call

You need to share the file first and then long-press the Devonthink icon from the share sheet.

2 Likes

Just found this (for me) very relevant thread. Thanks for the good insights.

Being a DT(TG) user for not too long Iā€™m starting to put office docs in the system, instead of ā€œjustā€ PDFs for reference.
The process of editing a file within an external app appears different to me than suggested before. (Not sure if that changed but for DTTG 3.5 I found the following working.)

  1. long-press on file, then
  2. share button, then
  3. select app to edit the file (e.g. Excel).

Changes in the file will be reflected in the system. :slight_smile:

2 Likes