this line is hanging on Pro 3.6
var editTemplates = featLayer.GetTemplates();
I have a function which is basically this sample.https://pro.arcgis.com/en/pro-app/3.5/sdk/api-reference/topic9977.htmlThis has worked in all versions of Pro till 3.6. now it hangs.
Anyone else having issues or solution?
Thanks
I found a better solution. When it loops through each layer in my group layer, the GetTemplates will work on the first but hang on the second layer. I decided to move the GetTempaltes out of the loop method and use the GetTemplates on the group layer itself and then pass in that collection to the original method. This way, I can simply filter the collection for the templates that belong to the layer being processed.
I have added sample data to group layer and GetTemplates works on all layers. Have you installed SP1 on ArcGIS Pro 3.6?
Hi,
I have made a test with ArcGIS Pro 3.6 SP1 and Esri ArcGIS Pro SDK sample RowEventTest code and Esri sample data C:\Data\FeatureTest\FeatureTest.aprx. It works fine.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.