<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Pro Dialogs with Queued Task in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/pro-dialogs-with-queued-task/m-p/782232#M1172</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to revisit the requirement NOT to be in a QueuedTask to show a Dialog such as OpenItemDialog, SaveItemDialog and the CoordinateSystemPicker example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When in a QueuedTask the dialogs spin endlessly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like Esri to rethink this restriction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an experiment we implemented a basic Coordinate System Picker that works in all conditions. The Esri dialog spins endlessly whilst waiting for the coordinate list to show.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The line of code that creates a list of inbuilt Coordinate Systems is&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;IReadOnlyList&amp;lt;CoordinateSystemListEntry&amp;gt; coordinateSystemListEntries =&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GeometryEngine.Instance.GetPredefinedCoordinateSystemList(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CoordinateSystemFilter.GeographicCoordinateSystem | CoordinateSystemFilter.ProjectedCoordinateSystem);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This function is not restricted on which thread it runs so I am unclear as to why the Esri Coordinate System Picker hangs.&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/sdk/api-reference/index.html#topic15554.html"&gt;https://pro.arcgis.com/en/pro-app/sdk/api-reference/index.html#topic15554.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please rethink the internal design of these dialogs so that we can use them without restrictions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 May 2020 09:20:36 GMT</pubDate>
    <dc:creator>AdamDavis</dc:creator>
    <dc:date>2020-05-08T09:20:36Z</dc:date>
    <item>
      <title>Pro Dialogs with Queued Task</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/pro-dialogs-with-queued-task/m-p/782232#M1172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to revisit the requirement NOT to be in a QueuedTask to show a Dialog such as OpenItemDialog, SaveItemDialog and the CoordinateSystemPicker example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When in a QueuedTask the dialogs spin endlessly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like Esri to rethink this restriction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an experiment we implemented a basic Coordinate System Picker that works in all conditions. The Esri dialog spins endlessly whilst waiting for the coordinate list to show.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The line of code that creates a list of inbuilt Coordinate Systems is&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;IReadOnlyList&amp;lt;CoordinateSystemListEntry&amp;gt; coordinateSystemListEntries =&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GeometryEngine.Instance.GetPredefinedCoordinateSystemList(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CoordinateSystemFilter.GeographicCoordinateSystem | CoordinateSystemFilter.ProjectedCoordinateSystem);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This function is not restricted on which thread it runs so I am unclear as to why the Esri Coordinate System Picker hangs.&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/sdk/api-reference/index.html#topic15554.html"&gt;https://pro.arcgis.com/en/pro-app/sdk/api-reference/index.html#topic15554.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please rethink the internal design of these dialogs so that we can use them without restrictions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2020 09:20:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/pro-dialogs-with-queued-task/m-p/782232#M1172</guid>
      <dc:creator>AdamDavis</dc:creator>
      <dc:date>2020-05-08T09:20:36Z</dc:date>
    </item>
  </channel>
</rss>

