<?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: Issue with a url query in SQL Calc Field in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/issue-with-a-url-query-in-sql-calc-field/m-p/669666#M33342</link>
    <description>&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/82710" target="_blank"&gt;Ryan&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A "?" is a placeholder in a SQL statement depending where it is located in the statement.&amp;nbsp; If your URL is contained in quotes as part of the WHERE clause is this should be ok other wise the SQL will replace the ? with a value.&amp;nbsp; &lt;U&gt;&lt;STRONG&gt;Depending upon the driver and SQL version&lt;/STRONG&gt;&lt;/U&gt;, using a double question mark "??" or wrapping the question mark in brackets "[?]" in the URL may escape the issue.&amp;nbsp; Can you provide a copy of the full SQL statement?&lt;/P&gt;</description>
    <pubDate>Tue, 08 Oct 2024 12:53:51 GMT</pubDate>
    <dc:creator>LanceCole</dc:creator>
    <dc:date>2024-10-08T12:53:51Z</dc:date>
    <item>
      <title>Issue with a url query in SQL Calc Field</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/issue-with-a-url-query-in-sql-calc-field/m-p/669665#M33341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone else have an issue in AGOL calculating a filed to update a url link with a "?" in it? Every time I tried paste a url with a query&lt;/P&gt;&lt;P&gt;(ex: https://&amp;lt;front of url&amp;gt;..../DistrictBallotView.aspx&lt;SPAN style="text-decoration: underline; font-size: 22px; "&gt;&lt;STRONG&gt;?&lt;/STRONG&gt;&lt;/SPAN&gt;DistrictKey=31...&amp;lt;end of url&amp;gt;....)&lt;/P&gt;&lt;P&gt;it changes the "?" to a ":"&lt;/P&gt;&lt;P&gt;(ex:&amp;nbsp;&lt;SPAN&gt;https://&amp;lt;front of url&amp;gt;....&lt;/SPAN&gt;&lt;SPAN&gt;/DistrictBallotView.aspx&lt;/SPAN&gt;&lt;SPAN style="text-decoration: underline; font-size: 22px; "&gt;&lt;STRONG&gt;:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;DistrictKey=31...&amp;lt;end of url&amp;gt;....)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To be clear, I'd paste the url and it looks fine. I hit calculate and the result has the colon instead of the question mark.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This ONLY seems to happen in the SQL version of editing. I had to change settings on the feature class to be able to make the edit in Arcade and then change the setting back.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2019 18:41:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/issue-with-a-url-query-in-sql-calc-field/m-p/669665#M33341</guid>
      <dc:creator>RyanClose</dc:creator>
      <dc:date>2019-09-13T18:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with a url query in SQL Calc Field</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/issue-with-a-url-query-in-sql-calc-field/m-p/669666#M33342</link>
      <description>&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/82710" target="_blank"&gt;Ryan&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A "?" is a placeholder in a SQL statement depending where it is located in the statement.&amp;nbsp; If your URL is contained in quotes as part of the WHERE clause is this should be ok other wise the SQL will replace the ? with a value.&amp;nbsp; &lt;U&gt;&lt;STRONG&gt;Depending upon the driver and SQL version&lt;/STRONG&gt;&lt;/U&gt;, using a double question mark "??" or wrapping the question mark in brackets "[?]" in the URL may escape the issue.&amp;nbsp; Can you provide a copy of the full SQL statement?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 12:53:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/issue-with-a-url-query-in-sql-calc-field/m-p/669666#M33342</guid>
      <dc:creator>LanceCole</dc:creator>
      <dc:date>2024-10-08T12:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with a url query in SQL Calc Field</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/issue-with-a-url-query-in-sql-calc-field/m-p/1546470#M61851</link>
      <description>&lt;P&gt;I have the same Issue.&lt;/P&gt;&lt;P&gt;Both the solutions proposed by &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/201429"&gt;@LanceCole&lt;/a&gt; do not work:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;with double question mark "??" you obtain "@"&lt;/LI&gt;&lt;LI&gt;with the question mark in brackets "[?]" you obtain "[:]"&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;here a workaround if the value is needed for a popup: &lt;A href="https://community.esri.com/t5/arcgis-online-questions/calculated-url-converts-question-mark-to-colon/td-p/1288161" target="_blank"&gt;https://community.esri.com/t5/arcgis-online-questions/calculated-url-converts-question-mark-to-colon/td-p/1288161&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Roberto&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 12:37:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/issue-with-a-url-query-in-sql-calc-field/m-p/1546470#M61851</guid>
      <dc:creator>RobertoRossi</dc:creator>
      <dc:date>2024-10-08T12:37:40Z</dc:date>
    </item>
  </channel>
</rss>

