0

I'm trying to do several databases that have repeated JavaScript Server Side functions. I would like to merge them into a single database and can use it for all. Anyone know how to do it?

JBarnes
  • 63
  • 3

2 Answers2

1

Design inheritance is the classic way as Lothar pointed out and it works well. If you are not afraid of Java, you could create an OSGi plug-in (a.k.a an Extension library) that not only hosts your common SSJS, but your common custom controls, Java beans, resources etc. Get started with the XSP Starter Kit - Other than the name suggest, it is not designed for you to get started in Java, but for a developer sound in Java to get started with XPages extensions.

stwissel
  • 20,110
  • 6
  • 54
  • 101
0

You'll find several posts dealing with similar topics; one of the most recent ones is this here:

How Does the Single Store Xpages work?

Magic words could be Single Store Xpages Design and Notes Database templates

Community
  • 1
  • 1
Lothar Mueller
  • 2,528
  • 1
  • 16
  • 29