I'm trying to go through the steps in Widget Development in the Web AppBuilder for ArcGIS (Developer Edition), and in the "Define the template" step (Define the template—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers ), I can't get the last part to show up.
Start the app through http://[your host]/webappviewer/?config=sample-configs/config-demo.json, and click the icon. The widget appears like the following:
When I do this, however, nothing shows up. The blue loading screen comes on, but once it loads it's just blank. I have followed all the steps to the letter, so I don't think it's that I'm missing any of the files. I am typing in "http://glados:3344/webappviewer/?config=sample-configs/config-demo.json " for the link (my computer name is glados). When I use Web AppBuilder, it runs from the link: http://glados:3344/webappbuilder/ .
Has anyone else had this problem, or have any idea what could be going wrong?
Solved! Go to Solution.
Okay I got it to work now! The problem was a missing manifest.json file. Once I copied the manifest.json file from C:\[install dir]\client\stemapp\widgets\samplewidgets\Demo\manifest.json into my new "demo2" folder (in "samplewidgets"), the web appViewer worked.
Thank you everyone for all your help!
I have seen this issue before. Here is something t try.
Use the base url for the viewer app first (i.e. "http://gislap183:3344/webappviewer/") and make sure you can bring up just the webappviewer. When the view app successfully appears then try the full url. Hope this helps.
Strange... I have no issue bring up the page using : "http://gislap183:3344/webappviewer/?config=sample-configs/config-demo.json". Can you check your browser web console to see if there are any error when you attempt to bring your url up in a browser?
Here it is:
"author": "Esri R&D Center Beijing",
"description": "This is the widget used in developer guide",
I will note, however, that I made a "demo2" widget to start with these instructions from scratch, and it doesn't have a manifest.json file, because it wasn't listed under the "Required Files" step (Required files—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers )