<?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 SQL query and Export Metadata in Transportation Questions</title>
    <link>https://community.esri.com/t5/transportation-questions/sql-query-and-export-metadata/m-p/379131#M1250</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to have your input for this part of my script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to set up an SQL query box in my tool that will allow users to to select and query from the fields obtained in the input feature layer (Input_Poly_Feature_Layer). The only problem: it seems like there is no way to display the fields in the Query builder box. Do you guys know if there is anyway to make the fields show up?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Last thing that I will intend to do is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Each time the script is ran, I would like to save a copy of all the Metadata (All steps used for this) as a CVS file or text file? Do you have any hints or ideas on how to do this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Mar 2013 21:17:50 GMT</pubDate>
    <dc:creator>AlexGole1</dc:creator>
    <dc:date>2013-03-15T21:17:50Z</dc:date>
    <item>
      <title>SQL query and Export Metadata</title>
      <link>https://community.esri.com/t5/transportation-questions/sql-query-and-export-metadata/m-p/379131#M1250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to have your input for this part of my script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to set up an SQL query box in my tool that will allow users to to select and query from the fields obtained in the input feature layer (Input_Poly_Feature_Layer). The only problem: it seems like there is no way to display the fields in the Query builder box. Do you guys know if there is anyway to make the fields show up?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Last thing that I will intend to do is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Each time the script is ran, I would like to save a copy of all the Metadata (All steps used for this) as a CVS file or text file? Do you have any hints or ideas on how to do this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Mar 2013 21:17:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/transportation-questions/sql-query-and-export-metadata/m-p/379131#M1250</guid>
      <dc:creator>AlexGole1</dc:creator>
      <dc:date>2013-03-15T21:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query and Export Metadata</title>
      <link>https://community.esri.com/t5/transportation-questions/sql-query-and-export-metadata/m-p/379132#M1251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Regarding the first part of your question, when you create the script tool parameters, make sure that you select the Obtained From box for the SQL Expression, and select the input feature that you want the fields to come from.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Mar 2013 21:37:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/transportation-questions/sql-query-and-export-metadata/m-p/379132#M1251</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2013-03-15T21:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query and Export Metadata</title>
      <link>https://community.esri.com/t5/transportation-questions/sql-query-and-export-metadata/m-p/379133#M1252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: alex92190&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Regarding the first part of your question, when you create the script tool parameters, make sure that you select the Obtained From box for the SQL Expression, and select the input feature that you want the fields to come from.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried this but my script input is not a FeatureLayer, it is a shapefile from which i create a feature layer in my script. The Obtain from is therefore blank...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Mar 2013 21:46:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/transportation-questions/sql-query-and-export-metadata/m-p/379133#M1252</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-03-15T21:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query and Export Metadata</title>
      <link>https://community.esri.com/t5/transportation-questions/sql-query-and-export-metadata/m-p/379134#M1253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You shouldn't need a feature layer. It works as shapefile or feature class for me. Are the fields you want coming from the shapefile parameter below the SQL expression parameter, or are you trying to obtain the fields from a feature class that is defined within the script (not a parameter).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Mar 2013 21:59:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/transportation-questions/sql-query-and-export-metadata/m-p/379134#M1253</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2013-03-15T21:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query and Export Metadata</title>
      <link>https://community.esri.com/t5/transportation-questions/sql-query-and-export-metadata/m-p/379135#M1254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: alex92190&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You shouldn't need a feature layer. It works as shapefile or feature class for me. Are the fields you want coming from the shapefile parameter below the SQL expression parameter, or are you trying to obtain the fields from a feature class that is defined within the script (not a parameter).&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So here is what I have:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) make this shape into FLayer for a select by location&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;input_poly = r"K:\Library\State\CA\State_Wide\Bio\CNDDB\cnddb.shp"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Input_Poly_Feature_Layer = "cnddb_Feature_Lyr"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) From select by location&amp;nbsp; i want to make a subset selection&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#Select Layer by attribute&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SelectLayerByAttribute_management(Input_Poly_Feature_Layer, "SUBSET_SELECTION", SQL_Query)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, attached is the error popping up when drag/drop feature class to the tool "Select Layer by attribute". Should I use another tool maybe?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alex&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;#Set Workspace
arcpy.env.workspace = arcpy.GetParameter(0)
arcpy.AddMessage("The new current workspace is: %s" % env.workspace) 

#Overwrite features
arcpy.env.overwriteOutput = True

