<?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: calculate value according to a mathematical function  in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/calculate-value-according-to-a-mathematical/m-p/326443#M8617</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Junxuan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Here is a sample widget that just adds or multiplies to numbers from user input and displays the results in the widgets text.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 15 May 2016 19:18:11 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2016-05-15T19:18:11Z</dc:date>
    <item>
      <title>calculate value according to a mathematical function</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/calculate-value-according-to-a-mathematical/m-p/326441#M8615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to create a custom widget that could calculate the value according to a model( function). For example, the user enters two values for the parameter a and b, then we need to display the result of f(a,b). &lt;/P&gt;&lt;P&gt;Is there any sample code to recommend?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 May 2016 13:43:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/calculate-value-according-to-a-mathematical/m-p/326441#M8615</guid>
      <dc:creator>JunxuanZhao</dc:creator>
      <dc:date>2016-05-14T13:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: calculate value according to a mathematical function</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/calculate-value-according-to-a-mathematical/m-p/326442#M8616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Junxuan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest tagging the &lt;A href="https://community.esri.com/group/1294"&gt;Web AppBuilder Custom Widgets&lt;/A&gt;​ place (or maybe moving your thread to that place).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you could look through &lt;A href="https://community.esri.com/migrated-users/3101"&gt;Robert Scheitlin, GISP&lt;/A&gt;​ 's &lt;A href="https://community.esri.com/thread/119278"&gt;Roberts Custom WAB Widgets&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But, what you're asking for sounds pretty specific. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 May 2016 02:33:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/calculate-value-according-to-a-mathematical/m-p/326442#M8616</guid>
      <dc:creator>AdrianWelsh</dc:creator>
      <dc:date>2016-05-15T02:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: calculate value according to a mathematical function</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/calculate-value-according-to-a-mathematical/m-p/326443#M8617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Junxuan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Here is a sample widget that just adds or multiplies to numbers from user input and displays the results in the widgets text.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 May 2016 19:18:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/calculate-value-according-to-a-mathematical/m-p/326443#M8617</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-05-15T19:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: calculate value according to a mathematical function</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/calculate-value-according-to-a-mathematical/m-p/326444#M8618</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;Thanks for your sample!&lt;/P&gt;&lt;P&gt;It works well in our web application. But when we copy the widget file to the samplewidgets files( follow the link:&lt;A href="https://developers.arcgis.com/web-appbuilder/sample-code/create-custom-in-panel-widget.htm" title="https://developers.arcgis.com/web-appbuilder/sample-code/create-custom-in-panel-widget.htm"&gt;Create a custom in-panel widget—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers&lt;/A&gt; ), it can not work in the demo widget. The error is as follow:&lt;/P&gt;&lt;P&gt; Error: dijit._WidgetsInTemplateMixin: parser returned unfilled promise (probably waiting for module auto-load), unsupported by _WidgetsInTemplateMixin.&amp;nbsp;&amp;nbsp; Must pre-load all supporting widgets before instantiation.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error.JPG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/200922_error.JPG" style="width: 620px; height: 249px;" /&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Junxuan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 00:23:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/calculate-value-according-to-a-mathematical/m-p/326444#M8618</guid>
      <dc:creator>JunxuanZhao</dc:creator>
      <dc:date>2016-05-16T00:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: calculate value according to a mathematical function</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/calculate-value-according-to-a-mathematical/m-p/326445#M8619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;Junxuan,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;&amp;nbsp; Nothing in the &lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;samplewidgets folder is included by WAB as there is a specific file .repoignore that tells WAB to ignore any file in the &lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;samplewidgets folder.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 00:35:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/calculate-value-according-to-a-mathematical/m-p/326445#M8619</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-05-16T00:35:58Z</dc:date>
    </item>
  </channel>
</rss>

