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
- Comments [2]
1Fredrik Norling 30.09.2024 6:13:41 Notes/Domino Named Documents -- What are they and where/when to use them?
What is the difference from profile documents, they appears to be the same?
2Martijn de Jong 03.10.2024 11:52:55 Notes/Domino Named Documents -- What are they and where/when to use them?
Can I, in this context, raise awareness for another AHA idea? Profile documents are very useful in the context of a GUI. To make named documents as useful, we need the same type of @formulas that we have for profile documents, which is what this AHA idea proposes: https://domino-ideas.hcltechsw.com/ideas/DOMINO-I-2597