<?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: Query to Directions Widget Communication in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-to-directions-widget-communication/m-p/296908#M27300</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the code to get me started!&amp;nbsp; Could you happen to also show the require([ or define([ and the function( code at the beginning?&amp;nbsp; I am going to run this in a new widget I created (using the developers edition of web builder), so I guess it would be define([.&amp;nbsp; Like I said I am new to javascript and just even understanding how to start is where I need to learn!&amp;nbsp; Thanks again for taking the time to help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clinton&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Apr 2015 17:43:38 GMT</pubDate>
    <dc:creator>ClintonCooper1</dc:creator>
    <dc:date>2015-04-28T17:43:38Z</dc:date>
    <item>
      <title>Query to Directions Widget Communication</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-to-directions-widget-communication/m-p/296906#M27298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am looking to code a widget (well develop a directions widget) that takes the spatially selected points from a query and finds an optimal route between the points.&amp;nbsp; I believe using the communications feature between widgets is the way to go (least complicated).&amp;nbsp; I am pretty new to javascript and am looking for any examples out there that can&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) help me understand how to send data between the query widget and another widget and then&lt;/P&gt;&lt;P&gt;2) how to code the directions widget to accept only that selected data (without the having to input any other points in). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anything close to this has been built I would love to take a look at it and play around with it, but if not any good guides are close examples of code would work.&amp;nbsp; Again, I am just learning, so I like to see actual code as that helps me understand which things are doing what.&amp;nbsp; Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 20:38:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-to-directions-widget-communication/m-p/296906#M27298</guid>
      <dc:creator>ClintonCooper1</dc:creator>
      <dc:date>2015-04-27T20:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Query to Directions Widget Communication</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-to-directions-widget-communication/m-p/296907#M27299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Clinton,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result of a query will provide features that can be used to immediately populate your directions.&amp;nbsp; The following example queries some points and then adds the resulting points to the directions widget.&amp;nbsp; After they have been added you can call getDirections to retrieve driving directions to each location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var map = new Map("map", {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; basemap: "streets",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; center:[-98.56,39.82],
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; zoom: 4
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var directions = new Directions({
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map: map
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },"dir");
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; directions.startup();

&amp;nbsp; var queryTask = new QueryTask("your_URL_to_query");
&amp;nbsp; var query = new Query();
&amp;nbsp; query.returnGeometry = true;
&amp;nbsp; query.outFields = ["*"];
&amp;nbsp; query.where = "1=1";
&amp;nbsp; queryTask.execute(query, showDirections);

&amp;nbsp; function showDirections(results) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; directions.addStops(results.features);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; directions.getDirections();
&amp;nbsp; }&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 14:14:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-to-directions-widget-communication/m-p/296907#M27299</guid>
      <dc:creator>TomSellsted</dc:creator>
      <dc:date>2021-12-11T14:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: Query to Directions Widget Communication</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-to-directions-widget-communication/m-p/296908#M27300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the code to get me started!&amp;nbsp; Could you happen to also show the require([ or define([ and the function( code at the beginning?&amp;nbsp; I am going to run this in a new widget I created (using the developers edition of web builder), so I guess it would be define([.&amp;nbsp; Like I said I am new to javascript and just even understanding how to start is where I need to learn!&amp;nbsp; Thanks again for taking the time to help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clinton&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 17:43:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-to-directions-widget-communication/m-p/296908#M27300</guid>
      <dc:creator>ClintonCooper1</dc:creator>
      <dc:date>2015-04-28T17:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Query to Directions Widget Communication</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-to-directions-widget-communication/m-p/296909#M27301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Clinton,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Certainly!&amp;nbsp; The code I used here is from the directions widget sample from ESRI.&amp;nbsp; I modified it to add a query to a point feature service and then took the resulting features and added them as stops to the directions widget.&amp;nbsp; Here is the complete code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html&amp;gt;
&amp;nbsp; &amp;lt;head&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;title&amp;gt;Query Points &amp;amp; Directions Widget&amp;lt;/title&amp;gt;
&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;link rel="stylesheet" href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://js.arcgis.com/3.13/dijit/themes/claro/claro.css" rel="nofollow noopener noreferrer" target="_blank"&gt;http://js.arcgis.com/3.13/dijit/themes/claro/claro.css&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;link rel="stylesheet" href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://js.arcgis.com/3.13/esri/css/esri.css" rel="nofollow noopener noreferrer" target="_blank"&gt;http://js.arcgis.com/3.13/esri/css/esri.css&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;style&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; html, body, #map {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; height:100%;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width:100%;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; margin:0;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; padding:0;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; body {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; background-color:#FFF;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; overflow:hidden;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; font-family:"Trebuchet MS";
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/style&amp;gt;


