<?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: Error: Activate edit widget from query result click in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/error-activate-edit-widget-from-query-result-click/m-p/769036#M1465</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if I understand your question. &amp;nbsp;I have this ?&lt;/P&gt;&lt;P&gt;I've attached my SingleQueryResult.js.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*RJS - Added the next two lines*/&lt;BR /&gt; &lt;STRONG&gt;'jimu/WidgetManager',&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; 'jimu/PanelManager',&lt;/STRONG&gt;&lt;BR /&gt;/*RJS - end Add*/&lt;BR /&gt; './SingleQueryLoader',&lt;BR /&gt; './RelatedRecordsResult',&lt;BR /&gt; 'jimu/dijit/LoadingShelter'&lt;BR /&gt; ],&lt;BR /&gt; function(declare, _WidgetBase, _TemplatedMixin, _WidgetsInTemplateMixin, Evented, template, lang, query,&lt;BR /&gt; html, array, Deferred, esriLang, QueryTask, FeatureSet, symbolJsonUtils, PopupTemplate, PopupRenderer,&lt;BR /&gt; RelationshipQuery, jimuUtils, jimuSymbolUtils, Message, PopupMenu, BaseFeatureAction, LayerInfos,&lt;BR /&gt; FeatureActionManager, SingleQueryLoader, RelatedRecordsResult, &lt;BR /&gt; //added&lt;BR /&gt; &lt;STRONG&gt;WidgetManager, PanelManager&lt;/STRONG&gt;) {&lt;BR /&gt; //end add&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Aug 2016 19:16:08 GMT</pubDate>
    <dc:creator>Hoang_YenHa</dc:creator>
    <dc:date>2016-08-29T19:16:08Z</dc:date>
    <item>
      <title>Error: Activate edit widget from query result click</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/error-activate-edit-widget-from-query-result-click/m-p/769034#M1463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3101"&gt;Robert Scheitlin, GISP&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;I've been having hard time making your codes work with WAB 2.1&lt;/P&gt;&lt;P&gt;I placed the modified&amp;nbsp;codes&amp;nbsp;to&amp;nbsp;SingleQueryResult.js (in stead of widget.js)&lt;/P&gt;&lt;P&gt;and the error I got is&amp;nbsp;"TypeError: WidgetManager.getInstance is not a function". &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This question is related to the one you helped me before.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="link-titled" href="https://community.esri.com/message/622158?commentID=622158#comment-622158" title="https://community.esri.com/message/622158?commentID=622158#comment-622158"&gt;https://community.esri.com/message/622158?commentID=622158#comment-622158&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Much appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 18:25:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/error-activate-edit-widget-from-query-result-click/m-p/769034#M1463</guid>
      <dc:creator>Hoang_YenHa</dc:creator>
      <dc:date>2016-08-29T18:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Activate edit widget from query result click</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/error-activate-edit-widget-from-query-result-click/m-p/769035#M1464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you added the require for WidgetManager?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 18:36:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/error-activate-edit-widget-from-query-result-click/m-p/769035#M1464</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-08-29T18:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Activate edit widget from query result click</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/error-activate-edit-widget-from-query-result-click/m-p/769036#M1465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if I understand your question. &amp;nbsp;I have this ?&lt;/P&gt;&lt;P&gt;I've attached my SingleQueryResult.js.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*RJS - Added the next two lines*/&lt;BR /&gt; &lt;STRONG&gt;'jimu/WidgetManager',&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; 'jimu/PanelManager',&lt;/STRONG&gt;&lt;BR /&gt;/*RJS - end Add*/&lt;BR /&gt; './SingleQueryLoader',&lt;BR /&gt; './RelatedRecordsResult',&lt;BR /&gt; 'jimu/dijit/LoadingShelter'&lt;BR /&gt; ],&lt;BR /&gt; function(declare, _WidgetBase, _TemplatedMixin, _WidgetsInTemplateMixin, Evented, template, lang, query,&lt;BR /&gt; html, array, Deferred, esriLang, QueryTask, FeatureSet, symbolJsonUtils, PopupTemplate, PopupRenderer,&lt;BR /&gt; RelationshipQuery, jimuUtils, jimuSymbolUtils, Message, PopupMenu, BaseFeatureAction, LayerInfos,&lt;BR /&gt; FeatureActionManager, SingleQueryLoader, RelatedRecordsResult, &lt;BR /&gt; //added&lt;BR /&gt; &lt;STRONG&gt;WidgetManager, PanelManager&lt;/STRONG&gt;) {&lt;BR /&gt; //end add&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 19:16:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/error-activate-edit-widget-from-query-result-click/m-p/769036#M1465</guid>
      <dc:creator>Hoang_YenHa</dc:creator>
      <dc:date>2016-08-29T19:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Activate edit widget from query result click</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/error-activate-edit-widget-from-query-result-click/m-p/769037#M1466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hoang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;But they are not in the right order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://blogs.esri.com/esri/arcgis/2013/10/14/the-abcs-of-amd/" title="https://blogs.esri.com/esri/arcgis/2013/10/14/the-abcs-of-amd/"&gt;The abc’s of AMD | ArcGIS Blog&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your code should look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*RJS - Added the next two lines*/&lt;BR /&gt;'jimu/WidgetManager',&lt;BR /&gt;'jimu/PanelManager',&lt;BR /&gt;/*RJS - end Add*/&lt;BR /&gt;'./SingleQueryLoader',&lt;BR /&gt;'./RelatedRecordsResult',&lt;BR /&gt;'jimu/dijit/LoadingShelter'&lt;BR /&gt;],&lt;BR /&gt;function(declare, _WidgetBase, _TemplatedMixin, _WidgetsInTemplateMixin, Evented, template, lang, query,&lt;BR /&gt;html, array, Deferred, esriLang, QueryTask, FeatureSet, symbolJsonUtils, PopupTemplate, PopupRenderer,&lt;BR /&gt;RelationshipQuery, jimuUtils, jimuSymbolUtils, Message, PopupMenu, BaseFeatureAction, LayerInfos,&lt;BR /&gt;FeatureActionManager, WidgetManager, PanelManager, SingleQueryLoader, RelatedRecordsResult&lt;BR /&gt;) {&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 19:20:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/error-activate-edit-widget-from-query-result-click/m-p/769037#M1466</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-08-29T19:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Activate edit widget from query result click</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/error-activate-edit-widget-from-query-result-click/m-p/769038#M1467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gosh I never knew order matters! &amp;nbsp;Could you please recommend some&amp;nbsp;good&amp;nbsp;books for me to learn from ground up ?&lt;/P&gt;&lt;P&gt;Back to my question. &amp;nbsp;Now I have&amp;nbsp;"TypeError: this._combineRadioCheckBoxWithLabel is not a function" &amp;nbsp;when I do query.&lt;/P&gt;&lt;P&gt;Oh one more question. &amp;nbsp;I notice&amp;nbsp;'jimu/dijit/LoadingShelter' is not included&amp;nbsp;in function(). &amp;nbsp;Why is that one different from others?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankyou,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 20:03:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/error-activate-edit-widget-from-query-result-click/m-p/769038#M1467</guid>
      <dc:creator>Hoang_YenHa</dc:creator>
      <dc:date>2016-08-29T20:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Activate edit widget from query result click</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/error-activate-edit-widget-from-query-result-click/m-p/769039#M1468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hoang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;The link I posted in my last reply is a good place to start. Knowing that order matters is a basic step in knowing AMD coding patterns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Now I have&amp;nbsp;"TypeError: this._combineRadioCheckBoxWithLabel is not a function"&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This likely means you do not have a &amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;_combineRadioCheckBoxWithLabel function in that js file then.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN&gt;I notice&amp;nbsp;'jimu/dijit/LoadingShelter' is not included&amp;nbsp;in function(). &amp;nbsp;Why is that one different from others?&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Anything that you need to require in your code if you are not using it problematically in your code but are only using it in your Widget.html, then you do not need to declare a corresponding var for that require. The whole importance of a having requires and the their proceeding vars in order is so that the var (i.e. WidgetManager is linked to the require "jimu/WidgetManager").&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 20:13:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/error-activate-edit-widget-from-query-result-click/m-p/769039#M1468</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-08-29T20:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Activate edit widget from query result click</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/error-activate-edit-widget-from-query-result-click/m-p/769040#M1469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got it Robert! &amp;nbsp;Thank you! Thank you! Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 20:32:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/error-activate-edit-widget-from-query-result-click/m-p/769040#M1469</guid>
      <dc:creator>Hoang_YenHa</dc:creator>
      <dc:date>2016-08-29T20:32:57Z</dc:date>
    </item>
  </channel>
</rss>

