Select to view content in your preferred language

Improving Sync and Load Performance by Clearing the TypeIDField

163
1
04-28-2025 01:12 PM
DerekBannon22
Emerging Contributor

Hello everyone, 

One issue we've consistently run into is that synchronizations and loading of web feature layers slow down significantly when there are many unique symbols involved. ArcGIS for AutoCAD creates a separate CAD layer for each unique symbol set. For example, we have a web feature layer with over 100 symbols defined by an attribute value, and this causes syncing and loading to become extremely slow.

Recently, we discovered that by updating the feature layer's definition and setting the typeIdField to a blank value, ArcGIS for AutoCAD imports the data without creating a separate layer for each symbol. This significantly improves both sync and load performance.

The definition update we made looks like this:

{ "typeIdField": "" }

So far, we've noticed that the symbology within Portal (ArcGIS Enterprise) remains unaffected. However, I wanted to ask the community:

Are there any potential side effects or unintended consequences we should be aware of when clearing the typeIdField like this?

Thanks in advance for your insights!

 

0 Kudos
1 Reply
DanWade
Esri Contributor

Hello @DerekBannon22,

I cannot really speak to any potential side effects a published web layer might experience if the intended "TypeField" property is cleared.

What I can mention is that the upcoming version, 440, contains some new functionality for the "Esri_FeatureLayer" command. Using the command the user can now remove any sublayers used on a WFL resetting the layer to just a primary layer. You could then stop here if satisfied, or, you can set a new subtype on the WFL.

This would allow you to leave the published layer as is but change it around within the drawing.

- manaGe-sublayers | (If sublayers present) Enter G to be presented with the option to clear the sublayers, which will delete existing sublayers and move all features to the parent layer. This does not result in any modifications to the feature geometries or attributes. You can continue to edit/sync/discard edits of features within the drawing.

- Generate-sublayers | (Web feature layers when subtype layers are not present) Enter G to be prompted with a list of fields upon which to define subtype layers.

 

I hope this helps!

0 Kudos