Geoprocessing packages (.gpkx files) allow you to share analysis workflows. These packages contain the tools (models or scripts) and data required to run the task. You can use geoprocessing packages to share complex analysis in your organization or to a broader audience of ArcGIS users through ArcGIS Online. Individuals who discover and use your geoprocessing package can open and run it with the data in the package, or they can add their own data through the tool parameters.
Create a geoprocessing package
Geoprocessing packages must start with a geoprocessing history item—that is, a successful result obtained from running your geoprocessing tool. This result has all the references required to create the package and provides a starting point for all new geoprocessing packages. You cannot create a geoprocessing package from a result that failed to execute.
- On the Share tab, in the Package group, click Geoprocessing .
Select the history item of the geoprocessing task you want to create a package from.
The Geoprocessing Package pane appears.
- Specify where to save your package, either to your online account or as a file on disk.
- Provide the name and, if saving the package to a file, the location for your new package on disk.
- Optionally, complete the Summary and Tags fields.
A summary and tags are required when sharing to an ArcGIS Enterprise 10.9 or earlier portal.
You can enter a maximum of 128 tags.
- Check the Include Enterprise and UNC Path Data check box if you want data from enterprise databases, UNC path folders, and feature services to be copied to file geodatabases.
If this option is not checked, layers will continue to reference enterprise geodatabase and UNC path data.
- If you are uploading your package to an online account, use the Folder menu to specify where the package will be stored in your portal content. The package is stored in the root of your content by default. Optionally, click the Browse button to create a folder or choose an existing one. You can also type the name of the desired folder in the text box.
- If you're uploading your package to an online account, specify how it will be shared:
- Everyone—Share your content with the public. Anyone can access and see it.
- My Organization—Share your content with all authenticated users in the organization. This option is available when you are signed in with an organizational account.
- Groups—Share your content with groups to which you belong and their members.
Leave all options unchecked to set the sharing level to the owner of the item.
- To add multiple tasks to a single package, select additional history items from the Tools section.
Any successful tool history in your current project can be added to the package you are creating. All tasks added to the package are extracted and available for use when the package is extracted back into ArcGIS Pro.
- Add the items you want to include to Attachments. This option allows you to include other content, such as detailed documentation, reports, and graphs. The following types of files cannot be included: .js, .vbs, .py, .pyc, .pyo, .bat, and .ocx. Also, only signed .dll and .exe files are allowed.
- Under Finish Sharing, click Analyze to review for potential problems.
Errors and warnings are listed on the Messages tab. Right-click a message to open its help topic or take corrective action in the software. Errors must be resolved before you can share your GIS resource. Resolving warnings is recommended but not required.
- Once the package is validated, click Package to create your package.