Recommended: Should be added last after finalizing the Map Application (If application is still using webappbuilder to configure, refer to "Path Fix Step")
- Create new file named "home.html" in same directory as index.html
- Copy paste everything in index.html into home.html
- Copy paste everything from index.html of this repository into the index.html you replaced in the step above
- Copy paste all corresponding folders e.g. js, css, scss, images into the same directory as index.html
If application is still using webappbuilder to configure widgets, themes and so on, but you wish to add the replace the login page in, you will need to fix the redirect path on web app builder. (You may have to beautify code for easier search)
- Open to WebAppBuilderForArcGIS\client\builder\main.js
- Ctrl/Cmd F "_updateAppId:"
- Within the function under "b = window.appInfo.appPath + "index.html";", change index to home and save
- Replace the List.js file with the List.js file in this repo under widgets/Identify
- Copy paste category.json from the repo into the same directory as List.js
- Replace the widget.js file with the widget.js file in this repo under widgets/Classification
- Replace the widget.html file with the widget.html file in this repo under widgets/Classification
- Copy paste layer.json from the repo into the same directory as List.js
- Change the JSON id of layers to view add layers function
- Attribute name of layer.json must be an exact match to attribute name from the real layer attribute from the request/response