Select to view content in your preferred language

No manifest.json or widget.html file for WAB app

556
3
Jump to solution
07-20-2018 09:52 AM
JustinBridwell2
Occasional Contributor II

I want wanted to configure a select widget in my WAB code on my local to have only the selectBy Polygon instead of the out of the box SelectBy square settings. So I created a new WAB app with those settings, downloaded the code, and attempted to copy the new select widget from the downloaded folder. I immediately realized there was no Widget.html file and no manifest.json file. Everything else looked similar in terms of file structure. I also noticed that the Widget.js code looked a lot different (It was no formatted correctly and looked almost minified) than the original select Widget.js file. For example, there was a selectBy parameter in the new code, but nothing in the original code (I thought maybe I could just modify the original). Any suggestions as to what's going on here? The new widget definitely won't add to my app view without those missing files.

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Justin,

   When downloading an app from AGOL WAB all the code will be minified/uglified. You really did not need to go though all that just to change the SelectBy options avaulable in your widget. just go to your apps folder and then the configs folder and find the select widgets folder and modify the select widgets json manually.

  "geometryTypes": [
    "POLYGON"
  ],

View solution in original post

3 Replies
RobertScheitlin__GISP
MVP Emeritus

Justin,

   When downloading an app from AGOL WAB all the code will be minified/uglified. You really did not need to go though all that just to change the SelectBy options avaulable in your widget. just go to your apps folder and then the configs folder and find the select widgets folder and modify the select widgets json manually.

  "geometryTypes": [
    "POLYGON"
  ],
RobertScheitlin__GISP
MVP Emeritus

Don't forget to mark this question as answered by clicking on the "Mark Correct" link on the reply that answered your question.

0 Kudos
JustinBridwell2
Occasional Contributor II

Hey Robert,

Thanks for the assist. I marked your answer as correct. Wanna help me with my new question? Api url won’t work with my esri/request method… ☹

-JB

0 Kudos