Andrea, Sure, just add this to the bottom of the init function:wTemplate.selectedTitlebarButtonIndex = 1;
wTemplate.selectedTitlebarButtonIndex = 1;
Andrea, Not until you start using the source code then you can do this <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" widgetConfigLoaded="init()" currentState="textInput">
<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" widgetConfigLoaded="init()" currentState="textInput">
<expression>AssessorNum_diss LIKE '%[value]%'</expression>
<expression>Upper(AssessorNum_diss) LIKE Upper('%[value]%')</expression>
<expression>AssessorNum_diss = '%[value]%'</expression>
<expression>AssessorNum_diss = '*[value]*'</expression>
<expression>AssessorNum_diss = '[value]'</expression>
<expression>AssessorNum_diss = [value]</expression>
<?xml version="1.0" ?> <configuration> <layers> <layer> <name>Parcels</name> <url>http://ptovar-pc/ArcGISServer/rest/services/TEST/Parcels/FeatureServer/0</url> <expression>AssessorNum_diss = '[value]'</expression> <textsearchlabel>Search by Parcel ID [ Example: L18100149000 ]:</textsearchlabel> <titlefield>AssessorNum_diss</titlefield> <linkfield></linkfield> <fields all = "true"> <field name="AssessorNum_diss"/> </fields> </layer> </layers> <zoomscale>5000</zoomscale> <info>widgets/InfoTemplates/InfoPopupWidget.swf</info> </configuration>
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.