Is there a way to pin/lock specific files and folders at the top?

Hello! Please help me learn if there is a way to pin or lock individual folders and files at the top.

If not, may I take the chance to suggest such a feature: it would be nice to be able to pin selected files so that they are always displayed above the rest. This feature would be useful in scenarios where you keep ‘Read Me’ files or general notes and instructions within a folder, which for now are easily missed because of the sorting, as files naturally appear after folders. As a quirky workaround, I am forced to move individual files into folders and rename such folders to something like ‘0. Notice me’ to cheat the sorting by name, but this is not robust, as it is time-consuming and prevents me from using different sorting methods.

1 Like

Currently, no you cannot pin documents. You can use General > Interface > Keep groups on top when sorting to always show groups first in the item list. If you want a custom sort method, there is the Unsorted option, allowing you to sort manually in whatever way you want.

Not the top, but you can pin groups/files/tags in the sidebar Favorites section

1 Like

@Seagull And if you then set up a shortcut to quickly switch between “unsorted” and “something else”, it works pretty well. “Unsorted” always retains the last selected order.

2 Likes

@BLUEFROG Yes, I use this feature and I like having my groups on top when sorting. Thank you.

@DTLow Thank you for the suggestion. Sidebar Favourites is indeed a nice feature, but more as a quick access to folders that are deep in the library.

@FrankT Thank you for the idea. Yes, it might give the same result, but the problems are: (1) I may not be aware that a specific folder contains files or groups I need to pay attention to, so I will simply overlook the sorting. This is easy enough when working with a small library, but when you have thousands of groups, subgroups and so on and access some groups only once a year, the approach becomes unfeasible. (2) With this approach you lose sorting options. If I want my files and folders sorted in an unsorted view, I need to do that manually at first and then again each time I add new files – which is a high price to pay just to keep some files on top.


I thought it might be better to demonstrate what I mean with a simplified example. Consider a folder with content arranged as follows:

I find it neat and well sorted, but it is hard to spot that there are two important elements:

So my suggestion is to allow pinning the elements (such as files and groups) so that they supersede other rules such as ‘groups on top’ and sorting:

@BLUEFROG May I ask you to include this idea in the list of considerations for future improvements, please.

1 Like

The request is noted.

1 Like

Labels and/or custom icons might be an option to mark these items.

2 Likes

Bluefrog kindly showed me a way to keep Tags on top by selecting “Settings > General > Interface > Keep groups on top when sorting”. You could then tag a file, or a whole group, so that you would find it under that Tags heading at the top (provided your tags are not unified). So you would see it in two places, one of which would be near the top under Tags. I don’t know if that in any way helps.

1 Like

Hello and thank you for your tip. If I understand correctly, your recommended approach is to use the expanded view instead of entering the groups, so that I can always see the tags above them. I just tried it:

While it might do the trick for small and dedicated databases, where you have only a few instructions pinned at the top and the rest are just folders with content arranged in some order, based on the example above I can outline three problems I see for myself in using this approach:

  1. I find it difficult to spot which files belong to the Some Group that I have currently expanded by looking at the tags on top. This is because the Notice Me tag includes files from other groups that are irrelevant at the moment. The only way is to match them visually (not to mention the files may even have the exact same names if they come from different groups).

  2. If I have many groups or a large number of other tags or files within the Notice Me tag, the expanded group and the tag group may no longer fit in a single view without scrolling.

  3. The expanded view feels less content-centric to me, as it is harder to focus on the content within a particular group of interest. Sorting in this view also affects all groups and files in the database.

  4. As you have mentioned, using this approach means I have to refrain from unified tags, which are useful for other features.

My current approach, as I mentioned at the beginning of the topic, is to group all such groups and files into another group and rename it to start with something like a zero, so that it comes before the default alphabetical order when sorting by name:

This approach has its own drawbacks, which I believe would have been avoided if a Pin element feature existed.

Meantime, until if and when you see a “pin” feature in a future version of DEVONthink, consider perhaps

  • make a custom boolean metadata named “Pin”. turn on to pin something, turn off to un-pin it. Include that metadata in view, smart groups, searching criteria, sorting, etc.
  • (this may already have been mentioned), assign one of the labels to be “Pin” and do same
2 Likes

Another idea is to create your -Pin group (or 0Pin group). Make sub groups if you like, for example, Very important, Quite important, etc. Then simply place replicants in the -Pin group. The benefit of replicants is that you can find the item replicated just by using right click and “Reveal” when inside your -Pin group.

1 Like

The Pin group could also be driven by a Smart Rule, so all you have to do is tag items that should be pinned.

