{"license": [" | Copyright 2013 Esri", " |", " | Licensed under the Apache License, Version 2.0 (the 'License');", " | you may not use this file except in compliance with the License.", " | You may obtain a copy of the License at", " |", " |    http://www.apache.org/licenses/LICENSE-2.0", " |", " | Unless required by applicable law or agreed to in writing, software", " | distributed under the License is distributed on an 'AS IS' BASIS,", " | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.", " | See the License for the specific language governing permissions and", " | limitations under the License."], "documentation": ["For help configuring this application, see:", "http://solutions.arcgis.com/local-government/help/find-edit-filter/"], "values": {"webmap": "", "titleBar.title": "Find, Edit, and Filter", "titleBar.iconUrl": "images/onlineapp.png", "colorizer.theme": "EarthBrowns", "filter.hint1": "Filter", "filter.fieldname1": "", "filter.value1": null, "searchBox.hint": "Find", "featureSearcher.searchLayersString": "[]", "featureSearcher.displayLayersString": "[]", "highlighter.highlightZoomLevel": 16, "basemapBox.basemapgroupTitle": "", "basemapBox.basemapgroupOwner": "", "helpMessageBox.content": "Find, Edit, and Filter provides you with the ability to locate features, edit new and existing features, and filter the visible features based on an attribute. The filter also will define the default value in the filter field of newly created features."}, "configurationSettings": [{"category": "<b>App Settings</b>", "fields": [{"label": "Select a map", "fieldName": "webmap", "type": "webmap", "tooltip": "Web map displayed in the application"}, {"label": "Application title", "fieldName": "titleBar.title", "type": "string", "tooltip": "Application title displayed in header"}, {"label": "URL of application logo", "fieldName": "titleBar.iconUrl", "type": "string", "tooltip": "Icon in top left corner of application. Icon should be 48px high."}, {"label": "Color scheme:", "fieldName": "colorizer.theme", "type": "string", "options": [{"label": "Neutral Grays", "value": "NeutralGrays"}, {"label": "Earth Browns", "value": "EarthBrowns"}, {"label": "Sea Blues", "value": "SeaBlues"}, {"label": "Natural Greens", "value": "NaturalGreens"}, {"label": "Warm Brights", "value": "WarmBrights"}, {"label": "Scenic Purples", "value": "ScenicPurples"}], "tooltip": "Color of header bar and widget windows"}, {"label": "Basemap group", "fieldName": "basemapBox.basemapgroupTitle", "type": "string", "tooltip": "Name of a public group containing basemaps, or leave blank to use the organization's basemap group", "placeholder": "Default organization basemaps"}, {"label": "Basemap group owner", "fieldName": "basemapBox.basemapgroupOwner", "type": "string", "tooltip": "Username of basemap group owner", "placeholder": "Default organization basemaps"}, {"label": "Help widget text", "fieldName": "helpMessageBox.content", "type": "string", "stringFieldOption": "textarea", "tooltip": "Help text displayed to the end users of this application"}]}, {"category": "<b>Search Settings</b>", "fields": [{"label": "Hint", "fieldName": "searchBox.hint", "type": "string", "tooltip": "Search hint (e.g. Find a Pre-Incident Plan, Find a Park)"}, {"label": "Find layers and fields", "fieldName": "featureSearcher.searchLayersString", "type": "multilayerandfieldselector", "tooltip": "Choose the layers - and the fields in those layers - to search", "layerOptions": {"supportedTypes": ["FeatureLayer"], "geometryTypes": ["esriGeometryPoint", "esriGeometryLine", "esriGeometryPolyline", "esriGeometryPolygon"]}, "fieldOptions": {"supportedTypes": ["esriFieldTypeString", "esriFieldTypeSmallInteger", "esriFieldTypeInteger"]}}, {"label": "Result display layers and fields (optional)", "fieldName": "featureSearcher.displayLayersString", "type": "multilayerandfieldselector", "tooltip": "Optionally, choose to return values from one or several fields in the search results. If no Result Display Layer is specified for a Find Layer, the Find Field value will be returned in the search results.", "layerOptions": {"supportedTypes": ["FeatureLayer"], "geometryTypes": ["esriGeometryPoint", "esriGeometryLine", "esriGeometryPolyline", "esriGeometryPolygon"]}, "fieldOptions": {"supportedTypes": ["esriFieldTypeString", "esriFieldTypeSmallInteger", "esriFieldTypeInteger"]}}, {"label": "Zoom level", "fieldName": "highlighter.highlightZoomLevel", "type": "number", "constraints": {"min": 0, "places": 0}, "tooltip": "Zoom level for selected search results"}]}, {"category": "<b>Filter & Edit Settings</b>", "fields": [{"label": "Filter hint", "fieldName": "filter.hint1", "type": "string", "tooltip": "Filter hint ( e.g., Floor Number, Plan ID)"}, {"label": "Filter field", "fieldName": "filter.fieldname1", "type": "string", "tooltip": "Field used to filter the features displayed in the map"}, {"label": "Default filter value", "fieldName": "filter.value1", "type": "string", "tooltip": "Initial filter value. If the map contains editable layers, this is also the initial default value for new features."}]}], "ui": [{"classname": "js.LGNotes", "config": {"notes": ["@@@commit@@@"]}}, {"classname": "js.LGColorizer", "config": {"rootId": "colorizer", "parentDiv": "contentDiv", "colorTable": [{"theme": "NeutralGrays", "colors": ["#969696", "#fff", "#464646", "#d8d8d8"]}, {"theme": "EarthBrowns", "colors": ["#be9969", "#fff", "#523b20", "#d8d8d8"]}, {"theme": "SeaBlues", "colors": ["#00b9f2", "#fff", "#004575", "#d8d8d8"]}, {"theme": "NaturalGreens", "colors": ["#aad04b", "#fff", "#2a7f33", "#d8d8d8"]}, {"theme": "WarmBrights", "colors": ["#f89927", "#fff", "#da4d1e", "#d8d8d8"]}, {"theme": "ScenicPurples", "colors": ["#b279b4", "#fff", "#6b1978", "#d8d8d8"]}]}}, {"classname": "js.LGFrame", "styles": ".appFrame{width:100%;height:100%;overflow:hidden;position:absolute}.frameHeader{width:100%;height:48px;padding:0px;overflow:hidden;position:absolute;border:1px solid lightgray}.frameContent{width:100%;padding:0px;position:absolute}", "config": {"rootId": "outerFrame", "headerDivId": "headerFrame", "contentDivId": "contentFrame", "parentDiv": "contentDiv", "rootClass": "appFrame", "headerDivClass": "frameHeader", "contentDivClass": "frameContent"}}, {"classname": "js.LGBusy", "styles": ".busyImage{display:none;background-image:url('images/loading.gif');width:80px;height:17px;position:absolute;z-index:100}", "config": {"rootId": "busyIndicator", "parentDiv": "contentFrame", "horizOffset": 0, "vertOffset": 0, "busyImageClass": "busyImage"}}, {"classname": "js.LGMap", "styles": ".mapContainer{margin:0px;padding:0px;overflow:hidden;position:absolute}.simpleInfoWindow .close{width:32px!important;height:32px!important;background-size:32px 32px;left:244px!important;top:-18px!important}.simpleInfoWindow .title{min-height:14px}", "config": {"rootId": "map", "rootClass": "mapContainer", "parentDiv": "contentFrame", "fill": true}}, {"classname": "js.LGSearchFeatureLayerMultiplexer", "config": {"rootId": "featureSearcher", "parentDiv": "contentFrame", "dependencyId": "map", "busyIndicator": "busyIndicator", "publishPointsOnly": false, "searchPattern": "%${1}%", "caseInsensitiveSearch": true}}, {"classname": "js.LGSearchBoxByText", "styles": ".searchBox{display:none;width:200px;max-height:224px;padding:4px;position:absolute;overflow:hidden;z-index:40;word-wrap:break-word;border:1px solid lightgray}.resultsListBox{top:53px;overflow:auto}.okIE .resultsListBox{position:absolute;left:4px;right:4px;bottom:4px;width:auto}.lt-ie9 .resultsListBox{width:100%;height:182px}.resultsListTable{width:97%;margin:4px}.lt-ie9 .resultsListTable{width:87%}.resultsListBody{width:80%}.resultsListSearching{background-image:url('images/loading.gif');background-position:center center;background-repeat:no-repeat;width:100%;height:1.5em}.resultsListEntry{width:84%;margin:2px;padding:4px;cursor:pointer}", "config": {"rootId": "searchBox", "trigger": "search", "publish": "showFeature", "parentDiv": "contentFrame", "rootClass": "searchBox", "horizOffset": -2, "vertOffset": [2, -2], "searcher": "featureSearcher", "showPrompt": "@tooltips.search", "resultsListBoxClass": "resultsListBox", "resultsListTableClass": "resultsListTable", "resultsListBodyClass": "resultsListBody", "resultsListSearchingClass": "resultsListSearching", "resultsListEntryClass": "resultsListEntry"}}, {"classname": "js.LGHighlighter", "config": {"rootId": "highlighter", "parentDiv": "contentFrame", "dependencyId": "map", "lineHiliteColor": "#0000ff", "fillHiliteColor": [0, 0, 255, 0.1]}}, {"classname": "js.LGTitleBar", "styles": ".appTitleBar{height:40px;margin:0px;padding:2px;overflow:hidden;position:absolute}.titleIcon{height:44px;margin:-4px;padding:0px;float:left}.titleText{height:48px;margin:3px 3px 3px 12px;padding:0px;font-size:200%;vertical-align:middle;word-wrap:break-word;float:left}@media all and (max-width: 520px){.titleText{display:none}}", "config": {"rootId": "titleBar", "parentDiv": "headerFrame", "rootClass": "appTitleBar", "horizOffset": 4, "vertOffset": 0, "iconClass": "titleIcon", "titleClass": "titleText"}}, {"classname": "js.LGMapDijitContainer", "styles": ".dijitContainer{position:absolute;z-index:35;}", "config": {"rootId": "homeButton", "parentDiv": "map", "dependencyId": "map", "rootClass": "dijitContainer", "horizOffset": 19, "vertOffset": 91, "dijitAmd": "esri/dijit/HomeButton"}}, {"classname": "js.LGMapDijitContainer", "config": {"rootId": "locateButton", "parentDiv": "map", "dependencyId": "map", "rootClass": "dijitContainer", "horizOffset": 19, "vertOffset": 132, "dijitAmd": "esri/dijit/LocateButton"}}, {"classname": "js.LGGallery", "styles": ".commandPanel{height:44px;margin:-3px;padding:0px;overflow:hidden;position:absolute;text-align:center;vertical-align:middle}.commandPanel table{border-spacing:0px}.commandPanelArrow{width:12px;height:48px;margin:4px;padding:0px;cursor:pointer;vertical-align:middle}.okIE .commandPanelArrow{border-radius:4px}.commandButton{width:44px;height:44px;text-align:center;cursor:pointer}.okIE .commandButton{border-radius:8px}.commandTextButton{width:100%;height:44px;cursor:pointer}.okIE .commandTextButton{border-radius:8px}.commandText{display:inline;height:32px;margin-left:2px;font-size:120%;overflow:hidden;vertical-align:bottom}.okIE .commandText{display:inline-block}.commandIcon{width:32px;height:32px;margin-top:6px}", "config": {"rootId": "commandPanel", "parentDiv": "headerFrame", "rootClass": "commandPanel", "horizOffset": -4, "vertOffset": 0, "itemClass": "commandPanelItem", "arrowClass": "commandPanelArrow"}}, {"classname": "js.LGLaunchUrl", "config": {"rootId": "launcher", "sameWinTrigger": "launch/parent", "newWinTrigger": "launch/blank"}}, {"classname": "js.LGMessageBox", "styles": ".helpMessageBox{display:none;max-width:400px;max-height:300px;padding:16px;position:absolute;overflow:auto;z-index:40;word-wrap:break-word;border:1px solid lightgray}", "config": {"rootId": "helpMessageBox", "parentDiv": "contentFrame", "rootClass": "helpMessageBox", "horizOffset": -2, "vertOffset": [2, -2], "trigger": "help"}}, {"classname": "js.LGPublishEcho", "config": {"rootId": "diagMessageBox", "parentDiv": "contentFrame", "rootClass": "helpMessageBox", "horizOffset": -2, "vertOffset": [2, -2], "trigger": "error"}}, {"classname": "js.LGBasemapBox", "styles": ".basemapBox{display:none;width:280px;max-height:244px;padding:4px;position:absolute;overflow:hidden;z-index:40;word-wrap:break-word;border:1px solid lightgray}.basemapGallery{width:96%;height:96%;padding:4px;overflow-y:auto;}.lt-ie9 .basemapGallery{height:220px}", "config": {"rootId": "basemapBox", "parentDiv": "contentFrame", "rootClass": "basemapBox", "galleryClass": "basemapGallery", "horizOffset": -2, "vertOffset": [2, -2], "trigger": "basemap", "dependencyId": "map"}}, {"classname": "js.LGMapBasedMenuBox", "styles": ".shareBox{display:none;width:140px;text-align:center;padding:4px;position:absolute;overflow:hidden;z-index:40;word-wrap:break-word;border:1px solid lightgray}.shareCmdTextButton{width:44px;height:44px;cursor:pointer;display:inline-block}", "config": {"rootId": "shareBox", "parentDiv": "contentFrame", "rootClass": "shareBox", "horizOffset": -2, "vertOffset": 2, "trigger": "share", "dependencyId": "map"}}, {"classname": "js.LGEditTemplatePickerWithDefaults", "styles": ".templateArea{display:none;width:210px;padding:4px;position:absolute;overflow:hidden;z-index:40;word-wrap:break-word;border:1px solid lightgray}.templatePickerHolder {position:absolute;right:5px;top:5px;left:5px;bottom:5px;overflow-x:hidden;overflow-y:auto;}", "config": {"rootId": "iTemplateArea", "parentDiv": "contentFrame", "rootClass": "templateArea", "templatePickerHolderClass": "templatePickerHolder", "templatePickerDivClass": "templatePickerDiv", "colorizerId": "colorizer", "horizOffset": -2, "vertOffset": [58, -40], "trigger": "markup", "dependencyId": "map", "listenForDefaultsTrigger": "floor"}}, {"classname": "js.LGFilterLayers1WithDefaults", "styles": ".filter{display:none;width:210px;padding:4px;position:absolute;overflow:hidden;z-index:40;word-wrap:break-word;border:1px solid lightgray}", "config": {"rootId": "filter", "tooltip": "@tooltips.filter", "parentDiv": "contentFrame", "rootClass": "filter", "horizOffset": -2, "vertOffset": 2, "defnExpression": "${fieldname1}=${value1}", "trigger": "markup", "dependencyId": "map", "broadcastDefaultsPublish": "floor", "busyIndicator": "busyIndicator", "nonieSwitchDelaySecs": "1.5", "ieSwitchDelaySecs": "3.0"}}, {"classname": "js.LGCommand", "config": {"rootId": "search", "tooltip": "@tooltips.search", "iconJson": "[{'shape':{'type':'circle','cx':13,'cy':13,'r':10},'stroke':{'type':'stroke','color':{'r':255,'g':255,'b':255,'a':1},'style':'solid','width':2,'cap':'butt','join':4}},{'shape':{'type':'line','x1':20,'y1':20,'x2':30,'y2':30},'stroke':{'type':'stroke','color':{'r':255,'g':255,'b':255,'a':0.25},'style':'solid','width':2,'cap':'butt','join':4}}]", "iconColorizerId": "colorizer", "parentDiv": "commandPanel", "rootClass": "commandButton", "iconClass": "commandIcon", "dependencyId": "featureSearcher", "publish": "search"}}, {"classname": "js.LGCommand", "config": {"rootId": "markup", "tooltip": "@tooltips.collect", "iconJson": "[{'shape':{'type':'ellipse','cx':16,'cy':3,'rx':16,'ry':2},'stroke':{'type':'stroke','color':{'r':0,'g':0,'b':0,'a':1},'style':'solid','width':2,'cap':'butt','join':4}},{'shape':{'type':'path','path':'M 1 3C 5 9 10 15 14 22c 0 3 0 6 0 9'},'stroke':{'type':'stroke','color':{'r':0,'g':0,'b':0,'a':1},'style':'solid','width':2,'cap':'butt','join':4}},{'shape':{'type':'path','path':'M 31 3C 27 9 22 15 18 22c 0 3 0 6 0 9'},'stroke':{'type':'stroke','color':{'r':0,'g':0,'b':0,'a':1},'style':'solid','width':2,'cap':'butt','join':4}},{'shape':{'type':'path','path':'m 14 31c 1 0 3 0 4 0'},'stroke':{'type':'stroke','color':{'r':0,'g':0,'b':0,'a':1},'style':'solid','width':2,'cap':'butt','join':4}}]", "iconColorizerId": "colorizer", "parentDiv": "commandPanel", "rootClass": "commandButton", "iconClass": "commandIcon", "dependencyId": "map", "publish": "markup"}}, {"classname": "js.LGCommand", "config": {"rootId": "basemap", "tooltip": "@tooltips.basemap", "iconJson": "[{'shape':{'type':'rect','x':2,'y':2,'width':12,'height':12,'r':0},'stroke':{'type':'stroke','color':{'r':0,'g':0,'b':0,'a':1},'style':'solid','width':2,'cap':'butt','join':4}},{'shape':{'type':'rect','x':18,'y':2,'width':12,'height':12,'r':0},'stroke':{'type':'stroke','color':{'r':0,'g':0,'b':0,'a':1},'style':'solid','width':2,'cap':'butt','join':4}},{'shape':{'type':'rect','x':2,'y':18,'width':12,'height':12,'r':0},'stroke':{'type':'stroke','color':{'r':0,'g':0,'b':0,'a':1},'style':'solid','width':2,'cap':'butt','join':4}},{'shape':{'type':'rect','x':18,'y':18,'width':12,'height':12,'r':0},'stroke':{'type':'stroke','color':{'r':0,'g':0,'b':0,'a':1},'style':'solid','width':2,'cap':'butt','join':4}}]", "iconColorizerId": "colorizer", "parentDiv": "commandPanel", "rootClass": "commandButton", "iconClass": "commandIcon", "dependencyId": "basemapBox", "publish": "basemap"}}, {"classname": "js.LGCommand", "config": {"rootId": "share", "tooltip": "@tooltips.share", "iconJson": "[{'shape':{'type':'path','path':'M 16 2L 2 2 2 30 30 30 30 16'},'stroke':{'type':'stroke','style':'solid','width':2,'cap':'butt','join':4}},{'shape':{'type':'path','path':'M 22 2L 30 2 30 10'},'stroke':{'type':'stroke','style':'solid','width':2,'cap':'butt','join':4}},{'shape':{'type':'path','path':'M 30 2L 16 16'},'stroke':{'type':'stroke','style':'solid','width':2,'cap':'butt','join':4}}]", "iconColorizerId": "colorizer", "parentDiv": "commandPanel", "rootClass": "commandButton", "iconClass": "commandIcon", "dependencyId": "shareBox", "publish": "share"}}, {"classname": "js.LGCommand", "config": {"rootId": "shareEmail", "tooltip": "@tooltips.shareViaEmail", "iconJson": "[{'shape':{'type':'path','path':'m 2 5 28 0 1 1 0 3L 16 16 1 8 1 6zm-1 7 0 15L 31 27 31 12 16 19 1 12'},'stroke':{'type':'stroke','color':{'r':0,'g':0,'b':0,'a':1},'style':'solid','width':2,'cap':'butt','join':4}}]", "iconColorizerId": "colorizer", "parentDiv": "shareBox", "rootClass": "shareCmdTextButton", "iconClass": "commandIcon", "publish": "share/email"}}, {"classname": "js.LGCommand", "config": {"rootId": "shareFB", "tooltip": "@tooltips.shareViaFacebook", "iconJson": "[{'shape':{'type':'path','path':'M 18 31V 17h 5l 1-5H 18V 9c 0-2 0-3 3-3l 3 0V 1C 23 1 22 1 20 1 16 1 13 3 13 8V 12H 8v 5h 5V 31h 5z'},'stroke':{'type':'stroke','color':{'r':0,'g':0,'b':0,'a':1},'style':'solid','width':2,'cap':'butt','join':4}}]", "iconColorizerId": "colorizer", "parentDiv": "shareBox", "rootClass": "shareCmdTextButton", "iconClass": "commandIcon", "publish": "share/facebook"}}, {"classname": "js.LGCommand", "config": {"rootId": "shareTw", "tooltip": "@tooltips.shareViaTwitter", "iconJson": "[{'shape':{'type':'path','path':'M 31 7C 30 7 29 8 27 8 29 7 30 6 30 4 29 5 28 5 26 6 25 5 24 4 22 4c-3 0-6 3-6 6 0 0 0 1 0 1C 11 11 6 9 3 5 3 6 2 7 2 8c 0 2 1 4 3 5-1 0-2 0-3-1 0 0 0 0 0 0 0 3 2 5 5 6-1 0-1 0-2 0 0 0-1 0-1 0 1 2 3 4 6 4-2 2-5 3-8 3 0 0-1 0-1 0 3 2 6 3 9 3 11 0 18-9 18-18 0 0 0-1 0-1 1-1 2-2 3-3z'},'stroke':{'type':'stroke','color':{'r':0,'g':0,'b':0,'a':1},'style':'solid','width':2,'cap':'butt','join':4}}]", "iconColorizerId": "colorizer", "parentDiv": "shareBox", "rootClass": "shareCmdTextButton", "iconClass": "commandIcon", "publish": "share/twitter"}}, {"classname": "js.LGCommand", "config": {"rootId": "help", "tooltip": "@tooltips.help", "iconJson": "[{'shape':{'type':'path','path':'M 31 16C 31 24 24 32 15 31 8 31 1 24 1 17 1 10 5 4 11 2c 6-2 13 0 17 5 2 3 3 6 3 9z'},'stroke':{'type':'stroke','color':{'r':0,'g':0,'b':0,'a':1},'style':'solid','width':2,'cap':'butt','join':4}},{'shape':{'type':'path','path':'m 13 12c 0-3 4-4 6-2 2 2 0 4-1 6-1 1-2 2-1 4'},'stroke':{'type':'stroke','color':{'r':0,'g':0,'b':0,'a':1},'style':'solid','width':2,'cap':'butt','join':4}},{'shape':{'type':'circle','cx':17,'cy':23,'r':0.5},'stroke':{'type':'stroke','color':{'r':0,'g':0,'b':0,'a':1},'style':'solid','width':2,'cap':'butt','join':4}}]", "iconColorizerId": "colorizer", "parentDiv": "commandPanel", "rootClass": "commandButton", "iconClass": "commandIcon", "publish": "help"}}, {"classname": "js.LGShareAppExtents", "config": {"rootId": "shareAppExtEmail", "trigger": "share/email", "publish": "launch/parent", "subject": ".titleBar.title", "tinyURLServiceURL": "", "tinyURLResponseAttribute": "data.url", "shareUrl": "mailto:%20?subject=${subject}&body=${url}", "busyIndicator": "busyIndicator", "dependencyId": "map"}}, {"classname": "js.LGShareAppExtents", "config": {"rootId": "shareAppExtFB", "trigger": "share/facebook", "publish": "launch/blank", "subject": ".titleBar.title", "tinyURLServiceURL": "", "tinyURLResponseAttribute": "data.url", "shareUrl": "http://www.facebook.com/sharer.php?u=${url}&t=${subject}", "busyIndicator": "busyIndicator", "dependencyId": "map"}}, {"classname": "js.LGShareAppExtents", "config": {"rootId": "shareAppExtTw", "trigger": "share/twitter", "publish": "launch/blank", "subject": ".titleBar.title", "tinyURLServiceURL": "", "tinyURLResponseAttribute": "data.url", "shareUrl": "https://twitter.com/intent/tweet?url=${url}&text=${subject}", "busyIndicator": "busyIndicator", "dependencyId": "map"}}]}