Using Script Library of different database

Hi,

Is there a way to use the Script Library(funtions), defined in one database in some other database.

Plz let me know if I m not clear.

Thanks,

Jai.

Subject: Using Script Library of different database

I don’t think so. However, you can use a text file library:

“c:\lib\MyLibrary.lss”

instead of a DB script entry.

Shawn

Subject: Using Script Library of different database

Sure. Just move the script library into a template, then copy it from there into the databases that need to use it.

Subject: RE: Using Script Library of different database

I noticed someone mentioned a while back that you could do this, and I asked for code on how. Here is the response. I have not yet had the time to go through this and figure it out, but you can try it. Let us know if you have any luck.

http://www-10.lotus.com/ldd/nd6forum.nsf/ShowMyTopicsAllFlatweb/ab84037a1ddeba9c852573320033b75c?OpenDocument

Subject: RE: Using Script Library of different database

The code sample does not affect or change the fact, that the LotusScript library has to be physically present in the database, where the

Use “LibraryName”

clause is to be used. There are techniques to load LS libraries “on the fly”, but even then you can only load libraries that are in the current database. And this is not related to using custom classes at all.

What Thomas suggested is, that to maintain a common code base, you can move your libraries out to a template, so the design task can update all databases using this lib, after you made changes to the code in the template.