Store editing templates in a database

The Store Templates command Store Templates writes all editing templates in the current map to a system table in a target database through a feature service. It is located in the Command Search box at the top of the ArcGIS Pro window in an open project.

Storing templates in a database is used with workflows that require editing templates authored in ArcGIS Pro to be shared with mobile applications or web applications such as ArcGIS Web Editor.

When you use this command, consider the following:

  • You must be signed in to a Portal account.
  • The active Portal account is the owner of the editing templates and able to modify them in the future.
  • The feature service must be hosted by ArcGIS Enterprise 11.3 or later, and have Shared Template Editing enabled. To learn more, see Editor permissions for feature services.

  1. Start ArcGIS Pro and open the project containing the editing templates you want to share.
  2. On the ribbon Project tab, click the Portals page, and ensure the correct portal is active and you are signed in with publisher permissions.

    For steps to add a portal connection, see Manage portal connections from ArcGIS Pro.

    To return to the map, click the Back button Back.

  3. Add the editable web feature layer containing the editing templates using the portal connection.

    Ensure the map containing the editing templates is the current map.

  4. Click the Command Search box at the top of the application window and type Store Templates.

    A drop-down list of commands appears with recently used commands at the top of the list.

  5. Click Store Templates Store Templates.

    The Store Templates dialog box appears and displays the editing templates defined for the current map in the Source Project Templates viewer.

    • Templates in the target database that share the same name but have differing attribute values display a Warning icon Warning.
    • Templates that don’t currently exist in the target database display an Information icon Information.

    Hover over an icon to view this information.

  6. In the Handle duplicate templates section, choose Skip or Overwrite in Target.

    These options are available only if matching template names exist.

    Skip

    Copy editing templates with unique names to the database, and do not replace templates with matching names.

    Overwrite in Target

    Copy editing templates with unique names to the database, and replace templates with matching names.

    Handle duplicate templates
  7. Check or uncheck the Delete templates in datastore that do not match any project templates check box.
  8. Click Store.

    The editing templates are written to the database.

  9. To exit the command and close the dialog box, click Close or click Close Close at the top of the dialog box.

In this topic