<?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: gis.content.search() parameter substitution in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-parameter-substitution/m-p/797151#M1854</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, this is where I had decided I was going astray.&lt;/P&gt;&lt;P&gt;I am struggling with how to pass the string, st, to the parameter &lt;SPAN style="background-color: #ffffff;"&gt;designator&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;.&amp;nbsp; Basic Python stuff I think.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This does not work either:&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;STRONG style="border: 0px; font-weight: bold; font-size: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;st = '"' + 'Boundaries AND owner:MontanaStateLibrary' + '"'&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;STRONG style="border: 0px; font-weight: bold; font-size: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;gis.content.search(query=st)&lt;/STRONG&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;gt;&amp;gt;&amp;gt; st = '"' + 'Boundaries AND owner:MontanaStateLibrary' + '"'&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; print(st)&lt;BR /&gt;"Boundaries AND owner:MontanaStateLibrary"&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; gis.content.search(query=st)&lt;BR /&gt;[]&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Aug 2018 16:34:03 GMT</pubDate>
    <dc:creator>RobertHolliday</dc:creator>
    <dc:date>2018-08-09T16:34:03Z</dc:date>
    <item>
      <title>gis.content.search() parameter substitution</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-parameter-substitution/m-p/797149#M1852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the ArcGIS API for Python and I am struggling with passing parameters to the &lt;EM&gt;&lt;STRONG&gt;gis.content.search&lt;/STRONG&gt;&lt;/EM&gt; function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;If I type in command parameters&amp;nbsp; and run the snippet&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;temp_list&amp;nbsp; =&amp;nbsp; gis.content.search(query="Boundaries AND owner:MontanaStateLibrary)&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;a list of content is returned.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;However if I build a string, &lt;EM&gt;&lt;STRONG&gt;st = 'query=' + '"' + 'Boundaries AND owner:MontanaStateLibrary' + '"'&lt;/STRONG&gt;&lt;/EM&gt;,&amp;nbsp; and do something like this:&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;temp_list&amp;nbsp; =&amp;nbsp; gis.content.search(st)&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;an empty list is returned.&lt;OL&gt;&lt;LI&gt;In troubleshooting I have copied the printed string, &lt;EM&gt;&lt;STRONG&gt;st&lt;/STRONG&gt;&lt;/EM&gt;,&amp;nbsp; from the interactive window and pasted the text into the&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;gis.content.search()&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt; command which results in a list of content.&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;As of right now the following code is just a brain dump.&amp;nbsp; I am using 2 lists to build the parameter string.&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote" style="margin: 0 0 0 40px; border: none; padding: 0px;"&gt;try:&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE class="jive-quote" style="margin: 0 0 0 40px; border: none; padding: 0px;"&gt;&lt;BLOCKQUOTE class="jive-quote" style="margin: 0 0 0 40px; border: none; padding: 0px;"&gt;query_list = ['Boundaries', 'ConservationEasements', 'Geographic Names', 'Hydrography', 'LandCover', 'Mapping Control', 'MontanaMask', 'Montana Managed Areas', 'Montana NAIP', 'NAIP', 'Parcel', 'PLSSS', 'PublicLands', 'Roads', 'Structures', 'Watershed', 'Wetlands']&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE class="jive-quote" style="margin: 0 0 0 40px; border: none; padding: 0px;"&gt;&lt;BR /&gt;item_type_list = list()&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE class="jive-quote" style="margin: 0 0 0 40px; border: none; padding: 0px;"&gt;st = 'item_type =' + '"' + 'Feature Layer' + '"'&lt;BR /&gt; item_type_list.append(st)&lt;BR /&gt; st = 'item_type =' + '"' + 'Imagery Layer'# + '"'&lt;BR /&gt; item_type_list.append(st)&lt;BR /&gt; st = 'item_type =' + '"' + 'Map Image Layer'# + '"'&lt;BR /&gt; item_type_list.append(st)&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE class="jive-quote" style="margin: 0 0 0 40px; border: none; padding: 0px;"&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE class="jive-quote" style="margin: 0 0 0 40px; border: none; padding: 0px;"&gt;for q in query_list:&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote" style="margin: 0 0 0 40px; border: none; padding: 0px;"&gt;st = 'query=' + '"' + q + ' AND owner:MontanaStateLibrary' + '"' #+ ', '&lt;BR /&gt; temp_list = gis.content.search(st)&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BLOCKQUOTE&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing something obvious?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arcgis-api-python‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 16:09:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-parameter-substitution/m-p/797149#M1852</guid>
      <dc:creator>RobertHolliday</dc:creator>
      <dc:date>2018-08-09T16:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: gis.content.search() parameter substitution</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-parameter-substitution/m-p/797150#M1853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="link-titled" href="https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.toc.html?highlight=content%20search#arcgis.gis.ContentManager.search" title="https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.toc.html?highlight=content%20search#arcgis.gis.ContentManager.search"&gt;arcgis.gis module — arcgis 1.4.2 documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 15px; font-style: italic; font-variant: normal; font-weight: bold; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;query=&lt;/SPAN&gt;&amp;nbsp; is a parameter designator and shouldn't be in quotes or part or your quoted string I suspect&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 16:16:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-parameter-substitution/m-p/797150#M1853</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-08-09T16:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: gis.content.search() parameter substitution</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-parameter-substitution/m-p/797151#M1854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, this is where I had decided I was going astray.&lt;/P&gt;&lt;P&gt;I am struggling with how to pass the string, st, to the parameter &lt;SPAN style="background-color: #ffffff;"&gt;designator&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;.&amp;nbsp; Basic Python stuff I think.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This does not work either:&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;STRONG style="border: 0px; font-weight: bold; font-size: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;st = '"' + 'Boundaries AND owner:MontanaStateLibrary' + '"'&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;STRONG style="border: 0px; font-weight: bold; font-size: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;gis.content.search(query=st)&lt;/STRONG&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;gt;&amp;gt;&amp;gt; st = '"' + 'Boundaries AND owner:MontanaStateLibrary' + '"'&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; print(st)&lt;BR /&gt;"Boundaries AND owner:MontanaStateLibrary"&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; gis.content.search(query=st)&lt;BR /&gt;[]&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 16:34:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-parameter-substitution/m-p/797151#M1854</guid>
      <dc:creator>RobertHolliday</dc:creator>
      <dc:date>2018-08-09T16:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: gis.content.search() parameter substitution</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-parameter-substitution/m-p/797152#M1855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; list-style-type: decimal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;If I type in command parameters&amp;nbsp; and run the snippet&amp;nbsp;&lt;/SPAN&gt;&lt;EM style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #3d3d3d; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 14px; font-style: italic; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; outline-color: invert; outline-style: none; outline-width: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none #3d3d3d;"&gt;&lt;STRONG style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 14px; font-style: italic; font-weight: bold; outline-color: invert; outline-style: none; outline-width: 0px; vertical-align: baseline; padding: 0px; margin: 0px; border: 0px none #3d3d3d;"&gt;temp_list&amp;nbsp; =&amp;nbsp; gis.content.search(query="Boundaries AND owner:MontanaStateLibrary)&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is that just missing the final " in your quote that you used?&amp;nbsp; because it is a string already if you put one in (ie st = &lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 14px; font-style: italic; font-variant: normal; font-weight: bold; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;"Boundaries AND owner:MontanaStateLibrary&lt;/SPAN&gt;" )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 16:40:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-parameter-substitution/m-p/797152#M1855</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-08-09T16:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: gis.content.search() parameter substitution</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-parameter-substitution/m-p/797153#M1856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is you change your last two lines of code:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;st &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'"'&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; q &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;' AND owner:MontanaStateLibrary'&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'"'&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;#+ ', '&lt;/SPAN&gt;
