Robert,In your application through the link above, I have noticed that you have an extra combo box for "Search Layer Field:" which is not available in the esearch widget. It seems very useful since it provides the flexibility to search against multiple fields. Could you provide the information about how you have implemented it and the new lines to be added in the xml file. ThanksNadeem
Rich, I think what you are after can be handled with out any code modification. It would require you to have several configuration files and in the FlexViewers url you would just use the appropriate parameter.i.e. http://gis.calhouncounty.org/IdentExample/index.html?config=config-eSearch.xmlWhere ?config=config-eSearch.xml is the specific config file I want to load.Now in the config file you can specify a visiblelayers attribute for each mapservice.i.e <layer label="Public Safety" type="dynamic" visible="true" visiblelayers="1,2" url="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Louisville/LOJIC_PublicSafety_Louisville/MapServer"/>
<layer label="Public Safety" type="dynamic" visible="true" visiblelayers="1,2" url="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Louisville/LOJIC_PublicSafety_Louisville/MapServer"/>
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.