<?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: Question about creating custom in-panel widget. in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/question-about-creating-custom-in-panel-widget/m-p/765672#M1149</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sophie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Open your browsers developer tools and see what the console says&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Mar 2015 15:53:58 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2015-03-18T15:53:58Z</dc:date>
    <item>
      <title>Question about creating custom in-panel widget.</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/question-about-creating-custom-in-panel-widget/m-p/765670#M1147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif; color: #222222; background: white;"&gt;Hi All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif; color: #222222;"&gt; &lt;BR data-jive-statusinputadd="true" data-jive-truncation-flag="true" /&gt; &lt;SPAN style="background: white;"&gt;I started to play with WAB recently. I am following the steps from ESRI's website: &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A data-jive-statusinputadd="true" data-jive-truncation-flag="true" href="https://developers.arcgis.com/web-appbuilder/sample-code/create-custom-in-panel-widget.htm"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; color: #287433;"&gt;Create a custom in-panel widget—Web AppBuilder fo...&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif; color: #222222; background: white;"&gt;&lt;SPAN&gt; . Now I can see the custom widget in the widget pool. But after I added the widget to my app and clicked on it to test, it poped up a message saying "Create Widget Error". When I tested it through &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://[your" rel="nofollow" target="_blank"&gt;http://[your&lt;/A&gt;&lt;SPAN&gt; host name:3344]/webapp/?config=sample-configs/config-demo.json, I got the same error. (I have downloaded the missing sample-configs folder from GeoNet.). Then I started the steps for creating a custom widget all over again and tested step by step. And it worked fine until Step 8 "Access a map". After I followed the instructions to access a map, I got the Create Widget Error message. I am wondering if anyone has some ideas about how to solve this problem.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif; color: #222222;"&gt;&lt;BR data-jive-statusinputadd="true" data-jive-truncation-flag="true" /&gt; &lt;BR data-jive-statusinputadd="true" data-jive-truncation-flag="true" /&gt; &lt;SPAN style="background: white;"&gt;Thank you very much!&lt;/SPAN&gt;&lt;BR data-jive-statusinputadd="true" data-jive-truncation-flag="true" /&gt; &lt;BR data-jive-statusinputadd="true" data-jive-truncation-flag="true" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 19:35:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/question-about-creating-custom-in-panel-widget/m-p/765670#M1147</guid>
      <dc:creator>SophieYe</dc:creator>
      <dc:date>2015-03-16T19:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Question about creating custom in-panel widget.</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/question-about-creating-custom-in-panel-widget/m-p/765671#M1148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any ideas about this? Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 15:51:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/question-about-creating-custom-in-panel-widget/m-p/765671#M1148</guid>
      <dc:creator>SophieYe</dc:creator>
      <dc:date>2015-03-18T15:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Question about creating custom in-panel widget.</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/question-about-creating-custom-in-panel-widget/m-p/765672#M1149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sophie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Open your browsers developer tools and see what the console says&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 15:53:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/question-about-creating-custom-in-panel-widget/m-p/765672#M1149</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-03-18T15:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Question about creating custom in-panel widget.</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/question-about-creating-custom-in-panel-widget/m-p/765673#M1150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. Here is the information from the console:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;GET &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://[machine" rel="nofollow" target="_blank"&gt;http://[machine&lt;/A&gt;&lt;SPAN&gt; name]/webappbuilder/apps/12/widgets/MyWidget/setting/Setting.js 404 (Not Found) init.js:41 &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Error: scriptError {src: "dojoLoader", info: Array[2], stack: (...), message: "scriptError"}&amp;nbsp;&amp;nbsp; init.js:41 &lt;/LI&gt;&lt;LI&gt;src: dojoLoader&amp;nbsp;&amp;nbsp; init.js:41&lt;/LI&gt;&lt;LI&gt;info: ["/webappbuilder/apps/12/widgets/MyWidget/setting/Setting.js", Event]&amp;nbsp;&amp;nbsp;&amp;nbsp; init.js:42&lt;/LI&gt;&lt;LI&gt;&lt;/LI&gt;&lt;LI&gt;Uncaught SyntaxError: Unexpected identifier&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Widget.js:20&lt;/LI&gt;&lt;LI&gt;create [widgets/MyWidget/Widget] error:TypeError: number is not a function&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WidgetManager.js:97 &lt;/LI&gt;&lt;LI&gt;TypeError: number is not a function {stack: (...), message: "number is not a function"}&lt;UL&gt;&lt;LI&gt;message: "number is not a function"&lt;/LI&gt;&lt;LI&gt;stack: (...)&lt;/LI&gt;&lt;LI&gt;get stack: function () { [native code] }&lt;/LI&gt;&lt;LI&gt;set stack: function () { [native code] }&lt;/LI&gt;&lt;LI&gt;__proto__: Error&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "TypeError: number is not a function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas from here? Thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sophie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 16:46:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/question-about-creating-custom-in-panel-widget/m-p/765673#M1150</guid>
      <dc:creator>SophieYe</dc:creator>
      <dc:date>2015-03-18T16:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Question about creating custom in-panel widget.</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/question-about-creating-custom-in-panel-widget/m-p/765674#M1151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sophie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Sure in the manifest.json make sure your properties look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"properties": {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "inPanel":true,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "hasLocale": true,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "hasStyle":true,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "hasConfig":true,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "hasUIFile":true,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;"hasSettingPage":false,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "hasSettingUIFile":false,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "hasSettingLocale":false,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "hasSettingStyle":false,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "IsController":false&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 17:04:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/question-about-creating-custom-in-panel-widget/m-p/765674#M1151</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-03-18T17:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Question about creating custom in-panel widget.</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/question-about-creating-custom-in-panel-widget/m-p/765675#M1152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. Now the "cannot get setting file" error is gone. But I still get the following errors:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Uncaught SyntaxError: Unexpected identifier&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Widget.js:20&lt;/LI&gt;&lt;LI&gt;create [widgets/MyWidget/Widget] error:TypeError: number is not a function&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WidgetManager.js:97&lt;/LI&gt;&lt;LI&gt;TypeError: number is not a function {stack: (...), message: "number is not a function"}&lt;UL style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;LI style="margin-top: 0.5ex; margin-bottom: 0.5ex; font-weight: inherit; font-style: inherit; font-family: inherit; list-style-type: inherit;"&gt;message: "number is not a function"&lt;/LI&gt;&lt;LI&gt;stack: (...)&lt;/LI&gt;&lt;LI&gt;get stack: function () { [native code] }&lt;/LI&gt;&lt;LI&gt;set stack: function () { [native code] }&lt;/LI&gt;&lt;LI&gt;__proto__: Error&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "TypeError: number is not a function&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Could you please help me with that? Thank you.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Sophie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 18:45:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/question-about-creating-custom-in-panel-widget/m-p/765675#M1152</guid>
      <dc:creator>SophieYe</dc:creator>
      <dc:date>2015-03-18T18:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Question about creating custom in-panel widget.</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/question-about-creating-custom-in-panel-widget/m-p/765676#M1153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sophie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this error is usually caused by unbalanced ( { [ within your widget.js&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 18:48:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/question-about-creating-custom-in-panel-widget/m-p/765676#M1153</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2015-03-18T18:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: Question about creating custom in-panel widget.</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/question-about-creating-custom-in-panel-widget/m-p/765677#M1154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert and Tim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you both so much for helping me solve this problem. After I balanced all "(, [, {", I still got the error. But it worked fine after I restarted the Web AppBuilder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much. I really appreciated your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sophie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 20:50:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/question-about-creating-custom-in-panel-widget/m-p/765677#M1154</guid>
      <dc:creator>SophieYe</dc:creator>
      <dc:date>2015-03-18T20:50:54Z</dc:date>
    </item>
  </channel>
</rss>

