SP.AppInstance.upgrade Method (sp.js)

Uploads a version of an app, and then upgrades the app instance to that version.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

SP.AppInstance.upgrade()

Parameters

  • appPackageStream
    The stream of the app package.

Return value

Undefined