Label | Explanation | Data Type |
Input Package |
Input layer (.lpk, .lpkx), scene layer (.slpk), map (.mpk, .mpkx), geoprocessing (.gpk, .gpkx), tile (.tpk, .tpkx), mobile map (.mmpk), vector tile (.vtpk), address locator (.gcpk), or project (.ppkx, .aptx) package file. | File |
Username
| The ArcGIS Online or Portal for ArcGIS user name. This parameter is not available on the tool dialog box. You must sign in to a 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 a portal from the sign in option at the upper right of the application. | Encrypted String |
Summary
| Summary of the package. The summary is displayed in the item information of the package on ArcGIS Online or ArcGIS Enterprise. | String |
Tags | Tags used to describe and identify the package. Individual tags are separated using either a comma or semicolon. | String |
Credits (Optional) | 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 and available to everybody.
| Boolean |
Groups (Optional) | List of groups to share package with. | String |
Share within organization only
(Optional) | Specifies whether the input package will be available within your organization only or shared publicly to 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) | Specifies 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 |