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

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.

Unzip the downloaded ZIP file to your computer.

Point your HTTP server to the unzipped folder, or copy the folder and paste it into your web server.

Register your app in ArcGIS online or Portal for ArcGIS.

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?

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.

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?

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.

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.