The Store Templates command 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.
- Start ArcGIS Pro and open the project containing the editing templates you want to share.
- 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
.
- 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.
- 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.
- Click 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
.
- Templates that don’t currently exist in the target database display an Information icon
.
Hover over an icon to view this information.
- Templates in the target database that share the same name but have differing attribute values display a Warning icon
- 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.
- Check or uncheck the Delete templates in datastore that do not match any project templates check box.
- Click Store.
The editing templates are written to the database.
- To exit the command and close the dialog box, click Close or click Close
at the top of the dialog box.