Katie, The OTB Search widget has support for setting what the initial view is by add the initialview tag in the SearchWidget.xml and setting it to text:<initialview>text</initialview>Documentation found here:http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Search_widget_tags/01m300000023000000/
<initialview>text</initialview>
We just deployed the sample flex site and are editing config.xml and corresponding widget's xml. We just got Flash Builder and would like to edit the widgets source.
Justin, I just tested the exact same change in 2.3 and it worked fine...
<viewer:BaseWidget xmlns:esri="http://www.esri.com/2008/ags" xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:Search="widgets.Search.*" xmlns:viewer="com.esri.viewer.*" x="600" y="300" currentState="textInput" widgetConfigLoaded="init(); wTemplate.selectedTitlebarButtonIndex = 1">
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.