在数据库之间共享LotusScript库 [英] Share a LotusScript library between databases

查看:65
本文介绍了在数据库之间共享LotusScript库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在一个数据库中创建LotusScript库,然后从另一个数据库访问它?

Is it possible to create a LotusScript library in one database and then access it from another database?

没有简单地将库复制到需要使用它的每个数据库中.

Without simply copying the library into each database that needs to use it.

我想要实现的是在一个位置,我可以在该位置更新库,而不必手动将其复制到使用该库的每个数据库中.我不能使用设计模板,因为使用此脚本库的数据库都使用不同的设计模板.

What I would like to achieve is a single location where I can update the library and not have to manually copy it over to each database that is using it. I can't use a design template as the databases that use this script library all use different design templates.

我猜另一种解决方案是创建一个代理,以便在库更新时将其复制到所有数据库中.因此,如果有人在此之前做过类似的事情,那么我也想在这里做一下.

I guess another solution would be to create an agent to copy the library out to all databases whenever it is updated. So if anyone has done anything like that before then I would also like to here about it.

推荐答案

Lotus Notes中的设计继承不仅在数据库级别-单个设计元素(例如您的脚本库)可以从其他模板显式继承.请参见将各个设计元素链接到a .

Design inheritance in Lotus Notes isn't only on database level - individual design elements (such as your script library) can be explicitly inherited from a different template. See Linking individual design elements to a template.

通过这样的继承设置,

With inheritance set up like this, the designer task on the Domino server will update the design element automatically. For this to work, the templates must be replicated to the same server.

您可能希望在释放模板时禁用此继承,以避免在生产环境中出现令人讨厌的意外情况.我前不久为此创建了一个解决方案:以编程方式删除Lotus Notes设计元素继承.

You might want to disable this inheritance when you release your template, to avoid nasty surprises in the production environment. I created a solution for this a while ago: Remove Lotus Notes design element inheritance programatically.

这篇关于在数据库之间共享LotusScript库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