Skip To Content

Geoprocessing package

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.

  1. On the Share tab, in the Package group, click Geoprocessing Geoprocessing Package. Select the history item of the geoprocessing task you want to create a package from.

    The Geoprocessing Package pane appears.

  2. Specify where to save your package, either to your online account or as a file on disk.
  3. Provide the name and, if saving the package to a file, the location for your new package on disk.
  4. Complete the Summary and Tags fields.
  5. Check the Include Enterprise and UNC Path Data check box 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.
  6. If you are uploading your package to an online account, use the Folder drop-down menu to specify where the package will be stored in your portal content. Optionally click the browse button Browse to create a folder or choose an existing one. You can also type the name of the desired folder in the text box.
  7. If you're uploading your package to an online account, specify how it will be shared:
    • 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.
  8. 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 to the package you are creating. All tasks added to the package will be extracted and available for use when the package is extracted back into ArcGIS Pro.
  9. 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. Learn more about signing .dll and .exe files
  10. Click Analyze to check for any errors or issues. You must resolve all errors. If any issues are discovered, they appear 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
  11. Once it's validated, click Package to create your package.