I deleted my previous post because I decided it wasn’t very helpful to mix labels and tags in the same smart group.

If wanting to pick up labelled or tagged items across several databases, I guess one would create a smart rule or group in the sidebar. (or use the excellent search facility at the bottom of the sidebar)

However, if wanting to work with the sidebar closed, and to pin items within a given database, then I think the way to go is a smart group. That smart group can contain tags, which is obviously more poweful than mere labels. But I find the use of labels more visually appealing and better as a way to merely pin

. I attach screenshots of bother methods.

If you’re running DEVONthink 4, you can favorite items, group them and organize them however you want.

Thank you. But I feel like this approach (as well as the approach with smart folders) will be helpful when you need to look/search for important documents in your database(s). You first tag them or name them in a certain way and then you display them all at once. This is nice, but this approach is from the other end of what I was initially seeking. If I do this, I will see a folder tree with dozens of ‘0. Read Me.txt’ / ‘0. See Me First.txt’ / ‘0. Important!.txt’ files placed in various folders and this serves no use for the purpose.

I am not sure I made myself clear, so I will try to provide an example to help you visualise the need better. Please note this is just an example, but my need is very close to this.

Let us walk through a day for an HR specialist.

Scenario: I’m an HR specialist. My primary tool for managing employee information is the DT library. Inside HR/Employees, I have folders for each employee (e.g., HR/Employees/John_Doe, HR/Employees/Jane_Smith, etc.).

Problem: John Doe Calls - He is going on holiday.

My current workflow (that I am trying to improve):

– John calls: “I’m taking holiday next month.”

– I navigate to HR/Employees/John_Doe/Vacations/.

– I open the folder to process his request (e.g., pulling up the holiday request form, checking his leave balance).

– The Critical Moment: What if John has a special holiday accrual rule? Or a pending disciplinary action that impacts his leave eligibility? Or a specific project he must complete before leaving? Or his boss WhatsApped me something about him, then I took a screenshot of our conversation and placed it in his folder as “Keep in mind!.jpg”

– Problem arises when folders have dozens of files, important files appear in between ordinary files, such important files may be not present, but I have to visually scan the folder structure first to identify whether some files are worth to pay attention for, while I was trying to add/edit something within this folder.

– As a temporary solution, I put such files in a separate folder named ‘0. Some name’. Zero in front of the folder name let me ‘trick’ the sorting most times, and such folder appear on the very top.

With tags, smart folders, search:

– When John calls, I navigate to HR/Employees/John_Doe/Vacations.

– Then, I have to stop what I am doing and start using tags/smart folders/search. As a result, I will see something like this:

0. Read Me.txt

0. Read Me.txt

0. Important.txt

0. Read Me.txt

0. See Me First.txt

0. Read Me.txt

0. Important!.txt

… (and imagine 50-100 other files for all folders)

I have to scroll/sort, focus on paths, find John’s specific folder, read it, and then navigate back to HR/Employees/John_Doe/Vacations to resume processing his request.

The issue: This is a major disruption to my workflow. It’s an extra mental step, an extra navigation step, and it pulls me out of the context of John’s specific situation. It’s like having to leave a patient’s room, go to a central ‘patient alerts’ board, find their name, then come back to their room.

The ‘Pin’ feature:

Proposed ‘Pin’ feature would allow you to spot what is important (or if there is anything important at all) in under 1 second in any folder just by using your eyes. It is like pinned threads on a forum. You visit the forum section and see 1-3 pinned posts right away. You do not need to click on the side menu, select “Tag-Important” to sort these 3 posts each time you go there. Again, I am just sharing the needs I am facing. If developers and the community do not see the need, there is nothing that can be done.

Use the “flag” metadata, and sort by that column to bring flagged items to the top?

Why are you responsible for approving/disapproving his vacation, when his boss has all the relevant information? This sounds like a business process problem, not a DEVONthink problem.

And if it is your problem, why isn’t the information already in the John_Doe/Vacations folder?

4 Likes

Yes, this is practically what I call the ‘Pin’ feature, with one exception that flags respect folders on top setting, so you have [flagged folders], then [normal folders], then [flagged files], then [normal files]. I know I can disable this, but would be ideal to have best of two worlds. Like an option for flagged items to supersede the Folders on Top rule: [flagged folders], then [flagged files], then [normal folders] and finally [normal files]. That is basically what I am looking for all along.

Well, as I said it was just an example. All relevant information is already in the folder. But when you navigate there to add/edit anything, you face a need to see ‘important files/folders’ right away. So that you keep this info in mind before you proceed with what you are about to do.

You could pin within groups. Then less would show.