Hi Everyone,
Can someone guide me to the process of cloning a widget in the Web AppBuilder (Developer Edition). I can't seem to find a documentation to do this.
Thanks,
Ha
Ha,
Robert,
I search through all the files in the eSearch widget and found one additional file that I have to change. This seem to fix the issue that I'm having.
For those that might be interested to know....
Hi Ha and Robert !
Regardless of the code of the widget, you must also add the widget name to list.json file to call it in the Builder and in the config.json in sample config for the developer side.
Yes with a widget as complicated as the eSearch there are going to be MANY more places in the code (*.js and *.html files) that the name eSearch is hard coded.
Thanks Robert.
I copy one of your eSearch widget and rename it to eSearchCust. Than I open both of the file you suggested and change these area highlighted in yellow.
Everything went well when I add the eSearchCust widget and save the update.
Now, when I launch the map, and click on the new widget. This is what I get...
I used fiddler and it seem to look in the widget/eSearch/List.js.
Does this make sense? Are there more files that I have to change?
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.