<?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: Custom widget setting page cannot be summited in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-widget-setting-page-cannot-be-summited/m-p/870001#M12719</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alfonso,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I do not see any code so it is hard to say.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Dec 2017 18:48:52 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2017-12-08T18:48:52Z</dc:date>
    <item>
      <title>Custom widget setting page cannot be summited</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-widget-setting-page-cannot-be-summited/m-p/870000#M12718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working on the setting page to set the &lt;EM&gt;url&lt;/EM&gt; and &lt;EM&gt;fields&lt;/EM&gt; a widget needs. I used the search widget as a model to follow. The setting page works fine getting the information, however there is one detail I cannot answer and makes the page useless. When I click on the OK button to accept the settings a popup appears with the message "Label Exists", but nothing happens; the getConfig Method is not called, so the config.json is not updated, and on the other hand the page is not closed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alfonso&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2017 18:24:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-widget-setting-page-cannot-be-summited/m-p/870000#M12718</guid>
      <dc:creator>AlfonsoYañez_Morillo</dc:creator>
      <dc:date>2017-12-08T18:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: Custom widget setting page cannot be summited</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-widget-setting-page-cannot-be-summited/m-p/870001#M12719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alfonso,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I do not see any code so it is hard to say.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2017 18:48:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-widget-setting-page-cannot-be-summited/m-p/870001#M12719</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-12-08T18:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: Custom widget setting page cannot be summited</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-widget-setting-page-cannot-be-summited/m-p/870002#M12720</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;The setting.html file is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;DIV class="sources"&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;DIV class="source-list jimu-float-leading"&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;DIV class="source-list-table" data-dojo-attach-point="sourceList" style="100%"&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;DIV class="source-setting jimu-float-trailing" data-dojo-attach-point="sourceSettingNode"&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;DIV data-dojo-attach-point="shelter" data-dojo-props="hidden:true" data-dojo-type="jimu/dijit/LoadingIndicator"&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the setting.js is attached&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will see the seeting.js has dependencies on the ./SourceSetting which is a modified version of the search widget’s QuerySourceSetting.js and html and ./utils which is a copy of the original.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem raises when I click on an element not managed directly with the code. The cancel button and the top-right X perfectly close and destroy the setting panel. But the OK Button apparently has lost its functionality. It is suppose the OK button raises the getConfig method and close the panel, then I created a demo widget to check if the button works correctly and it did.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[cid:image002.jpg@01D37039.6FC20770]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The widget captures the information correctly and for testing purposes, I forced the getConfig method to work seeing it retrieves the data well.&lt;/P&gt;&lt;P&gt;Maybe I need to catch the event associated with the ok and force the panel to close and call the getConfig.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2017 20:35:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-widget-setting-page-cannot-be-summited/m-p/870002#M12720</guid>
      <dc:creator>AlfonsoYañez_Morillo</dc:creator>
      <dc:date>2017-12-08T20:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Custom widget setting page cannot be summited</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-widget-setting-page-cannot-be-summited/m-p/870003#M12721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alfonso,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I am not seeing the html or the js code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2017 23:29:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-widget-setting-page-cannot-be-summited/m-p/870003#M12721</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-12-08T23:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Custom widget setting page cannot be summited</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-widget-setting-page-cannot-be-summited/m-p/870004#M12722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I’m trying again. I placed the setting.js, the SourceSetting.js and the setting.html in a text file. I think there is some king of filter in my outlook to prevent some kind of files.&lt;/P&gt;&lt;P&gt;As I commented before, the ./utils is a copy of the utils.js from the widgets/search widget.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2017 14:25:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-widget-setting-page-cannot-be-summited/m-p/870004#M12722</guid>
      <dc:creator>AlfonsoYañez_Morillo</dc:creator>
      <dc:date>2017-12-11T14:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Custom widget setting page cannot be summited</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-widget-setting-page-cannot-be-summited/m-p/870005#M12723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alfonso,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;What about the&amp;nbsp;SourceSetting.html and _FeaturelayerLimitedSourcePopup.js?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2017 17:37:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-widget-setting-page-cannot-be-summited/m-p/870005#M12723</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-12-11T17:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Custom widget setting page cannot be summited</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-widget-setting-page-cannot-be-summited/m-p/870006#M12724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, that’s right, I forgot it!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2017 17:48:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-widget-setting-page-cannot-be-summited/m-p/870006#M12724</guid>
      <dc:creator>AlfonsoYañez_Morillo</dc:creator>
      <dc:date>2017-12-11T17:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: Custom widget setting page cannot be summited</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-widget-setting-page-cannot-be-summited/m-p/870007#M12725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alfonso,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;It is a lot easier for me to debug is I can get your widget partially running on my end. Can you provide the:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="background-color: #ffffff;"&gt;_FeaturelayerLimitedSourcePopup.js&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="background-color: #ffffff;"&gt;widgets config.json&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2017 17:53:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-widget-setting-page-cannot-be-summited/m-p/870007#M12725</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-12-11T17:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Custom widget setting page cannot be summited</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-widget-setting-page-cannot-be-summited/m-p/870008#M12726</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;I think it’ll be easier if you use the jimu/dijit/FeatureLayerSourcePopup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The _FeaturelayerLimitedSourcePopup and its modified dependencies are a copy of the jimu/dijit/FeatureLayerSourcePopup where I bind the radio option for Map. Substituting _FeatureLayerLimitedSourcePopup by FeatureLayerSourcePopup should works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alfonso&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2017 18:19:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-widget-setting-page-cannot-be-summited/m-p/870008#M12726</guid>
      <dc:creator>AlfonsoYañez_Morillo</dc:creator>
      <dc:date>2017-12-11T18:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Custom widget setting page cannot be summited</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-widget-setting-page-cannot-be-summited/m-p/870009#M12727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alfonso,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Strange I have taken everything you have given me and added it to a custom widget on my end and I have no problem saving the settings dialog information.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2017 18:43:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-widget-setting-page-cannot-be-summited/m-p/870009#M12727</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-12-11T18:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Custom widget setting page cannot be summited</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-widget-setting-page-cannot-be-summited/m-p/870010#M12728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, it was strange. I also disabled the setting option in the manifest and the popup shows the config.json. But when I try to close the popup clicking on the OK button, happens the same. The same alert with the message “the label exists”. I was completely stuck because I thought was something in the code that changed something behind. I think code that manages the button was corrupted, so the panel that wraps the setting page didn’t work well. I created a new widget and copied the files there, and it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to raise new questions related with the same widget. If the source selected requires a token, what’s the way to ask if it is required and, is it a good idea to store the credentials in the widget’s config.json?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2017 20:24:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-widget-setting-page-cannot-be-summited/m-p/870010#M12728</guid>
      <dc:creator>AlfonsoYañez_Morillo</dc:creator>
      <dc:date>2017-12-11T20:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Custom widget setting page cannot be summited</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-widget-setting-page-cannot-be-summited/m-p/870011#M12729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alfonso,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; No do not store the credential in the config json as this is a easily readable file and can be easily read as it is passed from the server to the client. If the layer requires a login then just let WAB challenge the user with the identity manager to get the users login.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2017 20:36:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/custom-widget-setting-page-cannot-be-summited/m-p/870011#M12729</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-12-11T20:36:10Z</dc:date>
    </item>
  </channel>
</rss>

