Looking into the possibilities that come with the WAB I can't see the possibility to refer to one of my own services. Looks like people that have their data at AGOL are fine, but I can't upload certain data to AGOL since I am simple not allowed to give them out of house.
Hence, how is it possible to refer to web services delivered by our own ArcGIS Server?
I found this posting here (Do you have to use AGOL to use WAB? ) that might offer this, but the comments to the initial posting leave me a bit in doubt. Also, it is not satisfying to go via a hack to create standard functionality.
Bests Thomas
Thanks Larry, that makes sense and is enough info for me right now. It's a very neat application, btw.
Larry - I like your Print Plus widget for WAB. I found it on GitHub.
Bernie,
Thanks. The version on GitHub is an old one that worked with one of the Beta versions. I haven't taken the time to update it.
Here's a link to the latest viewer that uses the latest PrintPlus Widget: http://gis.hamiltoncounty.in.gov/mapviewer/index.html.
Larry
Larry:
I'm trying to duplicate a web app similar to yours where our data is hosted inside our firewalls but available to named AGOL users in our organization only. Field users with iPads have to VPN inside the firewall to get at the data.
Maybe that's my issue. I have added a number of map services to My Content via the REST endpoints, no problem. Our local intranet map servers are not using any security, just http://ourservername:6080/etc....
But you can only see those from inside the firewall.
Our ArcServers are running 10.1 SP1
(Funny, I can't find any Requirements page for Web AppBuilder)
I can make an AGOL webmap with the map layers no problem.
But when I start up a local registered copy of WAB from inside the firewall, the only layer that displays is the AGOL basemap. The Layer list widget shows nothing.
Similarily if I create an AGOL webmap with one of our layers as the basemap, then I pull up nothing.
I've googled this and dug everywhere, I can't believe I'm the only with this issue but I've found basically nothing to help. There is a post on Rebecca's blog that might have some info about turning ArcServer to https but it's not applicable to 10.1.
Any suggestions? Do I need to turn on Oauth2 in AGOL?
Thanks for any help. (I'm also installing the LocalLayer widget and see how that goes, except my WAB install doesn't match the folder structure given...)
Paul,
My WebMap has map services from both public and non-public servers. I wrote the validateWebMap.js module to test each server and each service and remove any services that are not reachable from the WebMap without any significant delay. I've tested this on my iPhone with VPN on and VPN off and the results are consistent with what I intended (no VPN, no layers from the non-public server). I'm not using any security to do this.
We do have one map service on our public server that is secured. validateWebMap.js also removes secured layers, unless there is a specific query parameter (allowSecuredLayers=true). I've also tested this and it works as expected.
Here are a couple of links for you:
Viewer App
Config Documentation
Updated Link (4-30-2015)
I call the preProcessor.js from index.html and preProcessor.js calls validateWebMap.js. This architecture allows for other types of pre-processing in the future.
Let me know if and how well this works for you. I've tested it for the sake of testing, but many times that kind of testing is not as good as a real production environment.
Larry
Thanks for the info Larry.
I could get the Config Documentation but not the Viewer App
Sorry. Not sure how that happened. Try this one:
Thanks Larry
That worked
I'll try digesting this info and go from there.
FC Basson,
Can you point out where this default.js file is?
Sorry Robert, I got confused with the WAB templates.