<?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: Busy cursor in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/busy-cursor/m-p/785235#M3531</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even when shelter is defined as a global variable using getElementById?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Line 61&lt;/P&gt;&lt;P&gt;var shelter = document.getElementById("busycur");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I added "busycur" as the id in the html statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did that because this.shelter.show() was throwing the error previously mentioned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 15 Apr 2017 04:31:37 GMT</pubDate>
    <dc:creator>GregRieck</dc:creator>
    <dc:date>2017-04-15T04:31:37Z</dc:date>
    <item>
      <title>Busy cursor</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/busy-cursor/m-p/785228#M3524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I am using WAB 2.2 with the Jewery box theme. I would like to be able to display a busy cursor while a widget is returning results from a server call. How would I go about adding a busy cursor to my widget? Also, if the widget is closed can I release the busy cursor?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You,&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Apr 2017 17:27:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/busy-cursor/m-p/785228#M3524</guid>
      <dc:creator>GregRieck</dc:creator>
      <dc:date>2017-04-14T17:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Busy cursor</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/busy-cursor/m-p/785229#M3525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I personally am not a fan out using busy cursors when you can use a busy indicator on the widget that is busy instead. To do this in many of my widget I ad this html code to the Widget.html&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;div data&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;dojo&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;type&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"jimu/dijit/LoadingShelter"&lt;/SPAN&gt; data&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;dojo&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;attach&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;point&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"shelter"&lt;/SPAN&gt; data&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;dojo&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;props&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"hidden:true"&lt;/SPAN&gt; style&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"overflow:hidden;"&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt;div&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;as the last tag inside the widgets main div tag. and in the Widget.js I can call simple methods like:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="token function"&gt;define&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="string token"&gt;'jimu/dijit/LoadingShelter'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;function&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;
