Web ApppBuilder

946
6
11-16-2016 01:48 AM
RatikantaLenka
New Contributor

One of my client wants to access his arcgis map services using web appbuilder.  I am totally new to Web Appbuilder, but i have worked with arcgis server javascript api before.

Can anyone guide me how to use ESRI web appbuilder?

Thanks in advance

0 Kudos
6 Replies
RebeccaStrauch__GISP
MVP Emeritus

Hi Ratikanta,

First, you should be aware that there are three options for Web Appbuilder.  A recent post here Which WAB to choose Portal? Online or devleoper version?  might be a good place to start to decided which version you will need.

My blog /blogs/myAlaskaGIS/2016/03/09/web-appbuilder-developer-edition-customization-resource-listmight be a little overwhelming, but there are links to many blogs by Derek Law‌ that explains what is available and some FAQ.  Buttom line, the Online version is probably the easiest to get started on, but has limitations if you want to customize it at all.  The Developer edition does most of the same things (although enhancements might follow a few weeks later) and give you flexibility.  Most customization is still done with widgets, so very little programming is necessary but if you have the JS skills it is very customizable beyond the out of the box.  Portal is if it needs to by 100% internal, and updates to that follow later (and a bit more administration for all).

All rely somewhat on either ArcGIS Online or the internal Portal for a AppID, but there is a Local Layer widget that can be used if needed to read directly from a local ArcGIS Server. 

Any can be deployed to your local IIS or other web server for others.

Another blog I have that may help

/blogs/myAlaskaGIS/2015/01/15/tips-and-observations-for-getting-web-appbuilder-developer-edition-ins...

Make sure to check out Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers    for download and other information.

tagging a few other geonet communities for more exposure (and you may want to move the post to one of these other sites.

https://community.esri.com/community/gis/web-gis/web-appbuilder?sr=search&searchId=9f384618-e6c8-427...‌  https://community.esri.com/groups/web-app-builder-custom-widgets?sr=search&searchId=9f384618-e6c8-42...

RatikantaLenka
New Contributor

Hi Rebecca

  Thanks for your response. let me go through it.

Again thanks for your valuable time 

0 Kudos
DerekLaw
Esri Esteemed Contributor
RatikantaLenka
New Contributor

Hi Derek

  Thanks for your response. let me go through it.

Again thanks for your valuable time 

0 Kudos
RatikantaLenka
New Contributor

Hi,

Below is my javascript api code i used before

function loadMap(){

esriConfig.defaults.io.proxyUrl = "https://myarcgiserver/ArcGisApi/proxy/xxxxxxxxxx";//Corresponding ClientId Should be provided.
esriConfig.defaults.io.alwaysUseProxy = true;

//=============== load map ===================
map = new esri.Map("map");
agslayer = new esri.layers.ArcGISTiledMapServiceLayer("https://myarcgiserver/arcgis/rest/services/servicename/MapServer");
map.addLayer(agslayer);
dojo.connect(agslayer, "error", function(err) {
alert("tiled layer: " + err.code + " : " + err.message);
});
//================================================

}

dojo.addOnLoad(loadMap);

now i want to replace the above using web appbuilder.

Any help will be appreciated

0 Kudos
DerekLaw
Esri Esteemed Contributor

Hi Ratikanta,

I am not a developer so unfortunately, I can't read/understand the details of your JavaScript code, sorry. It looks like you load a map with a proxy URL, then load the map and its layers.

> now i want to replace the above using web appbuilder.

I am not clear on what you're asking for here, this type of functionality would be built in Web AppBuilder already. Are you looking to understand how to set up a proxy with Web AppBuilder?

Setting up a proxy with Web AppBuilder Developer Edition | Support Services Blog 

Hope this helps,

0 Kudos