Nestor, Version 2.2.9 how has this ability.
Marc, Hmm... On my live test site it does sum a graphical search if you have more than one record selected using the graphical search. EDIT:Well I now see the issue. If you don't do a text search first that shows the sum box than it will not appear in the graphical... I'm on it...
SearchWidget.mxml (code piece) if (configSearchText.useproxy && configData.proxyUrl) { queryTask.proxyURL = configData.proxyUrl; } var query:Query = new Query(); var myPattern:RegExp = /\[value\]/g; var myPattern2:RegExp = /\[value2\]/g; //added by W.Hughes - variable for installation code var expr:String; var exprFinal:String = expr; //added by W.Hughes to add second variable to expression //You set this here to equal expr, but expr has not been edited by the replace functions yet. if (txtSearch.visible){ expr = queryExpr.replace(myPattern, txtSearch.text); expr = expr.replace(myPattern2, cbo2.text); //variable for installation code }else{ expr = queryExpr.replace(myPattern, cbSearch.selectedItem.value); } //query.where = expr; this is the original code query.where = exprFinal //added by W.Hughes
F_Name LIKE '[value]*'
import com.esri.viewer.BaseWidget;
public var _configData:ConfigData; //Change this line of the postConfigHandler function. var configData:ConfigData = event.data as ConfigData; //to var configData:ConfigData = _configData = event.data as ConfigData;
Matt, Your mapservice must be coming from something other than SDE so you have to change your SQL statement.F_Name LIKE '[value]*'
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.