LoadingShelter&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;shelter&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;show&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;shelter&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;hide&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:56:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/busy-cursor/m-p/785229#M3525</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-12T08:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Busy cursor</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/busy-cursor/m-p/785230#M3526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the reply. Yes that would work for me. I just want something to show that the widget is processing the request. Depending on what the user has selected it can take time to get a response back from the server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added the code you indicated above but I get an error -&amp;nbsp;TypeError: this.shelter.show is not a function.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to call it at specific locations within my widget just prior to a server call. I don't want it called when the widget loads because often the user needs to interact with the widget in some way to generate the server call. For example clicking on a button or changing an option dialog.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Apr 2017 20:35:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/busy-cursor/m-p/785230#M3526</guid>
      <dc:creator>GregRieck</dc:creator>
      <dc:date>2017-04-14T20:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: Busy cursor</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/busy-cursor/m-p/785231#M3527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;And you added the first code block of html code to your Widget.html right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Apr 2017 20:57:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/busy-cursor/m-p/785231#M3527</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-04-14T20:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Busy cursor</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/busy-cursor/m-p/785232#M3528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, added the define and the function ref. Then inside my event I added this.shelter.show(); I even tried setting a global variable to "busycur" and that was null.&lt;/P&gt;&lt;P&gt;Here is my html&lt;/P&gt;&lt;P&gt;&amp;lt;div&amp;gt;&lt;BR /&gt; &amp;lt;div id="osproutedetails"&amp;gt;&lt;BR /&gt; &amp;lt;select id="cbRdType" data-dojo-attach-point="cbRDType" style="width:100px" data-dojo-attach-event="onchange:cbRdType_Changed"&amp;gt;&lt;BR /&gt; &amp;lt;option value="Term. Points" selected="selected"&amp;gt;Term. Points&amp;lt;/option&amp;gt;&lt;BR /&gt; &amp;lt;option value="Equipment"&amp;gt;Equipment&amp;lt;/option&amp;gt;&lt;BR /&gt; &amp;lt;option value="Cable Spans"&amp;gt;Cable Spans&amp;lt;/option&amp;gt;&lt;BR /&gt; &amp;lt;/select&amp;gt;&lt;BR /&gt; &amp;lt;select id="cbRDName" data-dojo-attach-point="cbRDName" style="width:150px" data-dojo-attach-event="onchange:cbRdName_Changed"&amp;gt; &amp;lt;/select&amp;gt; &lt;BR /&gt; &amp;lt;select id="cbRDPortsStrands" data-dojo-attach-point="cbRDPortsStrands" style="width:150px" data-dojo-attach-event="onchange:cbRDPortsStrands_Changed"&amp;gt; &amp;lt;/select&amp;gt;&lt;BR /&gt; &amp;lt;input id="RDPatchStop" type="checkbox" name="chkStopAtPatch" value="Stopatpatch"&amp;gt; Stop at patch&lt;BR /&gt; &amp;lt;input id="RDShowEndsOnly" type="checkbox" name="chkShowEndsOnly" value="showendsonly"&amp;gt; Show Ends Only&lt;BR /&gt; &amp;lt;button id="BtnClearGraphics" data-dojo-attach-point="BtnClearGraphics" data-dojo-type="dijit/form/Button" data-dojo-attach-event="onclick:_onBtnClearGraphicsClicked"&amp;gt;Remove Flags&amp;lt;/button&amp;gt;&lt;BR /&gt; &amp;lt;!--&amp;lt;input type="checkbox" name="chkShowRunTime" value="Showruntime"&amp;gt;Show run time&lt;BR /&gt; &amp;lt;button name="btnOptions"&amp;gt;Options...&amp;lt;/button&amp;gt;&lt;BR /&gt; &amp;lt;button name="btnExport"&amp;gt;Export&amp;lt;/button&amp;gt;--&amp;gt;&lt;BR /&gt; &amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;h4&amp;gt;&amp;lt;/h4&amp;gt;&lt;BR /&gt; &amp;lt;div data-dojo-attach-point="dGridContainerNode"&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt; &amp;lt;div id="busycur" data-dojo-type="jimu/dijit/LoadingShelter" data-dojo-attach-point="shelter" data-dojo-props="hidden:true" style="overflow:hidden;"&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Apr 2017 21:16:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/busy-cursor/m-p/785232#M3528</guid>
      <dc:creator>GregRieck</dc:creator>
      <dc:date>2017-04-14T21:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: Busy cursor</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/busy-cursor/m-p/785233#M3529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;So it could be that the code where you are trying to call the this.shelter.show(); is out of scope then. Can you show the code for that function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Apr 2017 21:23:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/busy-cursor/m-p/785233#M3529</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-04-14T21:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Busy cursor</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/busy-cursor/m-p/785234#M3530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Any time you are trying to refer to a dom element in the widgets template you must precede&amp;nbsp;it with this.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;shelter&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;show&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;//Not&lt;/SPAN&gt;
