updateApplication


Purpose

Updates an application, that has been identified by means of an application ID or application's URL address.

Note

This call will have no effect if the application is running.

Signature

updateApplication( application, newUrl, username, password, userInfo, allowCachingFail )

Returns

This method does not return anything.

Parameter

Name Description Type Use
application The current application's ID or URL address. string required
newUrl

The updated application's URL address.

Note

If the new application's URL address is not provided, the cache-manifest based update method will be used.

string optional
username Overrides the identifier parameter set by the AccountManager. string optional
password Overrides the username parameter set by the AccountManager. string optional
userInfo An object that contains one boolean parameter usesWebAppDescriptor, which specifies if an app must use the cache manifest. string optional
allowCachingFail When set to "true", if application caching fails, the update attempt is not repeated until next update. This parameter is supported on iOS devices only. boolean optional

Related topics

Public API reference
ApplicationManager
Legal notice | Copyright © 2018 and Confidential to Pegasystems Inc. All rights reserved
PDN | Feedback
Advanced...