<?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 Unable to publish data from another  .js file ? in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/unable-to-publish-data-from-another-js-file/m-p/762803#M878</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a widget, where I have file structure as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-images'&lt;/P&gt;&lt;P&gt;-manifest.json&lt;/P&gt;&lt;P&gt;-Widget.html&lt;/P&gt;&lt;P&gt;-list.js&lt;/P&gt;&lt;P&gt;-Widget.js&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am adding all the functionality in list.js.In list.js I have the data which I need to pass to another widget. So, I published the data from that list.js using this.publish.Data function and its not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone suggest me If I am doing something wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Rahmath Unissa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Jul 2015 12:27:35 GMT</pubDate>
    <dc:creator>RahmathUnissa</dc:creator>
    <dc:date>2015-07-27T12:27:35Z</dc:date>
    <item>
      <title>Unable to publish data from another  .js file ?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/unable-to-publish-data-from-another-js-file/m-p/762803#M878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a widget, where I have file structure as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-images'&lt;/P&gt;&lt;P&gt;-manifest.json&lt;/P&gt;&lt;P&gt;-Widget.html&lt;/P&gt;&lt;P&gt;-list.js&lt;/P&gt;&lt;P&gt;-Widget.js&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am adding all the functionality in list.js.In list.js I have the data which I need to pass to another widget. So, I published the data from that list.js using this.publish.Data function and its not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone suggest me If I am doing something wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Rahmath Unissa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 12:27:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/unable-to-publish-data-from-another-js-file/m-p/762803#M878</guid>
      <dc:creator>RahmathUnissa</dc:creator>
      <dc:date>2015-07-27T12:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to publish data from another  .js file ?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/unable-to-publish-data-from-another-js-file/m-p/762804#M879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ratmath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The publishData method is inherited from the BaseWidget so your list.js does not have that method. You need to call this method from your Widget.js that inherits from BaseWidget.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 13:42:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/unable-to-publish-data-from-another-js-file/m-p/762804#M879</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-07-27T13:42:23Z</dc:date>
    </item>
  </channel>
</rss>

