Select to view content in your preferred language

Store Editing Templates in the Geodatabase using an Add-in for ArcGIS Pro 3.3

1289
7
05-30-2024 02:59 PM

Store Editing Templates in the Geodatabase using an Add-in for ArcGIS Pro 3.3

Using ArcGIS Pro 3.3 and ArcGIS Enterprise 11.3 editing templates can be stored in the geodatabase for use outside of ArcGIS Pro. This adds the ability to use the same editing templates with other web or  mobile applications (future capability). To learn about Editing Templates in the Geodatabase read this blog.  Download a copy of the Add-in built for ArcGIS Pro 3.3 below.

In future releases of ArcGIS Pro we will support storing and working with templates in the geodatabase without the need for an Add-in.

Attachments
Comments
LisaStanners
Esri Contributor

Steps for using the add-in

  1. Download, unzip, and double click on the add-in to install it
  2. Ensure the correct portal is active and the correct user with publisher permissions is logged in.
  3. Open the custom dock pane by activating the Add-In tab, then clicking the 'Show Store Editing Templates Dockpane' button.
  4. Ensure the correct map is activated by clicking on the map tab that contains the authored templates.
  5. Click on the 'Store Templates' button in the dock pane to store the templates to the geodatabase. The results are then written to the textbox in the dock pane but can also be saved to file using the 'Save Results' button and browsing to a location to save a .txt file with the contents.
geopamplona
Emerging Contributor

Will it be possible to use editing templates from the web published in the webmap or similar?

LarryYoung
Esri Contributor

Hi,

Sorry for the slow reply.

This AddIn is one of the initial aspects of sharing editing templates (including group and preset) through a set of tables in the geodatabase.  Once the templates are written to the tables, web clients (such as the new Web Editor with an early September 2024 release on Enterprise 11.3)  will be able to use those templates.  Future releases of the Editor widget in the Maps SDK for JavaScript will also be able to use the same set of templates from the database.  As will Experience Builder, Instant Apps and Map Viewer as they all use the Editor widget.

Once the templates are in the database authors can create web maps that point to the layers the editing templates are for.  The clients (Web Editor, etc.) will show the templates from the database in the add feature dialogs.

larry

ArunkumarV
New Explorer
 

Hi,

Following the steps outlined in the blog/article, I was able to download the necessary plugin, save templates, and publish as a feature service. However, upon publishing, I encountered error 24801, which indicates that group templates are not supported.

After publishing, the group template is not visible in the Web Map Viewer, though it does appear in the Web Editor app. Unfortunately, attempts to edit in the Web Editor result in an "editing failed" error. I've attached screenshots for reference.

This issue occurs in an ArcGIS Enterprise 11.3 environment and has been tested with both branch versioning and standard feature services, yielding the same result in both cases.

Any suggestions?

image (1).png

- Error while publishing

 

image (3).png

 

- Unable to view group template in web map viewer

 

 

 

image (2).png

 

 

 

- Able to view group template in web Editor but not able to edit.

 

 

 

 

image (4).png- Error while editing group template in web editor app

LisaStanners
Esri Contributor

The blog mentions "In the future, support for these editing templates in the database will include ArcGIS Maps SDK for JavaScript, Experience Builder, Map Viewer, Scene Viewer, Field Maps, and other applications as appropriate."

The Map Viewer not seeing the group templates is expected, but the web editor I believe should be able to use them. I will need to get that looked into and report back. Thanks!

LarryYoung
Esri Contributor

Yes, Web Editor can use shared templates (templates in the database) today.  The plan for the other web applications is to add support in 2025.  Pro 3.5 will be needed in order to write templates to an Online database, so hopefully the capabilities for other apps will be available with Enterprise 11.5 and the Online release around the same time.

 

JelenaCvetinovic2
New Explorer

Hi @ArunkumarV 

I had the same error but I managed to find solution. At first I follow instructions and created group templates using direct connection to database (branch version), stored templates in geodatabase using add-in and then I've published new web map. When I opened published web map in Web Editor I experienced the same error as you. I'm working with utility network dataset.

My solution/workaround was to remove all group templates from my map in ArcGIS Pro and share web map with configured utility network but without group templates. After sharing web map, I created again few group templates using map from which I shared web map with utility network and stored them in geodatabase using add-in. I opened Web Editor again with previously published web map and templates are there and they work. I've created user connections with service meters from group template without any errors.

So, my workflow was first to publish web map, and then to create group templates and store them in the geodatabase. After storing templates in geodatabase, they are visible in Web Editor through web map that contains feature layers published from branch versioned datasets.

This workaround solved the problem for me. Hopefully it can be useful for you too.

 

Version history
Last update:
‎11-04-2024 10:29 AM
Updated by: