laptop and a wrench

Bug

Adding a layer with 175,000 records to ArcGIS Pro SDK using LayerFactory.Instance.CreateLayer causes the layer to draw slowly despite applying a definition query to reduce the number of features to display.

Last Published: June 11, 2019 ArcGIS Pro
Bug ID Number BUG-000122522
SubmittedMay 21, 2019
Last ModifiedMay 16, 2025
Applies toArcGIS Pro
Version found2.3.2
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusNon-Reproducible

Additional Information

This issue is no longer reproducible. It is recommended to set a definition query during layer creation with LayerCreationParams instead of creating a layer first and then applying a definition query. Refer to: https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic26422.html Sample code: string webServiceLayerURL = "https://services.arcgis.com/.../FeatureServer/0"; var lyrCrtParam = new FeatureLayerCreationParams(new Uri(webServiceLayerURL)) { DefinitionQuery = new DefinitionQuery("query1", "oa01cdold LIKE '47%'") }; var lyr = LayerFactory.Instance.CreateLayer(lyrCrtParam, MapView.Active.Map);

Steps to Reproduce

Bug ID: BUG-000122522

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options