Any guidance on deploying a web app designed in Web AppBuilder and to be hosted on our local Portal for ArcGIS (10.3). The app was necessary because it has one custom widget (elevation profile). I built the app in Web AppBuilder and tested out the widget which works fine. I downloaded the app as instructed through Web AppBuilder. The next step says to unzip the app and "Deploy it on your web server." This is where I need help, I've never deployed a website before. On our web server there is a inetpub folder with a subfolder wwwroot. Is this where the unzipped site content should reside? Thanks for any guidance.
Solved! Go to Solution.
Hi Robert,
for more detail I followed your steps from MS azure VM using windows server 2016.
After working on it for a while I encountered this error on my console.
Thanks again Robert.
Cheolyeong,
You should see from the error that the url to your portal is HTTPS and not http like you have in your proxy.config and your WAB proxy rules.
So the issue is likely you have "portalUrl": "https://spacewalk5.maps.arcgis.com", in your apps main config.json. If you change that url to http instead then you might be good to go.
Robert.
thanks for the reply I really appreciate it; however even though I changed the portalUrl in my config.json I still gets the same error. error still show as "https" not "http".
thank you.
Ok, so add the https URL to your proxy.config
Robert
yes I have tried it.but same error. since I am very new to all this, I usually do "brute force coding" where I try everything. I also tried enabling CORS. I just cant seems to get my finger around it.
thanks
Did you also change the URL in the main config.json (the proxy rules)?
Yes. If I made changes to either proxy rules on proxy.config or main config.json, I had made sure that they both serverUrl and urlPrefix are identical.
Well if all your urls are https then I don't know why you would still see that error
Its probably something fundamental which i am forgetting.
thank you Robert for all your help!
have a great weekend!