Geoprocessing packages (.gpkx) make it easy to share analysis workflows. These packages will contain the tools (models or scripts) and data required to run the task. Geoprocessing packages can be used to share complex analysis within your organization or to a broader audience of ArcGIS users through ArcGIS Online. Individuals who discover and use your geoprocessing package will be able to 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 make 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 wish 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.
- Complete the Summary and Tags fields.
- Use the Include Enterprise and UNC Path Data option if you want to extract data from an enterprise geodatabase, or UNC path data to a file geodatabase. If this option is not checked, map layers continue to reference enterprise geodatabase data and UNC path data.
- If you're uploading your package to an online account, specify how it will be shared:
- My Content—This option only references content in your personal workspace named My Content. Your content is inaccessible to other users.
- My Organization—If you are signed in with an organizational account, you see this option. This option allows your content to be shared with all authenticated users in the organization.
- Everyone—This option makes your content public. Anyone can access and see it.
- Groups—You can share your content with groups you belong to and their members.
- Multiple tasks can be added into a single package by selecting additional history items from the Tools section. Any successful tool history in your current project can be added into the package you are creating. All tasks added into the package will be extracted and available for use when the package is extracted back into ArcGIS Pro.
- Add the Attachments you want to include. 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 files and .exe files are allowed. Learn more about signing .dll and .exe files
- Click Analyze to check for any errors or issues. You must resolve all errors. If any issues are discovered, they show on the Messages tab. Right-click each message to get more information, read the help for the error or warning, and access suggested fixes. Learn more about analyzing GIS resources
- Once it is validated, click Package to create your package.