shelter&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;show&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:56:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/busy-cursor/m-p/785234#M3530</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-12T08:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Busy cursor</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/busy-cursor/m-p/785235#M3531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even when shelter is defined as a global variable using getElementById?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Line 61&lt;/P&gt;&lt;P&gt;var shelter = document.getElementById("busycur");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I added "busycur" as the id in the html statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did that because this.shelter.show() was throwing the error previously mentioned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Apr 2017 04:31:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/busy-cursor/m-p/785235#M3531</guid>
      <dc:creator>GregRieck</dc:creator>
      <dc:date>2017-04-15T04:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Busy cursor</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/busy-cursor/m-p/785236#M3532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Getting a element from the template using byId is not the standard practice when working with dojo templated widgets. You will not see esri developer using that method. I would remove the&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;var shelter = document.getElementById("busycur"); and try again. You should have no issue getting the&amp;nbsp;&lt;/SPAN&gt;LoadingShelter dijit using this.shelter from the Widget.html.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Apr 2017 12:07:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/busy-cursor/m-p/785236#M3532</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-04-15T12:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: Busy cursor</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/busy-cursor/m-p/785237#M3533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;I have removed the using byId and replaced it with this.shelter.show()/hide() and I am still getting the error below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function is called from a Feature Action.&lt;/P&gt;&lt;P&gt;queryRouteDetails: function (XTable, XId) {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;switch (XTable) {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;case "fibermngr": this.selectedFibermngrId = XId; break;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;case "cable":&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;case "span": this.selectedSpanId = XId; break;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;this.cbRDName.length = 0;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;this.cbRDPortsStrands.length = 0;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;this.shelter.show();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;//this is the call to the server&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;_app.getName.call(this, {&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #222222; background-color: #fff0f0; margin-left: 4px;"&gt;&lt;SPAN class="" style="color: #545454; text-decoration: underline;"&gt;init.js:113&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: red !important; background-color: #fff0f0;"&gt;&lt;SPAN class="" style="font-size: 12px !important;"&gt;&lt;SPAN&gt;TypeError: this.shelter.show is not a function at Object.queryRouteDetails (&lt;SPAN class="" style="color: #545454; text-decoration: underline;"&gt;Widget.js?wab_dv=2.2:213&lt;/SPAN&gt;) at &lt;SPAN class="" style="color: #545454; text-decoration: underline;"&gt;RouteDetailsFeatureAction.js?wab_dv=2.2:51&lt;/SPAN&gt; at h (&lt;SPAN class="" style="color: #545454; text-decoration: underline;"&gt;init.js:107&lt;/SPAN&gt;) at k (&lt;SPAN class="" style="color: #545454; text-decoration: underline;"&gt;init.js:107&lt;/SPAN&gt;) at g.resolve (&lt;SPAN class="" style="color: #545454; text-decoration: underline;"&gt;init.js:109&lt;/SPAN&gt;) at Object.&amp;lt;anonymous&amp;gt; (&lt;SPAN class="" style="color: #545454; text-decoration: underline;"&gt;WidgetManager.js?wab_dv=2.2:634&lt;/SPAN&gt;) at f.&amp;lt;anonymous&amp;gt; (&lt;SPAN class="" style="color: #545454; text-decoration: underline;"&gt;init.js:63&lt;/SPAN&gt;) at f.c [as onwidgetCreated] (&lt;SPAN class="" style="color: #545454; text-decoration: underline;"&gt;init.js:119&lt;/SPAN&gt;) at Function.h.emit (&lt;SPAN class="" style="color: #545454; text-decoration: underline;"&gt;init.js:124&lt;/SPAN&gt;) at Function.h.emit (&lt;SPAN class="" style="color: #545454; text-decoration: underline;"&gt;init.js:125&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="" style="color: #c41a16; font-size: 12px !important;"&gt;&lt;SPAN class="" style="color: #222222;"&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;TypeError: this.shelter.show is not a function at Object.queryRouteDetails (&lt;SPAN class="" style="color: #545454; text-decoration: underline;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fesritest.esri.ospinsight.com%3A3344%2Fwebappbuilder%2Fapps%2F2%2Fwidgets%2FRouteDetails%2FWidget.js%3Fwab_dv%3D2.2%3A213%3A24" rel="nofollow" target="_blank"&gt;http://esritest.esri.ospinsight.com:3344/webappbuilder/apps/2/widgets/RouteDetails/Widget.js?wab_dv=2.2:213:24&lt;/A&gt;&lt;/SPAN&gt;) at &lt;SPAN class="" style="color: #545454; text-decoration: underline;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fesritest.esri.ospinsight.com%3A3344%2Fwebappbuilder%2Fapps%2F2%2Fwidgets%2FRouteDetails%2FRouteDetailsFeatureAction.js%3Fwab_dv%3D2.2%3A51%3A20" rel="nofollow" target="_blank"&gt;http://esritest.esri.ospinsight.com:3344/webappbuilder/apps/2/widgets/RouteDetails/RouteDetailsFeatureAction.js?wab_dv=2.2:51:20&lt;/A&gt;&lt;/SPAN&gt; at h (&lt;SPAN class="" style="color: #545454; text-decoration: underline;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.18%2Finit.js%3A107%3A279" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.18/init.js:107:279&lt;/A&gt;&lt;/SPAN&gt;) at k (&lt;SPAN class="" style="color: #545454; text-decoration: underline;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.18%2Finit.js%3A107%3A205" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.18/init.js:107:205&lt;/A&gt;&lt;/SPAN&gt;) at g.resolve (&lt;SPAN class="" style="color: #545454; text-decoration: underline;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.18%2Finit.js%3A109%3A280" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.18/init.js:109:280&lt;/A&gt;&lt;/SPAN&gt;) at Object.&amp;lt;anonymous&amp;gt; (&lt;SPAN class="" style="color: #545454; text-decoration: underline;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fesritest.esri.ospinsight.com%3A3344%2Fwebappbuilder%2Fapps%2F2%2Fjimu.js%2FWidgetManager.js%3Fwab_dv%3D2.2%3A634%3A21" rel="nofollow" target="_blank"&gt;http://esritest.esri.ospinsight.com:3344/webappbuilder/apps/2/jimu.js/WidgetManager.js?wab_dv=2.2:634:21&lt;/A&gt;&lt;/SPAN&gt;) at f.&amp;lt;anonymous&amp;gt; (&lt;SPAN class="" style="color: #545454; text-decoration: underline;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.18%2Finit.js%3A63%3A209" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.18/init.js:63:209&lt;/A&gt;&lt;/SPAN&gt;) at f.c [as onwidgetCreated] (&lt;SPAN class="" style="color: #545454; text-decoration: underline;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.18%2Finit.js%3A119%3A79" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.18/init.js:119:79&lt;/A&gt;&lt;/SPAN&gt;) at Function.h.emit (&lt;SPAN class="" style="color: #545454; text-decoration: underline;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.18%2Finit.js%3A124%3A331" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.18/init.js:124:331&lt;/A&gt;&lt;/SPAN&gt;) at Function.h.emit (&lt;SPAN class="" style="color: #545454; text-decoration: underline;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.18%2Finit.js%3A125%3A443" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.18/init.js:125:443&lt;/A&gt;&lt;/SPAN&gt;) ---------------------------------------- rejected at a (&lt;SPAN class="" style="color: #545454; text-decoration: underline;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.18%2Finit.js%3A108%3A174" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.18/init.js:108:174&lt;/A&gt;&lt;/SPAN&gt;) at h (&lt;SPAN class="" style="color: #545454; text-decoration: underline;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.18%2Finit.js%3A107%3A438" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.18/init.js:107:438&lt;/A&gt;&lt;/SPAN&gt;) at k (&lt;SPAN class="" style="color: #545454; text-decoration: underline;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.18%2Finit.js%3A107%3A205" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.18/init.js:107:205&lt;/A&gt;&lt;/SPAN&gt;) at g.resolve (&lt;SPAN class="" style="color: #545454; text-decoration: underline;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.18%2Finit.js%3A109%3A280" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.18/init.js:109:280&lt;/A&gt;&lt;/SPAN&gt;) at Object.&amp;lt;anonymous&amp;gt; (&lt;SPAN class="" style="color: #545454; text-decoration: underline;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fesritest.esri.ospinsight.com%3A3344%2Fwebappbuilder%2Fapps%2F2%2Fjimu.js%2FWidgetManager.js%3Fwab_dv%3D2.2%3A634%3A21" rel="nofollow" target="_blank"&gt;http://esritest.esri.ospinsight.com:3344/webappbuilder/apps/2/jimu.js/WidgetManager.js?wab_dv=2.2:634:21&lt;/A&gt;&lt;/SPAN&gt;) at f.&amp;lt;anonymous&amp;gt; (&lt;SPAN class="" style="color: #545454; text-decoration: underline;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.18%2Finit.js%3A63%3A209" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.18/init.js:63:209&lt;/A&gt;&lt;/SPAN&gt;) at f.c [as onwidgetCreated] (&lt;SPAN class="" style="color: #545454; text-decoration: underline;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.18%2Finit.js%3A119%3A79" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.18/init.js:119:79&lt;/A&gt;&lt;/SPAN&gt;) at Function.h.emit (&lt;SPAN class="" style="color: #545454; text-decoration: underline;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.18%2Finit.js%3A124%3A331" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.18/init.js:124:331&lt;/A&gt;&lt;/SPAN&gt;) at Function.h.emit (&lt;SPAN class="" style="color: #545454; text-decoration: underline;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.18%2Finit.js%3A125%3A443" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.18/init.js:125:443&lt;/A&gt;&lt;/SPAN&gt;) at f.emit (&lt;SPAN class="" style="color: #545454; text-decoration: underline;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.18%2Finit.js%3A117%3A218" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.18/init.js:117:218&lt;/A&gt;&lt;/SPAN&gt;) ---------------------------------------- Error at g.then.c.then (&lt;SPAN class="" style="color: #545454; text-decoration: underline;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.18%2Finit.js%3A110%3A97" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.18/init.js:110:97&lt;/A&gt;&lt;/SPAN&gt;) at Object.onExecute (&lt;SPAN class="" style="color: #545454; text-decoration: underline;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fesritest.esri.ospinsight.com%3A3344%2Fwebappbuilder%2Fapps%2F2%2Fwidgets%2FRouteDetails%2FRouteDetailsFeatureAction.js%3Fwab_dv%3D2.2%3A32%3A8" rel="nofollow" target="_blank"&gt;http://esritest.esri.ospinsight.com:3344/webappbuilder/apps/2/widgets/RouteDetails/RouteDetailsFeatureAction.js?wab_dv=2.2:32:8&lt;/A&gt;&lt;/SPAN&gt;) at Object._clickHandler (&lt;SPAN class="" style="color: #545454; text-decoration: underline;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fesritest.esri.ospinsight.com%3A3344%2Fwebappbuilder%2Fapps%2F2%2Fjimu.js%2Fdijit%2FPopupMenuItem.js%3Fwab_dv%3D2.2%3A90%3A21" rel="nofollow" target="_blank"&gt;http://esritest.esri.ospinsight.com:3344/webappbuilder/apps/2/jimu.js/dijit/PopupMenuItem.js?wab_dv=2.2:90:21&lt;/A&gt;&lt;/SPAN&gt;) at HTMLDivElement.&amp;lt;anonymous&amp;gt; (&lt;SPAN class="" style="color: #545454; text-decoration: underline;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.18%2Finit.js%3A63%3A209" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.18/init.js:63:209&lt;/A&gt;&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #222222;"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2017 16:05:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/busy-cursor/m-p/785237#M3533</guid>
      <dc:creator>GregRieck</dc:creator>
      <dc:date>2017-04-17T16:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: Busy cursor</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/busy-cursor/m-p/785238#M3534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Based on that error you are now trying to show the shelter inside the&amp;nbsp;RouteDetailsFeatureAction.js, which does not have a this.shelter (as that is part of the widgets code scope and not the separate&amp;nbsp;&lt;SPAN&gt;RouteDetailsFeatureAction code scope).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you are going to go this route then you need to somehow feed the&amp;nbsp;RouteDetailsFeatureAction.js a reference to the widget object itself.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2017 16:30:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/busy-cursor/m-p/785238#M3534</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-04-17T16:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Busy cursor</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/busy-cursor/m-p/785239#M3535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;Interesting, there is a FeatureAction that calls the queryRouteDetails. But queryRouteDetails is inside the widget.js, not in the feature action itself. I will look into passing the shelter as an object to queryRouteDetails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2017 17:14:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/busy-cursor/m-p/785239#M3535</guid>
      <dc:creator>GregRieck</dc:creator>
      <dc:date>2017-04-17T17:14:36Z</dc:date>
    </item>
  </channel>
</rss>

