Domino on Linux/Unix, Troubleshooting, Best Practices, Tips and more ...


Daniel Nashed

Moving documents to a different folder with one click

Daniel Nashed – 24 January 2023 09:36:49

The Notes @Formula language is one of the underestimated gems in Notes in general.
There are so many powerful formulas and commands, which could be even used by a power user without a design client.

I just needed a simple way to move invoices to a dedicated folder to have them available for taxes etc.

The following command will move documents from the existing folder to the "Invoices" folder.
You have to create the folder once. But then it's just a single smart icon click to move one of more documents to a different folder.
This also works from within a document.

You could add followup flags as well if you add the command to the same action button before the command:

@Command( [FolderDocuments] ; "Invoices" ; "1" )

In my case I just want a folder with all my incoming invoices.
Next step is to sort them by date and detach the attachments to disk :-)

There are so many very simple to use helpful @formulas.
Maybe this inspires you to find your own productivity improving commands...

-- Daniel


1Thomas Bahn  27.01.2023 14:11:11  Moving documents to a different folder with one click

Hi Daniel,

if you put this into an action or toolbar icon?

AFAIK when a formula is directly in an action, the documents keep being selected after the execution of the action. Don't know if this happens with toolbar icons, too.

The solution for the actions is to put the formula into an agent and call the agent from the action.



2Daniel Nashed  27.01.2023 20:27:25  Moving documents to a different folder with one click

@Thomas, the idea is to have this in a smart icon to not change the design of the database and have it available in multple databases ;-)



    • [HCL Domino]
    • [Domino on Linux]
    • [Nash!Com]
    • [Daniel Nashed]