DB as respository of Functions and subs

I’m trying to create a single repository for fucnctions as sub routines and would like to access them from other databases…

Can I do this ?

Can someone provide a basic example?

senario:

  1. RepositoryDB contains Names Translation Function.

  2. Production DB, would send a variable to the external function and get the result back.

anyone?

Subject: No, you can’t do that precisely.

Libraries and functions must reside in the database that uses them. Domino does support multiple template inheritance however, so you can inherit different design elements (forms, script libraries, etc) from different source templates. It’s a fairly common practice to have a standard function library in each database inherit from a central repositorydb such as yours.

Another (much more involved) option would be to code your central repository functions as web services and call the function service as necessary.

Subject: oh well

Oh well…

Thanks for your response

Subject: Better to go with Jerry’s plan… much more efficient and less resource intensive