Utilizing Webapp Builder for ArcGIS (Developers Edition) v.2.2 an application was created incorporating the Chart Widget. When previewed on the local machine the chart application works (displays data). When the code is downloaded and deployed on our web server the chart widget does not function. We are using Portal for ArcGIS 10.3.1 with data coming from SDE 10.2.2
Jeff,
This normally point to a access issue. When working in WAB Dev on the local machine it uses a local jsNode proxy to make requests to other servers. Once deployed you no longer get access to that proxy and you may have to deploy and configure a proxy for your app.
What does the browsers web console say when you are in your app and try to use the chart widget?
Robert,
Google Chome reports the following when attempting to utilize the widget.
Does this look like the issue you described?
Jeff,
I am not 100% sure yet. Can you provide the public link to this app for me to test?
https://gis.macombgov.org/appsdev/investments/index.html
Jeff Schroeder
Program Manager - Planning and GIS Mapping Services
Macomb County Planning & Economic Development
1 South Main Street, 7th Floor
Mt. Clemens, MI 48043
Office: 586-469-5285
ped.macombgov.org- department website
gis.macombgov.org - online mapping
<https://www.facebook.com/MacombCountyPlanningAndEconomicDevelopment/>
<https://www.linkedin.com/company/macomb-county-department-of-planning-&-economic-development>
<https://twitter.com/MacombNewsNow>
<https://www.youtube.com/user/MacombGov>
PRIVACY NOTICE: This message is intended only for the individual or entity
to which it is addressed. It may contain privileged, confidential
information, which is exempt from disclosure under applicable laws. If you
are not the intended recipient, please know that you are strictly
prohibited from disseminating or distributing this information (other than
to the intended recipient) or copying this information. If you have
received this communication in error, please notify me immediately by the
e-mail address or telephone number listed above. Thank you.
On Tue, Nov 1, 2016 at 12:38 PM, Robert Scheitlin, GISP <geonet@esri.com>
Jeff,
I see in your https://gis.macombgov.org/appsdev/investments/configs/Chart/config_Chart.json you are using a http url where your app is https so I would try updating the http url in the config_Chart.json to https.