Search code examples
xpageslotus-domino

How could i check the version of dojo installed in domino server?


How could i check the version of dojo installed in domino server?


Solution

  • The default dojo version can be obtained by calling this:

    com.ibm.xsp.context.DojoLibraryFactory.getDefaultLibrary().getVersion()
    

    If You want to see all versions that can be found on server try this:

    com.ibm.xsp.context.DojoLibraryFactory.getDojoLibraries()
    

    If You want to check what version is current database using then You can do this:

    com.ibm.commons.Platform.getInstance().getProperty("xsp.client.script.dojo.version")