Share a geoprocessing package

Geoprocessing packages Package (.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 run.

  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 the 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 the new package on disk.
  4. 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.

  5. 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.

  6. If you are uploading the 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 Browse to create a folder or choose an existing one. You can also type the name of the folder in the text box.
  7. If you are uploading your package to an online account, specify how it will be shared:
    • Owner—Only the owner (and organization members with privileges to view content owned by other members) can access the item. This is the default option.
    • Organization—Share your content with all authenticated users in your organization. This option is available when you are signed in with an organizational account.
    • Everyone (public)—Share your content with the public. Anyone can access and see it.
    1. Optionally, under Groups, select groups to which you belong to share your content with their members.
  8. 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.

  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.

  10. Under Finish Sharing, click Analyze Identify potential performance bottlenecks and errors 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 Error must be resolved before you can share your GIS resource. Resolving warnings Warning is recommended but not required.

    Learn more about analyzing GIS resources

  11. Once the package is validated, click Package to create the package.

Related topics