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

alt

Daniel Nashed

Notes/Domino Named Documents -- What are they and where/when to use them?

Daniel Nashed – 29 September 2024 07:22:23

Named documents are new in Notes/Domino 12.0.1. They are very similar to profile documents, but have less side effects.
Profile documents are cached and if used in a web application might end up being opened by may threads.

Also when updating profile documents, it can take a while until all parts of Notes/Domino see the document.

Like a Profile document a Named Document is not shown in any view. But beside that they behave like normal documents.

They are just searched by name -- similar to profile documents. Therefore they are really fast.

The only down side using Named Documents, they are only available in Notes/Domino 12.0.1 and higher.

Some system databases in Domino use them. For example they are leveraged in AdminCentral and AutoUpdate which are both introduced in version 14.0.

Here is a reference to designer help -->
https://help.hcl-software.com/dom_designer/14.0.0/basic/H_GETNAMEDDOCUMENT_METHOD.html

Profile Documents will stay and they should still be used for static data.
But if you have data which is often changed, you should consider using Named Documents instead.

For example the Domino AutoUpdate Refresh token document is using a Named Document.


Tip: Add version check for 12.0.1+ clients


It would be probably a good idea adding a version check to your template when you start using newer functionality.

OTS support for profiles and named documents


I have just opened an AHA idea for profile document and named document support in Domino OTS.
If you find this useful, please vote.
--> https://domino-ideas.hcltechsw.com/ideas/DOMINO-I-2880

-- Daniel

Links

    Archives


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