I have a Web Appbuilder Application using several geoprocessing widgets that have extremely varied result values depending on what the user inputs. Therefore, I would like to symbolize the results with a Map Service, since that is flexible enough to apply unique symbology to the varying range of values.
However, I would like the user to be able to run the tools multiple times without the results getting replaced, as well as automatically enabling the pop-up, as you can do when you are viewing the results with AGOL symblology for the output. The Map service results do not give the option to add the layer to map, does not have the functionality to automatically enable the pop-up, and does not give the option to export results.
I feel stuck between choosing accurate/flexible symbology by viewing the results with a Map Service, and being able to configure a pop-up, download, and add multiple results to the web app session without it. I have looked at the below link, but have not been able to get my application to work.
Do I put the code inside each geoprocessing widget? at the bottom? how can I keep multiple Map Service results at once?