<?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 how to use pythonaddin opendialog in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/how-to-use-pythonaddin-opendialog/m-p/139976#M10904</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to use the OpenDialog in pythonaddins module to retrieve/open a file like a CSV file? The example given in the guides and online help show an example for filtering on "*.txt"; however, this simply doesn't work as only certain file types seem to be shown no matter what the filter argument is checking for (and txt files don't seem to be one of those file types, neither is "csv")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: &lt;/P&gt;&lt;P&gt;An issue that was preventing the dialog from functioning for me was that I was using the C:\ root directory as the starting location. Interestingly, the OpenDialog (and ArcCatalog) does not show TXT or CSV files in the c:\ root. However, everything operates OK when using a subfolder....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 30 Jan 2016 18:05:44 GMT</pubDate>
    <dc:creator>BillRichards</dc:creator>
    <dc:date>2016-01-30T18:05:44Z</dc:date>
    <item>
      <title>how to use pythonaddin opendialog</title>
      <link>https://community.esri.com/t5/python-questions/how-to-use-pythonaddin-opendialog/m-p/139976#M10904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to use the OpenDialog in pythonaddins module to retrieve/open a file like a CSV file? The example given in the guides and online help show an example for filtering on "*.txt"; however, this simply doesn't work as only certain file types seem to be shown no matter what the filter argument is checking for (and txt files don't seem to be one of those file types, neither is "csv")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: &lt;/P&gt;&lt;P&gt;An issue that was preventing the dialog from functioning for me was that I was using the C:\ root directory as the starting location. Interestingly, the OpenDialog (and ArcCatalog) does not show TXT or CSV files in the c:\ root. However, everything operates OK when using a subfolder....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Jan 2016 18:05:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-use-pythonaddin-opendialog/m-p/139976#M10904</guid>
      <dc:creator>BillRichards</dc:creator>
      <dc:date>2016-01-30T18:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to use pythonaddin opendialog</title>
      <link>https://community.esri.com/t5/python-questions/how-to-use-pythonaddin-opendialog/m-p/139977#M10905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is also an issue with ArcGIS Pro &lt;A href="https://pro.arcgis.com/en/pro-app/help/projects/connect-to-a-folder.htm" title="https://pro.arcgis.com/en/pro-app/help/projects/connect-to-a-folder.htm"&gt;Connect to a folder—ArcGIS Pro | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I am beginning to think that this is by design... as well as a good idea.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Jan 2016 18:38:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-use-pythonaddin-opendialog/m-p/139977#M10905</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-01-30T18:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to use pythonaddin opendialog</title>
      <link>https://community.esri.com/t5/python-questions/how-to-use-pythonaddin-opendialog/m-p/139978#M10906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes,&lt;/P&gt;&lt;P&gt;However, if by design, why are individual XML files and all ArcGisPro-supported image files in the root directly listed and selectable in the dialog?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Jan 2016 19:28:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-use-pythonaddin-opendialog/m-p/139978#M10906</guid>
      <dc:creator>BillRichards</dc:creator>
      <dc:date>2016-01-30T19:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to use pythonaddin opendialog</title>
      <link>https://community.esri.com/t5/python-questions/how-to-use-pythonaddin-opendialog/m-p/139979#M10907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bill... Pass comments on to those in charge... the new ArcGIS Ideas site comes on stream soon and you don't need to leave the comfort of GeoNet... (what next? Starbucks and Timmies in the Lounge?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migration-blogpost/55474"&gt;ArcGIS Ideas coming to GeoNet&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I just use it &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Jan 2016 20:04:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-use-pythonaddin-opendialog/m-p/139979#M10907</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-01-30T20:04:00Z</dc:date>
    </item>
  </channel>
</rss>

