<expression alias="Find Parcel" textsearchlabel="Seach by Block and Lot" isvaluerequired="true"> <values> <value prompt="Example: Block 101" isvaluerequired="true" operator="AND">(BLOCK) = ('%[value]%')</value> <value prompt="Example: Lot 1" isvaluerequired="true" operator="AND">(LOT) = ('%[value]%')</value> </values> </expression>
<expression alias="Find Parcel" textsearchlabel="Seach by Block and Lot" isvaluerequired="true"> <values> <value prompt="Example: Block 101" isvaluerequired="true">upper(BLOCK) LIKE upper('[value]%')</value> <value prompt="Example: Lot 1" isvaluerequired="true" operator="AND">upper(LOT) LIKE upper('[value]%')</value> </values> </expression>
Ben, The buffers spatial reference is controlled by the spatialreference tag in the eSearchWidget.xml. So yes you already have control over the spatial reference used by the buffer.
Dan, When you download the widget it come in a zip file that has folders, pdfs, and a text document. in the folder called For_AppBuilder3.4 there is another zip file, that is the zip file you should be adding to App Builder through the Advanced Settings > Manage Custom Widgets dialog.
Ben, That is the intended current behaviour. Are you saying that you would like to see it consistant one way or the other? If so which way?
private function showGridResults():void { try{ if(gridFields.length == 0){ showMessage("No Datagrid configured for this layer", false); return; } if(floatorfixed == "float"){ if(!floatDG){ floatDG = new SearchWidgetFloatDG(); floatDG.x = map.width - floatDG.width - floatDGRightOffset; floatDG.y = map.height - floatDG.height - floatDGBottomOffset; PopUpManager.addPopUp(floatDG,map,false,PopUpManagerChildList.POPUP) PopUpManager.bringToFront(floatDG); }else{ ... ...
... ... if(floatorfixed == "float"){ if(!myfloatdg){ myfloatdg = new SearchWidgetFloatDG(); PopUpManager.addPopUp(myfloatdg,map,false,PopUpManagerChildList.POPUP) PopUpManager.centerPopUp(myfloatdg); var popupWindowX:Number = map.width - myfloatdg.width - floatDGRightOffset; var popupWindowY:Number = map.height - myfloatdg.height - floatDGBottomOffset; myfloatdg.move(popupWindowX, popupWindowY); }else{ ... ...
We are trying to position the floating Data Grid to the lower right corner of the map in order not to block the map contents in the center which is default position of floating Data Grid. We made a fex changes to the "showGridResults" function in the source code. After we did that, we found that nothing popped up aftwer clicking the Data Grid View button. did we do something wrong? The lines of codes shown in red are those we made the changes. Any help or suggestion would be greatly appreciated. private function showGridResults():void { try{ if(gridFields.length == 0){ showMessage("No Datagrid configured for this layer", false); return; } if(floatorfixed == "float"){ if(!floatDG){ floatDG = new SearchWidgetFloatDG(); floatDG.x = map.width - floatDG.width - floatDGRightOffset; floatDG.y = map.height - floatDG.height - floatDGBottomOffset; PopUpManager.addPopUp(floatDG,map,false,PopUpManagerChildList.POPUP) PopUpManager.bringToFront(floatDG); }else{ ... ...
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.