Can Web AppBuilder access map services hosted by ArcGIS for Server? Or is WAB limited to accessing map services hosted by ArcGIS Online or Portal?
No out of the box WAB can not access map services hosted by ArcGIS Server. Sorry thought that was clear.
This has been asked before a couple of times:
include layer via my own REST service and not from AGOL
Thanks, Robert. I have seen the discussion thread that you referenced, and it begins with the notice that the question has not been answered. I'm likewise still confused. So, out of the box, can WAB access map services hosted by ArcGIS Server or not? Sorry for the obtuseness.
I have done this indirectly. I routed my ArcGIS Server feature services through ArcGIS Online (Shared to My Content setting is checked during publishing). the service is still hosted by our server but is listed as an item in AGOL that points to our state owned server. I then add the feature service to an ArcGIS online web map that is brought into the Web App Builder.
Hope the helps,
Thank you, Jennifer. I was suspecting that AGOL has to be in the loop somehow. Do you know, then, if you can utilize Portal to access map services hosted by ArcGIS Server?Rudy Stricklan
Sorry, Rudy, I don't have access to Portal but my guess is the same is Bernie's, I believe it's purpose is to privately serve ArcGIS Server services. I think they are companion programs.
I also do this routinely. I host map services on our own ArcGIS Server and then publish that service to ArcGIS Online. It is a great way to control your credit usage. Go to ArcGIS Online and do a search for "GeoNB" to see the list of services we are publishing. This makes it really easy to compose a web map in AGOL that I can then reference in Web AppBuilder.
I have not used Portal but my understanding is that it is just a private, on-premise version of AGOL, therefore you should be able to publish your ArcGIS Server map services to Portal the same way I publish my map services to AGOL.
Very helpful information, thanks, Bernie. Nice-looking data, BTW!
When you say you "then publish that service to ArcGIS Online" do you mean you are then registering that service with AGOL or you then re-publish that service up to AGOL. If the later, then you can just skip the step to AGS right? I mean publish directly up to AGOL?
I am just "registering that service with AGOL".
Thanks Bernie... that helps, I was wondering if there was something I was missing.
I did find a reference to this on Rebecca's Blog. Web AppBuilder Developer Edition - Resource List (updated 5/13/2018)
Here is the reference... Get around using ArcGIS Online and Portal with WAB
YES YOU CAN DISPLAY YOUR OWN ARCGIS SERVER MAP SERVICES IN WAB
WAB displays web maps that are composed with the ArcGIS Online map viewer. You can compose a web map that includes map services from your own ArcGIS Server. Here is a sample web map that combines a map service from my own ArcGIS Server with the Esri World Topo basemap. The first step in accomplishing this is to register your ArcGIS Server map service with ArcGIS Online: (see snippet from ArcGIS Online Help below)
When you add an item from the web, you are referencing the REST endpoint (URL). The website does not store the item itself. You can reference ArcGIS Server web services, KML, and OGC WMS. You can also reference documents and images stored on the web.
Once you have added your ArcGIS Server map service(s) as items in ArcGIS Online you can add them to your web map. The final step is to reference the web map in WAB.
Retrieving data ...