IBM Worklight - How to disable Direct Update?

依然范特西╮ 提交于 2019-12-29 07:58:11

问题


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

With connectOnStartup = false not work.


回答1:


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".

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.

See this IBM Worklight user documentation topic: Locking an application


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.



来源:https://stackoverflow.com/questions/22404270/ibm-worklight-how-to-disable-direct-update

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!