&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://js.arcgis.com/3.13/" rel="nofollow noopener noreferrer" target="_blank"&gt;http://js.arcgis.com/3.13/&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; require([
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "esri/urlUtils", "esri/map", "esri/dijit/Directions",
&amp;nbsp; "esri/tasks/query", "esri/tasks/QueryTask",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojo/parser",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "dijit/layout/BorderContainer", "dijit/layout/ContentPane", "dojo/domReady!"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ], function(
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; urlUtils, Map, Directions, Query, QueryTask,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; parser
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; parser.parse();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //all requests to route.arcgis.com will proxy to the proxyUrl defined in this object.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; urlUtils.addProxyRule({
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; urlPrefix: "route.arcgis.com", 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proxyUrl: "/sproxy/"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; urlUtils.addProxyRule({
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; urlPrefix: "traffic.arcgis.com", 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proxyUrl: "/sproxy/"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var map = new Map("map", {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; basemap: "streets",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; center:[-98.56,39.82],
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; zoom: 4
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var directions = new Directions({
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map: map
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },"dir");
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; directions.startup();

&amp;nbsp; var queryTask = new QueryTask("URL to your point feature class");
&amp;nbsp; var query = new Query();
&amp;nbsp; query.returnGeometry = true;
&amp;nbsp; query.outFields = ["*"];
&amp;nbsp; query.where = "1=1";
&amp;nbsp; queryTask.execute(query, showDirections);

&amp;nbsp; function showDirections(results) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; directions.addStops(results.features);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; directions.getDirections();
&amp;nbsp; }

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/script&amp;gt;
&amp;nbsp; &amp;lt;/head&amp;gt;
&amp;nbsp; &amp;lt;body class="claro"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div data-dojo-type="dijit/layout/BorderContainer"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data-dojo-props="design:'headline', gutters:false"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; style="width:100%;height:100%;"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div data-dojo-type="dijit/layout/ContentPane"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data-dojo-props="region:'right'"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; style="width:250px;"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div id="dir"&amp;gt;&amp;lt;/div&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/div&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div id="map"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data-dojo-type="dijit/layout/ContentPane"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data-dojo-props="region:'center'"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/div&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/div&amp;gt;
&amp;nbsp; &amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 14:14:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-to-directions-widget-communication/m-p/296909#M27301</guid>
      <dc:creator>TomSellsted</dc:creator>
      <dc:date>2021-12-11T14:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Query to Directions Widget Communication</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-to-directions-widget-communication/m-p/296910#M27302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect!&amp;nbsp; Thank You!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any trick or good place to look to find the code to be able to select by geometry (ie. use a circle rectangle, box, etc) to select the points for which to run the direction on, instead of just the operational layer?&amp;nbsp; I have messed around a bit with the code in the query widget, but it is still a bit too complex for a novice to just get in there and hack with.&amp;nbsp; I guess I am looking for something that might help to show the simple geometry selection process code to work with the query widget.&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 18:30:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-to-directions-widget-communication/m-p/296910#M27302</guid>
      <dc:creator>ClintonCooper1</dc:creator>
      <dc:date>2015-04-28T18:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Query to Directions Widget Communication</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-to-directions-widget-communication/m-p/296911#M27303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to fold this code into a new widget, but am having some issues.&amp;nbsp; Is there a place to go that may show how to take code such as this and move it into a new widget?&amp;nbsp; Should I just make this a new topic?&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 12:52:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-to-directions-widget-communication/m-p/296911#M27303</guid>
      <dc:creator>ClintonCooper1</dc:creator>
      <dc:date>2015-04-29T12:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Query to Directions Widget Communication</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-to-directions-widget-communication/m-p/296912#M27304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Clinton,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a link from the JavaScript API site that discusses creating a re-usable widget.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/jshelp/intro_custom_dijit.html" title="https://developers.arcgis.com/javascript/jshelp/intro_custom_dijit.html"&gt;Create a Re-usable Widget | Guide | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 15:07:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-to-directions-widget-communication/m-p/296912#M27304</guid>
      <dc:creator>TomSellsted</dc:creator>
      <dc:date>2015-04-29T15:07:53Z</dc:date>
    </item>
  </channel>
</rss>

