ArgumentError: Error #2004: L'un des paramètres n'est pas valide. at flash.utils::ByteArray/writeObject() at mx.utils::ObjectUtil$/copy() at com.esri.ags.webmap::PopUpRenderer/commitProperties()at mx.core::UIComponent/validateProperties() at mx.managers::LayoutManager/validateProperties() at mx.managers::LayoutManager/doPhasedInstantiation() at mx.managers::LayoutManager/doPhasedInstantiationCallback()
<?xml version="1.0" ?> <!-- See Enhanced Search Widget XML Configuration.pdf for detailed explanation --> <configuration> <layers> <layer> <definitionexpression></definitionexpression> <enableexport>true</enableexport> <name>Briqueterie</name> <url>http://local/ArcGIS/rest/services/m_foncier_ssud/MapServer/0</url> <expressions> <expression alias="Numéro" textsearchlabel="Recherche par numéro:" field="DONMET.URB_ZI_FONCIER.ZIFNUMERO">DONMET.URB_ZI_FONCIER.ZIFNUMERO='[value]'</expression> </expressions> <graphicalsearchlabel>Utiliser un des outils graphique pour sélectionner sur la carte</graphicalsearchlabel> <spatialsearchlayer>false</spatialsearchlayer> <titlefield>DONMET.URB_ZI_FONCIER.ZIFPARCELLE</titlefield> <fields all="false"> <field name="DONMET.URB_ZI_FONCIER.ZIFID" alias="Identifiant" gridfield="true"/> <field name="DONMET.URB_ZI_FONCIER.ZIFPARCELLE" alias="Parcelle" gridfield="true"/> <field name="DONMET.URB_ZI_FONCIER.ZIFNUMERO" alias="Numéro" gridfield="true" gridfieldonly="true" /> <field name="DONMET.URB_ZI_FONCIER.ZIFPROPRIETAIRE" alias="Propriétaire" gridfield="true" /> <field name="DONMET.URB_ZI_FONCIER.ZIFPROPRIETAIREVERITABLE" alias="Propriétaire véritable" gridfield="true" gridfieldonly="true" /> </fields> <links> <link includeinresults="false" field="" alias=""> <linkprefix></linkprefix> <linksuffix></linksuffix> <iconfield></iconfield> <iconprefix></iconprefix> <iconsuffix></iconsuffix> </link> </links> <zoomscale usegeometry="true" zoompercent="1.6">10000</zoomscale> <autoopendatagrid>false</autoopendatagrid> <relates> </relates> </layer> </layers> <spatialrelationships> <!-- possible spatial relationships esriSpatialRelIntersects | esriSpatialRelContains | esriSpatialRelCrosses | esriSpatialRelEnvelopeIntersects | esriSpatialRelIndexIntersects | esriSpatialRelOverlaps | esriSpatialRelTouches | esriSpatialRelWithin | esriSpatialRelRelation --> <spatialrelationship> <name>esriSpatialRelContains</name> <label>entièrement contenu dans</label> </spatialrelationship> <spatialrelationship> <name>esriSpatialRelIntersects</name> <label>coupée par</label> </spatialrelationship> <spatialrelationship> <name>esriSpatialRelEnvelopeIntersects</name> <label>coupée par l'enveloppe de</label> </spatialrelationship> </spatialrelationships> <bufferunits> <bufferunit> <name>UNIT_FOOT</name> <label>Pieds</label> </bufferunit> <bufferunit> <name>UNIT_METER</name> <label>Mètres</label> </bufferunit> <bufferunit> <name>UNIT_KILOMETER</name> <label>Kilomètres</label> </bufferunit> </bufferunits> <spatialReference>4326</spatialReference> <zoomscale>5000</zoomscale> <geometryservice>http://local/ArcGIS/rest/services/Geometry/GeometryServer</geometryservice> <csvSeparator>;</csvSeparator> <enabledatagridinteractionwithwidget>true</enabledatagridinteractionwithwidget> <toleranceforpointgraphicalselection>3</toleranceforpointgraphicalselection><!-- value is in screen pixels --> <tolerancebydefault >false</tolerancebydefault> <disablebuttons>graphic</disablebuttons><!--possible values one or more not all three search types comma sepearted text,graphic,spatial,grid --> <defaultselectionoption>textInput</defaultselectionoption><!--possible values only one graphicalInput or textInput or spatialInput --> <enabledrawgraphicbutton>false</enabledrawgraphicbutton> <enablebuffergraphicbutton>false</enablebuffergraphicbutton> <selectedgraphicaltool>extent</selectedgraphicaltool><!-- possible values are extent or polygon or mappoint or polyline or nothing --> <multipartgraphicsearch>false</multipartgraphicsearch> <floatorfixed>float</floatorfixed> <relatetooltip>Show Relates</relatetooltip> <relateicon>widgets/eSearch/assets/images/i_relate.png</relateicon> <labels> <bufferusergraphics>Buffer Graphic</bufferusergraphics> <norelatesfound>No related features found for: </norelatesfound> <norelatesfoundalerttitle>Pas de résultats</norelatesfoundalerttitle> <addtolerance>Ajouter une tolérance au point de sélection</addtolerance> <existingdrawgraphicslabel>Utiliser l'outil dessine existant</existingdrawgraphicslabel> <graphicalsearchlabel>Recherche graphique</graphicalsearchlabel> <textsearchlabel>Recherche</textsearchlabel> <resultslabel>Resultats</resultslabel> <layerlabel>Couche de recherche:</layerlabel> <layerfieldlabel>Search Layer Field:</layerfieldlabel> <nolayerlabel>Aucune couche de recherche définie</nolayerlabel> <submitlabel>Recherche</submitlabel> <pointlabel>Sélection par point</pointlabel> <linelabel>Sélection by ligne</linelabel> <rectanglelabel>Sélection by rectangle</rectanglelabel> <polygonlabel>Sélect by Polygon</polygonlabel> <clearlabel>Effacer</clearlabel> <loadinglabel>Chargement...</loadinglabel> <selectionlabel>Données sélectionnées:</selectionlabel> <gridresultslabel>Montrer les résultats dans un tableau</gridresultslabel> <csvdefaultname>Données sélectionnées</csvdefaultname> <exportbtnlabel>Export...</exportbtnlabel> <export2csvoptionlabel>Exporter en CSV...</export2csvoptionlabel> <export2txtoptionlabel>Exporter en Txt...</export2txtoptionlabel> <bufferLabel>Appliquer une distance de recherche:</bufferLabel> <spatialsearchLabel>Spatial search</spatialsearchLabel> <applybufferlabel>Appliquer un buffer</applybufferlabel> <searchlayerlabel>Search entities of:</searchlayerlabel> <enablemultipartsearch>Permettre la sélection multiple</enablemultipartsearch> <zoomalllabel>Zoom</zoomalllabel> <zoomalltip>Zoom sur tous les résultats</zoomalltip> <bufferalpha>Adjust buffer alpha</bufferalpha> <buffercolor>Select buffer color</buffercolor> </labels> <symbols> <simplefillsymbol color="0xff0000" alpha="0.5"> <outline color="0xff0000" alpha="0.8" width="2"/> </simplefillsymbol> <!-- You can have one or the other, either simplemarkersymbol or picturemarkersymbol defined for your point results NOT BOTH. picturemarkersymbol will override simplemarkersymbol if you do not have it commented out. --> <!--<simplemarkersymbol style="square" size="12" color="0xff0000" alpha="0.5" xoffset="0" yoffset="0" angle="0"> <outline style="solid" color="0x000000" alpha="1" width="1"/> </simplemarkersymbol>--> <picturemarkersymbol url="assets/images/i_search.png" height="30" width="30" xoffset="0" yoffset="0" /> <simplelinesymbol color="0xff0000" alpha="0.8" width="2"/> </symbols> </configuration>
Solved! Go to Solution.
<expression alias="Numéro" textsearchlabel="Recherche par numéro:" field="DONMET.URB_ZI_FONCIER.ZIFNUMERO">DONMET.URB_ZI_FONCIER.ZIFNUMERO='[value]'</expression>