Can you have more than one uniquevaluesfromfield within expressions? I can't get it to work in the 3.1 version.
All,New version available:Version 3.1.9 - 2/19/2013* autoopendatagrid is now honored by the fixed datagrid as well as the floating datagrid.* Drop down lists no longer initializes with no item selected as they did in versions 3.1.7 & 8
<expressions> <expression alias="Students" textsearchlabel="Choose All to select every student in that category:" isvaluerequired="false"> <values> <value prompt="Grade:" userlist="All,K,1st,2nd,3rd,4th,5th,6th" isvaluerequired="false" autosubmit="false">Grade = '[value]'</value> <value prompt="Race:" userlist="All,American Indian,Asian,Hispanic,Black,White" isvaluerequired="false" autosubmit="false" operator="AND">Race = '[value]'</value> <value prompt="Gender:" userlist="All,Male,Female" isvaluerequired="false" autosubmit="false" operator="AND">Gender = '[value]'</value> <value prompt="Free or Reduced Lunch:" userlist="All,Yes,No" isvaluerequired="false" autosubmit="false" operator="AND">FRL = '[value]'</value> <value prompt="Special Ed:" userlist="All,Yes,No" isvaluerequired="false" autosubmit="false" operator="AND">SpecEd = '[value]'</value> </values> </expression> </expressions>
Dan, You need to add gap="-1" to the SearchExpValueItem.mxml file at the very begining of the file in the VGroup.
gap="-1"
<s:VGroup id="searchGroup" width="100%" paddingTop="3" paddingBottom="3" gap="20" > <Search:SearchExpValueItem width="100%" wTemplateWidth="{wTemplate.width}" /> </s:VGroup>
<s:VGroup xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" width="100%" horizontalAlign="center" creationComplete="init(event)" gap="-1" >
<s:RichEditableText id="prompt" text="{_prompt}" paddingLeft="2" paddingBottom="10" selectable="true" editable="false" tabEnabled="false" tabFocusEnabled="false"/>
Derek, It looks like you missed step 3 in the Enhanced Search Widget Fixed Datagrid.pdf.
<layer> <definitionexpression></definitionexpression> <enableexport>true</enableexport> <name>Rough Rider Corridor</name> <url>http://ArcGIS:6080/arcgis/rest/services/Test/Test/MapServer/3</url> <expressions> <expression alias="Pipeline Name" textsearchlabel="Search Pipelines by Name..."> <values> <value prompt="Example: 31Bugs" userlist="31Bugs,42nd Buford,48Jackson,52Boots,52Delrome,52Ox,52Pyramid, 54Borsheim,56Sukut,57Strand,58Arnson,62Irgens,62Kalil,62Sam,64BCD,Abe,Aune,Aune-Savage,Bennett,Charbon,East Fork, East Main 1,East Main 2,East Main 3,Green,Knoshaug 14-11-1H,Lucy Hanson,Marcia and Jake,Missouri,Mrachek,North-South Main, Olson 20-29,Papineau,Patent Gate,Rangeland,Rose,Russell-Irwin,Sjol,South Alexander,State 36-1,Timber Creek,Trenton Anderson, Trenton Oil,Trenton Water Line">SEGMENT_NAME LIKE '%[value]%'</value> </values> </expression> </expressions> <graphicalsearchlabel>Use one of the graphical search tools to select Pipelines</graphicalsearchlabel> <spatialsearchlayer>true</spatialsearchlayer> <titlefield>SEGMENT_NAME</titlefield> <fields all="false"><!-- Notice I had to remove the closing slash from here --> <field name="ANC" alias="ANC" visible="false" gridfield="true"/> <field name="SEGMENT_NAME" alias="Pipeline Name" visible="false" gridfield="true"/> <field name="PROJECT_NUMBER" alias="Project Number" visible="false" gridfield="true"/> <field name="Shape.STLength()" alias="Length" visible="false" gridfield="true"/> </fields> <links/> <zoomscale usegeometry="true" zoompercent="2"></zoomscale> <autoopendatagrid>true</autoopendatagrid> <queryattachments>false</queryattachments> <relates/> <symbology> <simplefillsymbol color="0x0000ff" alpha="0.5"> <outline color="0x00ffff" alpha="0.8" width="2" /> </simplefillsymbol> </symbology> </layer>
Gerald, This is very strange indead... I have watched the query that is sent to the server through Fiddler and can see the issue is the outfields has "PARCEL_TYPE" tacked on to the end of the outfields list and I have gone though my code top to bottom and examined the FeatureLayers outfields and the Querys outfields and can not find where that is coming from. So My next step is attempt to reproduce this issue just using the Flex API and if I can, then submit a bug to the API Team.
Adam, Are you using Google Chrome?... If you Google "Google Chrome Print Issues" you will find Lots of issues that Chrome has with their print preview feature.
<spatialreference>102100</spatialreference>
<spatialReference>102003</spatialReference>
Adam, I am not sure what you are asking... Can you provide screen shots and use a paint type program to highlight/annotate what you are asking about?
Lisa, I have NOT seen this and I just tested and could not duplicate your issue. Are you sure you are using App Builder 3.1? I thought it might be the standard permissions elevation issue people run into (Where you have to right click on the app builder icon and choose run as Administrator to give it write permission to the inetpub directory), but that did not make a difference as it added the widget for me without elevated permissions.
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.