Created
May 17, 2016 21:23
-
-
Save cici004/176984426aadbf81bab98c9d3ef5a04b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
name: 'Search by SR', | |
expression: '', // additional where expression applied to all queries | |
idProperty: 'objectid_1', | |
queryParameters: { | |
type: 'spatial', // spatial, relationship, table or database | |
url: 'http://sv04gis:6080/arcgis/rest/services/Surveys/ControlPoints/MapServer/0' | |
outFields :['*'] | |
}, | |
attributeSearches: [ | |
{ | |
name: 'Search by SR', | |
searchFields: [ | |
{ | |
name: 'Enter SR Attribute', | |
label: 'Enter SR', | |
expression: '(surv_req LIKE\'[value]%\')', | |
placeholder: 'ex SR: 08-213', | |
required:false, | |
minChars: 3 | |
} | |
], | |
title: 'Control Points', | |
topicID: 'controlpoints', | |
gridOptions: { | |
columns: [ | |
{ | |
field:'objectid_1', | |
label:'No.', | |
width: 100 | |
}, | |
{ | |
field: 'northing', | |
label: 'Northing', | |
width:150 | |
}, | |
{ | |
field: 'easting', | |
label: 'Easting', | |
width:150 | |
}, | |
{ | |
field: 'unit', | |
label: 'Unit', | |
width:150 | |
}, | |
{ | |
field: 'elevation', | |
label: 'Elevation', | |
width:150 | |
}, | |
{ | |
field: 'description', | |
label: 'Description', | |
width:150 | |
} | |
} | |
} | |
] | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment