IBM Worklight - 如何禁用直接更新? [英] IBM Worklight - How to disable Direct Update?

查看:152
本文介绍了IBM Worklight - 如何禁用直接更新?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想禁用直接更新。有可能吗?

I would like to disable Direct Update. Is it possible?

使用connectOnStartup = false不起作用。

With connectOnStartup = false not work.

推荐答案

如果要完全禁用直接更新,请打开浏览器并导航到Worklight Console。在那里你需要勾选标题为锁定此版本的复选框。

If you would like to disable Direct Update completely, open a browser and navigate to Worklight Console. There you need to tick the checkbox titled "Lock this version".

此选项意味着.wlapp(特定环境及其特定版本号)的任何未来部署将不在服务器上更新其Web资源,因此不会触发直接更新。

This option means that any future deployments of a .wlapp (of the particular enviornment and its particular version number) will not update its web resources on the server, thus not trigger a Direct Update.

请参阅此IBM Worklight用户文档主题:锁定应用程序

See this IBM Worklight user documentation topic: Locking an application

connectOnStartup = false 仅表示在应用程序启动时,应用程序将不要尝试连接到Worklight Server;如果您的应用程序然后使用 WL.Client.connect 或调用适配器过程,则会触发对Worklight Server的init请求。然后,该应用程序将连接到Worklight Server。现在,例如,如果应用程序将返回到前台(在后台之后),将进行直接更新检查。

connectOnStartup=false only means that upon application launch, the app will not try to connect to the Worklight Server; if your application then utilizes WL.Client.connect or invokes an adapter procedure, this triggers an init request to the Worklight Server. The application is then connected to the Worklight Server. Now if, for example, the app will return to the foreground (after being in the background), a Direct Update check will be made.

这篇关于IBM Worklight - 如何禁用直接更新?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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