<?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 Problem Setting a Parameter to Insert values from a table in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/problem-setting-a-parameter-to-insert-values-from/m-p/661439#M51385</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a model that selects files based on the value of a table. I want to run a script from this model in ArcMap with the script's parameters set. The user clicks on the model, there is a dialog box where the user can choose Input Datasets (the table that lists the files) and then the user is prompted to insert values from a table. The user selects the correct field from this and the model selects the files that are listed in this field. See attached image for the dialog box from the model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to do the same with the parameters set up in my Python script so that the user can click on the script instead of the model, there is a dialog box asking for a table and field, and the script selects the files listed in the table, just like the model does. I have not found a way to set the parameters so that the user can choose the table and then choose the correct field in the table and insert the values from that field. I have tried various settings in the script's properties but I have not found anything that works.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Aug 2011 16:02:40 GMT</pubDate>
    <dc:creator>JacobCoble</dc:creator>
    <dc:date>2011-08-11T16:02:40Z</dc:date>
    <item>
      <title>Problem Setting a Parameter to Insert values from a table</title>
      <link>https://community.esri.com/t5/python-questions/problem-setting-a-parameter-to-insert-values-from/m-p/661439#M51385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a model that selects files based on the value of a table. I want to run a script from this model in ArcMap with the script's parameters set. The user clicks on the model, there is a dialog box where the user can choose Input Datasets (the table that lists the files) and then the user is prompted to insert values from a table. The user selects the correct field from this and the model selects the files that are listed in this field. See attached image for the dialog box from the model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to do the same with the parameters set up in my Python script so that the user can click on the script instead of the model, there is a dialog box asking for a table and field, and the script selects the files listed in the table, just like the model does. I have not found a way to set the parameters so that the user can choose the table and then choose the correct field in the table and insert the values from that field. I have tried various settings in the script's properties but I have not found anything that works.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 16:02:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-setting-a-parameter-to-insert-values-from/m-p/661439#M51385</guid>
      <dc:creator>JacobCoble</dc:creator>
      <dc:date>2011-08-11T16:02:40Z</dc:date>
    </item>
  </channel>
</rss>

