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 available in the Manage Templates pane on the context menu when you right-click a map in the template view.

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

When you use this command, consider the following:

To store editing templates in a database, complete the following steps:

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

    Click the Back button Back to return to the map.

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

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

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

  4. Click the ribbon Edit tab, and click Manage Templates Manage Templates in the Manage Edits group.

    The Manage Templates pane appears.

  5. Right-click the map in the template view, and 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. For Handle duplicate templates, 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 option

  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