使用 Notes Java API 提取 Lotus Notes 应用程序的元数据?
我正在寻找使用 Java Notes API 在 Domino 服务器上提取有关 Notes 应用程序的元数据。我尝试从catalog.nsf 文件中读取应用程序/数据库列表。 但catalog.nsf 没有基于现有模板创建的新应用程序。
那么从哪里可以获得 Domino 服务器上现有应用程序的列表呢?新的应用程序是否会添加到目录中?如果不是如何将它们添加到目录中?
任何帮助或想法将不胜感激。
谢谢,
斯里尼瓦斯
I am looking for extracting metadata about Notes Applications on a Domino server using Java Notes API. I tried reading the list of applications/databases from catalog.nsf file.
But catalog.nsf does not have new Applications that are created based on a existing template.
So From where can I get the list of applications that are existing on a Domino Server? Will the new Applications be added to catalog? If not how to make them to be added in the catalog?
Any help or Ideas will be much appreciated.
Thanks,
Srinivas
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
所以如果你想在Java中做到这一点如果catalog.nsf不是最新的,那么你也可以尝试dbdirectory类,看看==>此处。
这应该有一个示例来让您了解如何读取服务器上的所有数据库。如果 Domino 服务器未注册新应用程序,则目录进程不会运行。您只需在控制台输入“加载目录”即可加载它。更多详细信息 ==>此处。
可能还有其他问题,但会等待您的回复。
So if you want to do this in Java If the catalog.nsf is not upto date, then you can also try the dbdirectory class, look ==>here.
This should have an example to give you an idea how to read through all database on the server. If the Domino server is not registering new applications then catalog process is not running. You can load it by simply type "load catalog" at the console. More details ==>here.
There can still be other issues, but will wait for your response.
这更多的是“服务器故障”答案,但在 Domino 目录中,您可以为域中的服务器打开域目录服务器任务,并且该服务器将填充(并保持更新)catalog.nsf 文件,该文件然后将在您的域中复制。
因此,只需在服务器文档中启用该任务,或者转到 domino 控制台并输入加载目录
This is more of a "Server Fault" answer, but in the Domino Directory, you can turn on the Domain Catalog server task for a server in your domain, and that server will populate (and keep updated) the catalog.nsf file, which will then replicate across your domain.
So just enable that task within the server document, or go to the domino console and type load catalog