<?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 Non-alphanumeric characters in task parameters and task URL for Geoprocessing service in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/non-alphanumeric-characters-in-task-parameters-and/m-p/143768#M1646</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;During creation of a workflow model and then exporting as GPK for runtime use in ArcGIS for Desktop:&lt;/P&gt;&lt;P&gt;- Task name, input and output parameters has no limitation as to what kind of characters can be used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when running a local geoprocessing service from the GPK, it was observed that:&lt;/P&gt;&lt;P&gt;- input and output parameters: non-alphanumeric characters were escaped as underscores "_"&lt;/P&gt;&lt;P&gt;- task URL - non-alphanumeric characters were escaped as ASCII characters (?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;However, when testing the possibility of &lt;EM&gt;weird&lt;/EM&gt; task names, it seemed that, in certain cases, these task URL cannot be accessed no matter how they were escaped.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;eg: the task URL = "bb,.@#$%^&amp;amp;*()-+aa" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had worked through most combination of URL encoding to find that...only &lt;STRONG&gt; /&lt;/STRONG&gt; cannot be encoded - thus a task URL with &lt;STRONG&gt;/&lt;/STRONG&gt; characters cannot be accessed. Is that a restriction on the ArcGIS Local Server?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;Is there a guideline as to how ArcGIS deal with geoprocessing tasks URL with non-alphanumeric alphabets, or does ArcGIS Runtime has any helper class/method to handle these cases.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using ArcGIS Runtime SDK for .Net 10.2.4, and thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Lina Yap&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Feb 2015 05:29:57 GMT</pubDate>
    <dc:creator>LinaYap1</dc:creator>
    <dc:date>2015-02-26T05:29:57Z</dc:date>
    <item>
      <title>Non-alphanumeric characters in task parameters and task URL for Geoprocessing service</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/non-alphanumeric-characters-in-task-parameters-and/m-p/143768#M1646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;During creation of a workflow model and then exporting as GPK for runtime use in ArcGIS for Desktop:&lt;/P&gt;&lt;P&gt;- Task name, input and output parameters has no limitation as to what kind of characters can be used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when running a local geoprocessing service from the GPK, it was observed that:&lt;/P&gt;&lt;P&gt;- input and output parameters: non-alphanumeric characters were escaped as underscores "_"&lt;/P&gt;&lt;P&gt;- task URL - non-alphanumeric characters were escaped as ASCII characters (?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;However, when testing the possibility of &lt;EM&gt;weird&lt;/EM&gt; task names, it seemed that, in certain cases, these task URL cannot be accessed no matter how they were escaped.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;eg: the task URL = "bb,.@#$%^&amp;amp;*()-+aa" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had worked through most combination of URL encoding to find that...only &lt;STRONG&gt; /&lt;/STRONG&gt; cannot be encoded - thus a task URL with &lt;STRONG&gt;/&lt;/STRONG&gt; characters cannot be accessed. Is that a restriction on the ArcGIS Local Server?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;Is there a guideline as to how ArcGIS deal with geoprocessing tasks URL with non-alphanumeric alphabets, or does ArcGIS Runtime has any helper class/method to handle these cases.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using ArcGIS Runtime SDK for .Net 10.2.4, and thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Lina Yap&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 05:29:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/non-alphanumeric-characters-in-task-parameters-and/m-p/143768#M1646</guid>
      <dc:creator>LinaYap1</dc:creator>
      <dc:date>2015-02-26T05:29:57Z</dc:date>
    </item>
  </channel>
</rss>