temp_list &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; gis&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;content&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;search&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;query&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;st&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;You can't pass named arguments the way you are trying to pass them in your current code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 09:12:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-parameter-substitution/m-p/797153#M1856</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2021-12-12T09:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: gis.content.search() parameter substitution</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-parameter-substitution/m-p/797154#M1857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the previous message I missed the final quote on the string&amp;nbsp;when copying and pasting to this editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from the interactive window:&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; templist = gis.content.search(query="Boundaries AND owner:MontanaStateLibrary")&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; print(len(templist))&lt;BR /&gt;10&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; st = '"' + 'Boundaries AND owner:MontanaStateLibrary' + '"'&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; print(st)&lt;BR /&gt;"Boundaries AND owner:MontanaStateLibrary"&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; templist = gis.content.search(query=st)&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; print(len(templist))&lt;BR /&gt;0&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; st = 'query =' + '"' + 'Boundaries AND owner:MontanaStateLibrary' + '"'&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; print(st)&lt;BR /&gt;query ="Boundaries AND owner:MontanaStateLibrary"&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; templist = gis.content.search(st)&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; print(len(templist))&lt;BR /&gt;0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 17:04:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-parameter-substitution/m-p/797154#M1857</guid>
      <dc:creator>RobertHolliday</dc:creator>
      <dc:date>2018-08-09T17:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: gis.content.search() parameter substitution</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-parameter-substitution/m-p/797155#M1858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I had assumed that I was passing the parameters incorrectly.&amp;nbsp; Do you have a suggestion as to how to pass parameters?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any insight.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 17:11:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-parameter-substitution/m-p/797155#M1858</guid>
      <dc:creator>RobertHolliday</dc:creator>
      <dc:date>2018-08-09T17:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: gis.content.search() parameter substitution</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-parameter-substitution/m-p/797156#M1859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert... getting lost... you seem to want to quote an already quoted string... maybe Josh knows, but I don't see&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;st = &lt;/SPAN&gt;&lt;SPAN style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #3d3d3d; display: inline; float: none; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 14px; font-style: italic; font-variant: normal; font-weight: bold; letter-spacing: normal; orphans: 2; outline-color: invert; outline-style: none; outline-width: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none #3d3d3d;"&gt;"Boundaries AND owner:MontanaStateLibrary&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;"&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;query = st&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;if that already worked... (their help really needs some concrete examples for sure&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 17:13:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-parameter-substitution/m-p/797156#M1859</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-08-09T17:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: gis.content.search() parameter substitution</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-parameter-substitution/m-p/797157#M1860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you trip my code changes?&amp;nbsp; Do they work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 17:13:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-parameter-substitution/m-p/797157#M1860</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2018-08-09T17:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: gis.content.search() parameter substitution</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-parameter-substitution/m-p/797158#M1861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I did try what you suggested after taking a second closer look at what you suggested.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Capture" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/418429_Capture.PNG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 17:34:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-parameter-substitution/m-p/797158#M1861</guid>
      <dc:creator>RobertHolliday</dc:creator>
      <dc:date>2018-08-09T17:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: gis.content.search() parameter substitution</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-parameter-substitution/m-p/797159#M1862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the confusion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not attempting to quote an already quoted string.&amp;nbsp; What I am attempting to do is to determine the proper way to pass parameters to the&amp;nbsp;gis.content.search() function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 17:37:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-parameter-substitution/m-p/797159#M1862</guid>
      <dc:creator>RobertHolliday</dc:creator>
      <dc:date>2018-08-09T17:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: gis.content.search() parameter substitution</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-parameter-substitution/m-p/797160#M1863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ha, on "their help really needs some concrete examples."&amp;nbsp; I couldn't agree more, the ArcGIS API for Python documentation has a lllooonnnggg way to go.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 17:46:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-parameter-substitution/m-p/797160#M1863</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2018-08-09T17:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: gis.content.search() parameter substitution</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-parameter-substitution/m-p/797161#M1864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see what Dan is getting at above, what about:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;st &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; q &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;' AND owner:MontanaStateLibrary'&lt;/SPAN&gt;
