<?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: Using &amp;quot;Current Location&amp;quot; by default in Directions widget (4x) in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-quot-current-location-quot-by-default-in/m-p/1133751#M75919</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/169842"&gt;@Noah-Sager&lt;/a&gt;&amp;nbsp;. Once again, thanks for the info, much appreciated! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I right in thinking that pre-population of fields in JSAPI 4 is generally an issue?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Previously I struggled to find a way to automatically populate fields in the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-CreateWorkflow.html" target="_self"&gt;Create Workflow&lt;/A&gt; of the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html#methods-summary" target="_self"&gt;Editor&lt;/A&gt; widget. (&lt;A href="https://community.esri.com/t5/arcgis-api-for-javascript-questions/automatic-populate-fields-in-editor-widget-4x/m-p/1122978" target="_self"&gt;link to post&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jan 2022 06:38:59 GMT</pubDate>
    <dc:creator>ZA1</dc:creator>
    <dc:date>2022-01-14T06:38:59Z</dc:date>
    <item>
      <title>Using "Current Location" by default in Directions widget (4x)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-quot-current-location-quot-by-default-in/m-p/1133263#M75896</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Using the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Directions.html#getDirections" target="_self"&gt;Directions widget&lt;/A&gt;&amp;nbsp;I would like to:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Use Current Location as starting point by default&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Auto-populate destination with some address&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;i.e.:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ZA1_0-1642057852832.png" style="width: 603px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/31386iDEBD7C7B3EEBD3AD/image-dimensions/603x341?v=v2" width="603" height="341" role="button" title="ZA1_0-1642057852832.png" alt="ZA1_0-1642057852832.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, I have not found &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Directions.html#properties-summary" target="_self"&gt;properties&lt;/A&gt; in the documentation to do this.&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 07:13:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-quot-current-location-quot-by-default-in/m-p/1133263#M75896</guid>
      <dc:creator>ZA1</dc:creator>
      <dc:date>2022-01-13T07:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Using "Current Location" by default in Directions widget (4x)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-quot-current-location-quot-by-default-in/m-p/1133495#M75904</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/538219"&gt;@ZA1&lt;/a&gt;,&amp;nbsp;unfortunately it is not currently possible to pre-populate the Directions widget with two different addresses or locations. However, we have some enhancements coming that might make this possible at a future release.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you don't need the Directions widget, you could handle the routing and the turn-by-turn directions yourself using route:&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-route.html" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-route.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 17:45:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-quot-current-location-quot-by-default-in/m-p/1133495#M75904</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2022-01-13T17:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Using "Current Location" by default in Directions widget (4x)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-quot-current-location-quot-by-default-in/m-p/1133751#M75919</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/169842"&gt;@Noah-Sager&lt;/a&gt;&amp;nbsp;. Once again, thanks for the info, much appreciated! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I right in thinking that pre-population of fields in JSAPI 4 is generally an issue?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Previously I struggled to find a way to automatically populate fields in the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-CreateWorkflow.html" target="_self"&gt;Create Workflow&lt;/A&gt; of the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html#methods-summary" target="_self"&gt;Editor&lt;/A&gt; widget. (&lt;A href="https://community.esri.com/t5/arcgis-api-for-javascript-questions/automatic-populate-fields-in-editor-widget-4x/m-p/1122978" target="_self"&gt;link to post&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 06:38:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-quot-current-location-quot-by-default-in/m-p/1133751#M75919</guid>
      <dc:creator>ZA1</dc:creator>
      <dc:date>2022-01-14T06:38:59Z</dc:date>
    </item>
  </channel>
</rss>

