Label | Explanation | Data Type |
Input Package |
The input layer (.lpk or .lpkx), scene layer (.slpk), map (.mpk or .mpkx), geoprocessing (.gpk, .gpkx), tile (.tpk or .tpkx), mobile map (.mmpk), vector tile (.vtpk), address locator (.gcpk), or project (.ppkx or .aptx) package file. | File |
Username
| The ArcGIS Online or Portal for ArcGIS username. This parameter is not available on the tool dialog box. You must sign in to the active portal from the sign in option at the upper right of the application. | String |
Password
| The ArcGIS Online or ArcGIS Enterprise password. This parameter is not available on the tool dialog box. You must sign in to the active portal from the sign in option at the upper right of the application. | Encrypted String |
Summary
(Optional) | The summary of the package. The summary is displayed in the item information of the package on ArcGIS Online or ArcGIS Enterprise. | String |
Tags (Optional) | The tags used to describe and identify the package. Individual tags are separated using either a comma or a semicolon. | String |
Credits (Optional) | The credits for the package. This is generally the name of the organization that is given credit for authoring and providing the content for the package. | String |
Share with everyone (Optional) | Specifies whether the input package will be shared with and available to everybody.
| Boolean |
Groups (Optional) | The groups the package will be shared with. | String |
Share within organization only
(Optional) | Specifies whether the input package will be available within your organization only or shared publicly with everyone.
| Boolean |
Publish web layer
(Optional) | Specifies whether the package will be published as a web layer to your portal. Only tile packages, vector tile packages, and scene layer packages are supported.
| Boolean |
Folder
(Optional) | An existing folder or the name of a new folder on the portal for the package. If a web layer is published, it is stored in the same folder. | String |
Derived Output
Label | Explanation | Data Type |
Tool Succeeded | The result of uploading the package and publishing the web layer if specified. Returns True on success. | Boolean |
Package Item ID | The portal item ID of the package. | String |
Publish Results | The JSON response containing the service URL and portal item ID of the web layer. | String |