<?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 Re: Can not select a ArcGIS Online layer using OpenItemDialog in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-not-select-a-arcgis-online-layer-using/m-p/869216#M5071</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fayu&lt;/P&gt;&lt;P&gt;I am not able to reproduce this - When I select a layer from the OpenItemDialog (available from MyContent on ArcGIS Online) pDialog.Items is not empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please provide some information on the content you are trying to access? It is a standalone table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Apr 2019 18:36:59 GMT</pubDate>
    <dc:creator>UmaHarano</dc:creator>
    <dc:date>2019-04-23T18:36:59Z</dc:date>
    <item>
      <title>Can not select a ArcGIS Online layer using OpenItemDialog</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-not-select-a-arcgis-online-layer-using/m-p/869214#M5069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was trying to select a layer from ArcGIS Online using the following code.&amp;nbsp; I can click the layer but&amp;nbsp;&lt;SPAN&gt;pDialog.Items also return empty.&amp;nbsp; Any ideas?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var pDialog = new ArcGIS.Desktop.Catalog.OpenItemDialog();&lt;BR /&gt; pDialog.MultiSelect = false;&lt;BR /&gt; pDialog.Filter = "tables_all";&lt;BR /&gt; pDialog.ShowDialog();&lt;BR /&gt; var pItems = pDialog.Items;&lt;BR /&gt; if (pItems == null) return;&lt;/P&gt;&lt;P&gt;var pList = pItems.ToList&amp;lt;ArcGIS.Desktop.Core.Item&amp;gt;();&lt;BR /&gt; if (pList.Count &amp;lt; 1) return;&lt;/P&gt;&lt;P&gt;var pItem = pList[0];&lt;BR /&gt; if (pItem == null) return;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2019 17:28:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-not-select-a-arcgis-online-layer-using/m-p/869214#M5069</guid>
      <dc:creator>FayuLai</dc:creator>
      <dc:date>2019-03-27T17:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Can not select a ArcGIS Online layer using OpenItemDialog</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-not-select-a-arcgis-online-layer-using/m-p/869215#M5070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I still cannot get this to work.&amp;nbsp; Any help will be greatly&amp;nbsp;appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2019 16:00:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-not-select-a-arcgis-online-layer-using/m-p/869215#M5070</guid>
      <dc:creator>FayuLai</dc:creator>
      <dc:date>2019-04-23T16:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Can not select a ArcGIS Online layer using OpenItemDialog</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-not-select-a-arcgis-online-layer-using/m-p/869216#M5071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fayu&lt;/P&gt;&lt;P&gt;I am not able to reproduce this - When I select a layer from the OpenItemDialog (available from MyContent on ArcGIS Online) pDialog.Items is not empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please provide some information on the content you are trying to access? It is a standalone table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2019 18:36:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-not-select-a-arcgis-online-layer-using/m-p/869216#M5071</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2019-04-23T18:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: Can not select a ArcGIS Online layer using OpenItemDialog</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-not-select-a-arcgis-online-layer-using/m-p/869217#M5072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Uma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe it is to do with ArcGIS Pro version.  It is not working in 2.2.  But  I tested in an ArcGIS 2.3 machine and it is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fayu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2019 20:25:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-not-select-a-arcgis-online-layer-using/m-p/869217#M5072</guid>
      <dc:creator>FayuLai</dc:creator>
      <dc:date>2019-04-23T20:25:27Z</dc:date>
    </item>
  </channel>
</rss>

