SP へWeb.loadAndInstallAppInSpecifiedLocale 方法 (sp.js)

Uploads and installs an App package on the site in a specified locale.

**適用対象:**apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

SP.Web.loadAndInstallAppInSpecifiedLocale(appPackageStream, installationLocaleLCID)

パラメーター

  • appPackageStream
    The stream of app package.

  • installationLocaleLCID
    A 32-bit integer that specifies the locale in which the app package should be installed.

戻り値

SP.AppInstance

The created AppInstance.

Remarks

The site must be enabled for remote development. The specified locale must be supported by the app package.

REST resource endpoint

See Web resource for more information.

Endpoint URI structure

http://<sitecollection>/<site>/_api/web/loadAndInstallAppInSpecifiedLocale(appPackageStream,installationLocaleLCID)

HTTP requests

This resource supports the following HTTP commands:

  • POST

POST syntax

POST http://<sitecollection>/<site>/_api/web/loadAndInstallAppInSpecifiedLocale(appPackageStream,installationLocaleLCID)

Resource parameters

  • appPackageStream

  • installationLocaleLCID