# Get cnddb data and boundary input/output
input_poly = r"K:\Library\State\CA\State_Wide\Bio\CNDDB\cnddb.shp"
Input_Poly_Feature_Layer = "cnddb_Feature_Lyr"
Buffer_output = "Buffer_Output"
Buffer_Distance = arcpy.GetParameter(1)
Selected_cnddb_poly = "cnddb_poly_selected".format(arcpy.GetParameter(1))
Selected_cnddb_point = "cnddb_point_selected".format(arcpy.GetParameter(1))
Selectingpoly = arcpy.GetParameter(2)
SQL_Query = arcpy.GetParameterAsText(3)
UpdatedField = "Cnddb_update"

# Make Feature layer from cnddb poly
arcpy.AddMessage("Creating CNDDB Polygon Feature Layer...")
arcpy.MakeFeatureLayer_management(input_poly, Input_Poly_Feature_Layer)

#Select by location cnddb polygon
arcpy.AddMessage("Selecting features by location...") 
arcpy.SelectLayerByLocation_management(Input_Poly_Feature_Layer, 'WITHIN_A_DISTANCE', Selectingpoly, Buffer_Distance, "NEW_SELECTION")
int(arcpy.GetCount_management(Input_Poly_Feature_Layer).getOutput(0))

#Select Layer by attribute
SelectLayerByAttribute_management(Input_Poly_Feature_Layer, "SUBSET_SELECTION", SQL_Query)&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 17:30:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/transportation-questions/sql-query-and-export-metadata/m-p/379135#M1254</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-11T17:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query and Export Metadata</title>
      <link>https://community.esri.com/t5/transportation-questions/sql-query-and-export-metadata/m-p/379136#M1255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, you do need a Feature Layer to use the Select Layer by Location tool, so if you drag and drop a shapefile, this will likely give you an error. However, if you completely take your script out of the equation, you should be able to do the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Right click your toolbox and select Add &amp;gt; Script&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Click Next through the first 2 pages&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. On the parameter page, make your first parameter a feature class, and call it "input feature"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Make a second parameter called "SQL Expression" and select data type of SQL Expression&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. For the second parameter, in the properties, select obtained from "input feature"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6. Finish the tool, then double click it in the toolbox&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7. Fill in the tool with a shp/fc&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;8. Click the SQL button and you should see the fields from the first parameter&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See if this works, and if it does, implement the same type of logic into your script.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Mar 2013 22:41:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/transportation-questions/sql-query-and-export-metadata/m-p/379136#M1255</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2013-03-15T22:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query and Export Metadata</title>
      <link>https://community.esri.com/t5/transportation-questions/sql-query-and-export-metadata/m-p/379137#M1256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: alex92190&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Well, you do need a Feature Layer to use the Select Layer by Location tool, so if you drag and drop a shapefile, this will likely give you an error. However, if you completely take your script out of the equation, you should be able to do the following:&lt;BR /&gt;&lt;BR /&gt;1. Right click your toolbox and select Add &amp;gt; Script&lt;BR /&gt;2. Click Next through the first 2 pages&lt;BR /&gt;3. On the parameter page, make your first parameter a feature class, and call it "input feature"&lt;BR /&gt;4. Make a second parameter called "SQL Expression" and select data type of SQL Expression&lt;BR /&gt;5. For the second parameter, in the properties, select obtained from "input feature"&lt;BR /&gt;6. Finish the tool, then double click it in the toolbox&lt;BR /&gt;7. Fill in the tool with a shp/fc&lt;BR /&gt;8. Click the SQL button and you should see the fields from the first parameter&lt;BR /&gt;&lt;BR /&gt;See if this works, and if it does, implement the same type of logic into your script.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I understand the logic, but then the "input feature" which in my script is "Input_Poly_Feature_Layer" will need to become a parameter when it is only supposed to be used as a temporary file... not a tool input that people can see. what I am trying to stay is that i would not really want this input layer to be a parameter for this tool. The logic of this tool is the following: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- People must be able to select by location&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Based on this selection by location, people would be able to query the fields/rows that were selected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does that make sense? A lot like this found here: &lt;/SPAN&gt;&lt;A href="http://gis.stackexchange.com/questions/35117/python-script-for-select-by-attributes-taking-user-input" rel="nofollow noopener noreferrer" target="_blank"&gt;http://gis.stackexchange.com/questions/35117/python-script-for-select-by-attributes-taking-user-input&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;# Import system modules
import arcpy
from arcpy import env

# Set the workspace
env.workspace = arcpy.GetParameterAsText(0)
Dir = env.workspace

# Local variables
input = arcpy.GetParameterAsText(1)
polygon = arcpy.GetParameterAsText(2)
expression = arcpy.GetParameterAsText(3)
name = arcpy.GetParameterAsText(4)

# Make a layer from the input feature class
arcpy.MakeFeatureLayer_management(input, "lyr") 

# Select all points or polygons which overlap the polygon/s of interest
arcpy.SelectLayerByLocation_management("lyr", "intersect", polygon, 0, "new_selection")