temp_list &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; gis&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;content&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;search&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;query&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;st&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;CODE&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 09:12:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-parameter-substitution/m-p/797161#M1864</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2021-12-12T09:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: gis.content.search() parameter substitution</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-parameter-substitution/m-p/797162#M1865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Success!&amp;nbsp; I am not sure I would have ever figured out to enter an unquoted string.&amp;nbsp; Thanks to both Joshua Bixby and Dan Patterson for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Capture" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/418430_Capture.PNG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 17:57:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-parameter-substitution/m-p/797162#M1865</guid>
      <dc:creator>RobertHolliday</dc:creator>
      <dc:date>2018-08-09T17:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: gis.content.search() parameter substitution</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-parameter-substitution/m-p/797163#M1866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to you both for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;####################&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bob Holliday&lt;/P&gt;&lt;P&gt;Montana State Library&lt;/P&gt;&lt;P&gt;rholliday@mt.gov&amp;lt;mailto:rholliday@mt.gov&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;OL&gt;&lt;OL&gt;&lt;OL&gt;&lt;OL&gt;&lt;OL&gt;&lt;OL&gt;&lt;OL&gt;&lt;OL&gt;&lt;OL&gt;&lt;OL&gt;&lt;OL&gt;&lt;OL&gt;&lt;OL&gt;&lt;OL&gt;&lt;OL&gt;&lt;OL&gt;&lt;OL&gt;&lt;OL&gt;&lt;OL&gt;&lt;LI level="20" type="ol"&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 18:01:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-content-search-parameter-substitution/m-p/797163#M1866</guid>
      <dc:creator>RobertHolliday</dc:creator>
      <dc:date>2018-08-09T18:01:18Z</dc:date>
    </item>
  </channel>
</rss>

