Select to view content in your preferred language

Completed app no longer shows up in WebAppBuilder and ....

4957
13
Jump to solution
08-04-2014 02:34 PM
AdamOlson
Occasional Contributor

Hello,

Ok, I completed a cool application using the WebApp Builder for ArcGIS.

Everything was going smoothly until I followed the Deploy the app instructions.

I did as directed below.

  1. Unzip the downloaded ZIP file to your computer.
  2. Point your HTTP server to the unzipped folder, or copy the folder and paste it into your web server.
  3. Register your app in ArcGIS online or Portal for ArcGIS.
  4. Open config.json file in the folder, and find the appid and replace it with the one you just registered.

On step 3 I went to register but it said it was already registered. So thought I needed to re-register to make it work. So I unregistered and re-registered now... getting a new appid and app secret.  What is app secret?

Anyway, I opened the config.json and put in the app id.

Now I have two problems.

1)  The map opens fine from my unzipped folder on my server however neither the legend nor the layers list will show up.  It just spins hour glass.

2) Now when I start Web AppBuilder my APP that I spent days creating to perfection does not load.  I see there is an upload button but I don't see any help on how to upload.  Can I upload the app I unzipped to my folder that I just downloaded?

Please help, or if there is someone here that would have a few minutes to connect to my PC and help me figure out what happened?

Thanks,

Adam

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Adam,

  When you deploy the app it should remain in your WAB app list unless you delete it.

You are having the same issue that Matthew was having in this thread WebApp Builder Widgets Not Working

So here is now to fix it.

In your deployed apps main folder find your config.json and open it in an editor of choice and delete all "/webappbuilder/apps/2/" instances in the config or uri

Example:

"config": "/webappbuilder/apps/2/widgets/Legend/config_Legend.json"

should be:

"config": "widgets/Legend/config_Legend.json"

As to why the app is not showing in WAB anymore I am not sure. But you can load the app back into WAB by zipping the deployed app (make sure you zip the actual file not just the folder that they reside in) and then click "Upload" form WAB and point to that zip file.

View solution in original post

0 Kudos
13 Replies
RobertScheitlin__GISP
MVP Emeritus

Adam,

   Are you using Beta1 or Beta2?

0 Kudos
AdamOlson
Occasional Contributor

Beta 2.  Any ideas?

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Adam,

   Are you deploying to the same machine you are using WAB on? Can you use your browsers Developer tools to see where and what is failing in the deployed app? Is the deployed app public where I can diagnose?

0 Kudos
AdamOlson
Occasional Contributor

Robert,

The WebApp builder and deploy to machine is on a server machine that I access from my PC.

I am confused. When you deploy the app does that remove it from the WebApp Builder?  because after I deployed it, it no longer shows up in the webapp builder list when I run it.

Can you edit a deployed app again in WebApp Builder?

Here is the deployed versions that will not sure the legend or layer list.

ArcGIS Web Application

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Adam,

  When you deploy the app it should remain in your WAB app list unless you delete it.

You are having the same issue that Matthew was having in this thread WebApp Builder Widgets Not Working

So here is now to fix it.

In your deployed apps main folder find your config.json and open it in an editor of choice and delete all "/webappbuilder/apps/2/" instances in the config or uri

Example:

"config": "/webappbuilder/apps/2/widgets/Legend/config_Legend.json"

should be:

"config": "widgets/Legend/config_Legend.json"

As to why the app is not showing in WAB anymore I am not sure. But you can load the app back into WAB by zipping the deployed app (make sure you zip the actual file not just the folder that they reside in) and then click "Upload" form WAB and point to that zip file.

0 Kudos
AdamOlson
Occasional Contributor

Hey,

I am not sure what’s going on. I did what you said and I still couldn’t get the legend or layer list to come up.

I then signed out and back into the Web Appbuilder and my project was back so I launched it and it was working fine. So I deleted the existing downloaded version and redownloaded it from the Web AppBuilder and opened in the browser and still I can not get the layer list or legend to show up.

I removed the "/webappbuilder/apps/2/" again and still no luck.

http://207.171.101.207/Tauction/

Adam Olson

Natural Resource GIS Specialist

Itasca County Land Department

1177 LaPrairie Ave.

Grand Rapids, MN 55744

(218) 327-7309 direct tel

(218) 327-4160 fax

RobertScheitlin__GISP
MVP Emeritus

Adam,

  Nope they are still there when I go to http://207.171.101.207/Tauction/config.json‌ Not sure what you changed where but the config.json that the app is using is not updated.

RobertScheitlin__GISP
MVP Emeritus

Adam,

  Here is your app file the config.json fixed. I test on my web server and it runs fine (all widgets).

RobertScheitlin__GISP
MVP Emeritus

Adam,

   I see that you have gotten most of your issues resolved but you still have the same issue with your scalebar widget in your config.json