# Within selected features, further select based on a SQL query within the script tool&amp;nbsp;&amp;nbsp;&amp;nbsp; 
arcpy.SelectLayerByAttribute_management("lyr", "SUBSET_SELECTION", expression)

# Write the selected features to a new featureclass
arcpy.CopyFeatures_management("lyr", Dir + "\\" + str(name))
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 17:30:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/transportation-questions/sql-query-and-export-metadata/m-p/379137#M1256</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-11T17:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query and Export Metadata</title>
      <link>https://community.esri.com/t5/transportation-questions/sql-query-and-export-metadata/m-p/379138#M1257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tried the method you indicated "obtained from". The only option available to me was an already created table: the selecting features poly used to select from the input table (layer from which I get all my info). I have no idea how to view the fields from a table which already has a selection in the query builder.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 17:58:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/transportation-questions/sql-query-and-export-metadata/m-p/379138#M1257</guid>
      <dc:creator>AlexGole1</dc:creator>
      <dc:date>2013-03-18T17:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query and Export Metadata</title>
      <link>https://community.esri.com/t5/transportation-questions/sql-query-and-export-metadata/m-p/379139#M1258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: ldanzinger&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I understand what you want. Basically, you want the SQL query to reflect a table that is not a parameter but rather, a selection from a table. Based on what you describe, I don't believe it would be possible. The reason being is that you would want the SQL Query to reflect the selection, however, the selection wouldn't really be made until the script has started. However, at the time of clicking the SQL button, the script wouldn't have any way of knowing what the selection would be, as it was not executed yet.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 20:50:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/transportation-questions/sql-query-and-export-metadata/m-p/379139#M1258</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-03-18T20:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query and Export Metadata</title>
      <link>https://community.esri.com/t5/transportation-questions/sql-query-and-export-metadata/m-p/379140#M1259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I think I understand what you want. Basically, you want the SQL query to reflect a table that is not a parameter but rather, a selection from a table. Based on what you describe, I don't believe it would be possible. The reason being is that you would want the SQL Query to reflect the selection, however, the selection wouldn't really be made until the script has started. However, at the time of clicking the SQL button, the script wouldn't have any way of knowing what the selection would be, as it was not executed yet.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That is right, that is exactly what I was wondering...I might switch the two selections then. 1) Select by location 2nd and 2) Select by attribute 1st so it selects from the input table (the features I want to select). Do I need to make it a parameter to view the fields then?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 21:50:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/transportation-questions/sql-query-and-export-metadata/m-p/379140#M1259</guid>
      <dc:creator>AlexGole1</dc:creator>
      <dc:date>2013-03-18T21:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query and Export Metadata</title>
      <link>https://community.esri.com/t5/transportation-questions/sql-query-and-export-metadata/m-p/379141#M1260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: ldanzinger&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, have that as an input parameter and use Obtained From for the SQL Query.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 22:26:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/transportation-questions/sql-query-and-export-metadata/m-p/379141#M1260</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-03-18T22:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query and Export Metadata</title>
      <link>https://community.esri.com/t5/transportation-questions/sql-query-and-export-metadata/m-p/379142#M1261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Yes, have that as an input parameter and use Obtained From for the SQL Query.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Last question and I will stop there then. Is it possible to make a parameter that gives the user no control (i know it is weird), but i dont want the user to change the link to the shapefile.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 22:46:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/transportation-questions/sql-query-and-export-metadata/m-p/379142#M1261</guid>
      <dc:creator>AlexGole1</dc:creator>
      <dc:date>2013-03-18T22:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query and Export Metadata</title>
      <link>https://community.esri.com/t5/transportation-questions/sql-query-and-export-metadata/m-p/379143#M1262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: ldanzinger&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could probably set an error message if the user changes it using a &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/Programming_a_ToolValidator_class/00150000000v000000/"&gt;ToolValidator class&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Mar 2013 16:56:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/transportation-questions/sql-query-and-export-metadata/m-p/379143#M1262</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-03-19T16:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query and Export Metadata</title>
      <link>https://community.esri.com/t5/transportation-questions/sql-query-and-export-metadata/m-p/379144#M1263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You could probably set an error message if the user changes it using a &lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/Programming_a_ToolValidator_class/00150000000v000000/"&gt;ToolValidator class&lt;/A&gt;.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you my script works great. I am now trying to write metadata to a feature class.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 16:46:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/transportation-questions/sql-query-and-export-metadata/m-p/379144#M1263</guid>
      <dc:creator>AlexGole1</dc:creator>
      <dc:date>2013-03-21T16:46:53Z</dc:date>
    </item>
  </channel>
</rss>

