<?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: Routing -&amp;gt; set custom names for stops in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/routing-gt-set-custom-names-for-stops/m-p/820246#M1878</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AppStudio 2.0 was released and now supports the latest&amp;nbsp;ArcGIS Runtime 100.1 for mapping capabilities. &amp;nbsp;Please &lt;A href="http://doc.arcgis.com/en/appstudio/download/"&gt;update &lt;/A&gt;the AppStudio Desktop, Click on the New App button and search for "Find a Route" sample. &amp;nbsp;I hope this is helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tina&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Jul 2017 20:51:12 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2017-07-24T20:51:12Z</dc:date>
    <item>
      <title>Routing -&gt; set custom names for stops</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/routing-gt-set-custom-names-for-stops/m-p/820243#M1875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Recently I've been working on cool routing functionality using the SDK and the ArcGIS world route service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, in the route directions, the string containing the direction gives me default names for stops (location 1, location 2 etc...).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to set these manually and I know the route service allows it, since I've done it with the Qt Runtime SDK 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I can't find a way to do it with the Appstudio SDK. I have looked through the docs and&lt;A href="http://desktop.arcgis.com/en/arcmap/10.4/extensions/network-analyst/route.htm#ESRI_SECTION2_D15444876A7F4BFD8AA169BB745CCF91" rel="nofollow noopener noreferrer" target="_blank"&gt; found documentation on the input fields for stops&lt;/A&gt;, but now how to set them from the sdk. I've tried setting attributes for the graphics which I add as stops and setting the name of the graphic, as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;function&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;getStopGraphic&lt;/SPAN&gt;(&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;geometry,&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;name&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;)&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;{&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2985c7;"&gt;stopGraphicClone&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;=&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;stopGraphic&lt;/SPAN&gt;.clone();&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #2985c7;"&gt;stopGraphicClone&lt;/SPAN&gt;.geometry&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;=&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2985c7;"&gt;geometry&lt;/SPAN&gt;.project(&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;routeSpatialReference&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;);&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #2985c7;"&gt;stopGraphicClone&lt;/SPAN&gt;.name&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;=&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2985c7;"&gt;name&lt;/SPAN&gt;;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #2985c7;"&gt;stopGraphicClone&lt;/SPAN&gt;.setAttributeValue(&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;"Name"&lt;/SPAN&gt;,&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2985c7;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;);&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;layers&lt;/SPAN&gt;.graphicsLayerRoute.addGraphic(&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2985c7;"&gt;stopGraphicClone&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;);&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;return&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2985c7;"&gt;stopGraphicClone&lt;/SPAN&gt;;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;}

&lt;/PRE&gt;&lt;P&gt;Unfortunately, to no result whatsoever.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone has the solution or more suggestions on what to try, I'd be very grateful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:57:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/routing-gt-set-custom-names-for-stops/m-p/820243#M1875</guid>
      <dc:creator>PimJanissen</dc:creator>
      <dc:date>2021-12-12T16:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: Routing -&gt; set custom names for stops</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/routing-gt-set-custom-names-for-stops/m-p/820244#M1876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Two samples that might be of interest:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Esri/arcgis-appstudio-samples/tree/master/Online%20routing" title="https://github.com/Esri/arcgis-appstudio-samples/tree/master/Online%20routing"&gt;arcgis-appstudio-samples/Online routing at master · Esri/arcgis-appstudio-samples · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Esri/arcgis-appstudio-samples/tree/master/Closest%20facility%20online" title="https://github.com/Esri/arcgis-appstudio-samples/tree/master/Closest%20facility%20online"&gt;arcgis-appstudio-samples/Closest facility online at master · Esri/arcgis-appstudio-samples · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could also use the TextToSpeech module AppStudio provides to read out the stops/address to the end user if your platform supports it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since you see these in the new version of Runtime I would suggest you wait another month for the AppStudio 2.0 release and you will have Runtime 100.1 version included in that (and other very cool features).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2017 16:41:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/routing-gt-set-custom-names-for-stops/m-p/820244#M1876</guid>
      <dc:creator>SathyaPrasad</dc:creator>
      <dc:date>2017-05-30T16:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Routing -&gt; set custom names for stops</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/routing-gt-set-custom-names-for-stops/m-p/820245#M1877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately the samples do not answer my question, since they rely on the default stop names (location 1, location 2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is however great to hear that the new version of AppStudio will support Runtime v100. Is there a place where I could read more about the upcoming updates?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2017 22:12:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/routing-gt-set-custom-names-for-stops/m-p/820245#M1877</guid>
      <dc:creator>PimJanissen</dc:creator>
      <dc:date>2017-05-30T22:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Routing -&gt; set custom names for stops</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/routing-gt-set-custom-names-for-stops/m-p/820246#M1878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AppStudio 2.0 was released and now supports the latest&amp;nbsp;ArcGIS Runtime 100.1 for mapping capabilities. &amp;nbsp;Please &lt;A href="http://doc.arcgis.com/en/appstudio/download/"&gt;update &lt;/A&gt;the AppStudio Desktop, Click on the New App button and search for "Find a Route" sample. &amp;nbsp;I hope this is helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tina&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 20:51:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/routing-gt-set-custom-names-for-stops/m-p/820246#M1878</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-07-24T20:51:12Z</dc:date>
    </item>
  </channel>
</rss>

