Hosting a WAB application locally in IIS

4122
5
04-28-2015 01:00 PM
PriyaRam
New Contributor III

Hi - I was able to install the WAB and create a sample application with a few widgets.I downloaded the WAB application, locally into my webserver and altered the proxyURL ,App ID ,Portal URL to empty and I accessed the  application using http://servername/test-copy/index.html and I'm getting a blank page. Please advise what I'm doing wrong.

0 Kudos
5 Replies
PriyaRam
New Contributor III

ArcGIS Web Application

here a link to the url which is public. I don't have any layers configured in here. I was hoping atleast the empty template would come up. Please advise. When I launch locally when the node.js is running and logged into the

ARCGIS online account , I see the application. Please advise.

0 Kudos
PaulCrickard
New Contributor III

Looks like your portal url is wrong. That is the error I get in the console. Your config has the portal removed.

0 Kudos
PriyaRam
New Contributor III

Hi Paul - Just to give a little bit more backgroud. I'm trying to migrate from Flex Viewer to WAB using Javascript

we have a ARCGIS 10.3 server. Do I need a portal extension to run the code I downlaoded from

ARCGIS online ? I need to add the operational layers that are hosted in my ARCGIS 10.3 server and play around a bit with the widgets.

Will the WAB work in ARCGIS 10.3 or do I need to install the Portal Extension ? If Portal is not needed, should I sepcify the application URL in the config.json  like http://<servername>/web-context/index.html. Am I headed in the right direction ?

config.json read me says portal URL is optional

//Optional. The portal URL. If empty, use the URL that app is hosted.

  "portalUrl": "http://mypc.com/arcgis/"

Please advise.

0 Kudos
StanMcShinsky
Occasional Contributor III

Priya,

When you first start WAB you are asked for a portal url. This is the url for your AGOL organization and where your registered app is to get the app id. This is also the place where you will configure your web map for WAB.

When is says portalUrl it is not asking for the portal extension for server. It is asking for a url of the place that you configure your web maps and register your apps.Either Portal for Server or AGOL.

-Stan

PriyaRam
New Contributor III

I had to change the Organization settings to not use SSL, and have the application working in ARCGIS 10.3 server. However, it prompts me to authenticate, while launching the application from my server.

Need to figure out how to get the SSL working, to get around the prompting.  I do see the portal URL , when i download the code .

Thanks..

Priya

0 Kudos