如何识别 XPage 扩展库的版本? [英] How to identify version of XPages Extension Library?

查看:20
本文介绍了如何识别 XPage 扩展库的版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何找出在 Domino 服务器上运行的 XPage 扩展库的版本?

How can I find out what version of the XPages Extension Library is running on a Domino server?

tell http osgi ss"列出了很多不同的版本.

"tell http osgi ss" lists a lot of different versions.

推荐答案

如果您有权访问 Domino 服务器,则可以发出命令

If you have access to the Domino server you can issue the command

tell http osgi ss com.ibm.xsp.extlib

该命令的输出将显示所有已部署的 ExtLib 版本,但服务器只会使用标记为活动的版本.如果部署了多个版本,这将始终是最新版本.

The output of the command will show all the deployed versions of ExtLib but only the ones marked as active will be used by the server. This will always be the latest version if multiple versions are deployed.

如果您无权访问 Domino 服务器,那么您可以使用 ExtLib 的内部实用程序来返回版本号.可以将此示例代码添加到计算字段控件以显示版本号:

If you don't have access to the Domino server then you can use an internal utility of ExtLib to return the version number. This sample code could be added to a computed field control to display the version number :

var v = com.ibm.xsp.extlib.util.ExtLibUtil.getExtLibVersion();
return "XPages ExtLib version: "+v

这篇关于如何识别 XPage 扩展库的版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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