I am implementing the Search Widget in an application and I am trying to figure out a better way to configure the sources for the widget.
I have a feature service that contains 60+ layers in it and the requirements are to be able to search all of the layers with the Search Widget. Do I really have to manually define every single layer as a LayerSearchSource or is there a better way that I can just give it the feature service url and it can pull all of the layers in as a search source utilizing default values?