Domino Nomad Web 1.0.20的Kiosk模式

📅 2026/7/4 4:01:35
Domino Nomad Web 1.0.20的Kiosk模式
大家好才是真的好。上一篇我们提到了最近更新的Domino相关两款产品一个是Verse另一个就是Nomad Web今天我们就来讲讲Nomad Web 1.0.20的更新使用以及一个崭新的自助终端特性。很多人可能还不知道啥是HCL Nomad Web再简单地解释一下你可以理解为运行在浏览器中的Notes客户机如下图其次我们再花几分钟梳理一下过去几年的Nomad Web发展脉络捡重要的说。最初的Nomad Web 1.0.1版本应该是2020年发布的在线版本一直到1.0.4版本都需要运行在HCL SafeLinx产品上。从2022年的1.0.5版本开始Nomad Web可以以组件的方式直接运行在Domino服务器中。这样只要有Domino服务器就可以直接在浏览器中使用Notes基本客户机功能。而从2023年的Domino 14.0版本开始更是进一步地将Nomad Web直接整合在Domino安装包中而不需要额外安装了。说回Nomad Web各个版本我还清楚地记得1.0.7支持富文本Lite字段中插入手写签名如下图从Nomad Web 1.0.10版本开始带了一个Domino Desinger客户机可以在浏览器中直接进行传统的Notes应用开发如下图Nomad Web 1.0.15支持Sametime在线等等。其他版本的新特性可参见https://help.hcl-software.com/nomad/1.0_web/nomad_web_new.html我就不一一画蛇添足了。这不一转眼这都已经Nomad 1.0.20版本了。嗯这个版本包含一个Kiosk Mode的新功能。翻译过来是上线自助终端模式可固定开机启动指定的Notes数据库并禁止关闭还能自定义隐藏、管控Nomad相关界面等。如果还不清楚它的功能让我们一起手把手地来看看。首先你得安装或升级Nomad Web组件不管是新安装还是升级都可参考下列步骤在Domino服务器控制台上输入命令tell nomad quit解压缩Nomad文件并拷贝到Domino程序目录下如果以前有Nomad文件直接替换掉即可最后我们在Domino控制台上输入命令load nomad如下图这样浏览器再访问时就可以看到版本更新了现在我们看看Kiosk模式。实现该功能有两个前提条件一个是为Nomad Web客户机设置notes.ini参数另一个是创建或使用一个Notes库里面还有一个Kiosk简要文档。设置Nomad Web客户机的notes.ini参数主要设置一条kioskDBNameCNserverName/Oxx!!dbname.nsf的参数使用命令jsSetEnvironmentVariable来设置。你可以考虑使用策略或MarvelClient还可以直接使用浏览器控制台命令。我们简单一点就直接使用浏览器控制台命令吧这里服务器名称是notes01/xdomino那么我们输入jsSetEnvironmentVariable(‘kioskDBName’, ‘CNnotes01/Oxdomino!!demo.nsf’) :设置效果如下图可以使用命令nomad.saveFile(‘/data/notes.ini’)拷贝出来查看第二步则是要在指定的KioskDB本例为demo.nsf中创建一个简要表我们采用操作按钮或代理的方式来创建直接在Nomad Web中打开Designer在all视图上创建一个按钮如下图代码如下从帮助文档中获取的Sub Initialize Create or update the HCL Nomad Kiosk Mode Profile (kioskDB) document fromthecurrentdatabase. Besides thedatabasehavingthekioskDBprofile document,toenable Kiosk mode you must set the notes.ini variable named kioskDBName to the pathandnameofthedatabase.Just the presenceofthe profile document is not enough. When the database is found and the profile document exists, the named databasewillopenautomaticallyandcannot be closed.Other behaviors are defined by the items in the profile document. Dim session As New NotesSession Dim db As NotesDatabase Dim profile As NotesDocument Set db session.CurrentDatabase Set profile db.GetProfileDocument(kioskDB, ) Tobetrue,valuescan be1,1,oryes.Otherwise,falseisassumed. All of the following items have defaults, so you should specify them. Hide Application Menus(1hide,0show)Callprofile.ReplaceItemValue(HideAppMenu,0) Hide Help Menus (1 hide, 0 show) Call profile.ReplaceItemValue(HideHelpMenu, 0) Hide Sametime Icon(1hide,0show)Callprofile.ReplaceItemValue(HideSametime,1) Open the Workspace (1 open, 0 do not open) Call profile.ReplaceItemValue(OpenWorkspace, 1) Hide properties panel(1hide,0show)Callprofile.ReplaceItemValue(HidePropertiesPanel,1) All of the following items are optional, so you should only specify them ifyou needtochange them.LogoTextandLogoIcon are mutually exclusive, so only use one or the other. The icon can include text and graphics,soifyou want both,useonly LogoIcon hereandput thetext in the icon itself. If you specify both, LogoIcon wins (LogoText is ignored). Replace the application name with this text Callprofile.ReplaceItemValue(LogoText,My App Name) Replace the application icon with this resource Callprofile.ReplaceItemValue(LogoIcon,$DBIcon)Callprofile.Save(True,False)PrintHCL Nomad Kiosk Mode profile document (kioskDB) saved successfully.EndSub然后执行一下这样以后一加载Nomad Web就直接打开指定的demo.nsf数据库了如下图所示今天就介绍到这里吧。