{ "id": "1023", "displayName": "Service Requests", "shortDisplayName": null, "description": "LA County layers for editing", "connectionString": "url=https://services.arcgis.com/p3UBboyC0NH1uCie/ArcGIS/rest/services/LA_Editing_AGOL/FeatureServer/0", "copyright": "", "hasAttributionData": false, "serviceType": "Feature", "serviceFunction": "Operational", "baseMapGroup": null, "baseMapGroupIndex": "", "baseMapGroupIsMutuallyExclusive": false, "opacity": 1, "visible": true, "initiallyVisible": true, "drawingBehavior": "FeatureLayer", "iconUri": null, "includeInLayerList": false, "defaultAllowSymbolization": true, "isExpanded": true, "updateInterval": null, "dataProvider": null, "disableClientCaching": false, "serviceTag": "dRq3DgMPrx/SEATMw8e9AP/1l1St/QyH1t/FpiwSAYs=", "identifiable": null, "includeMosaicDatasetValues": null, "includeCatalogItems": null, "startTime": null, "endTime": null, "serverVersion": "11.2", "failureAction": "Ignore", "failureTimeout": null, "requestEncoding": null, "supportsDynamicLayers": false, "hasLayerCatalog": false, "autoSave": true, "color": null, "geometry": null, "objectIds": null, "onDemandCacheSize": null, "outFields": "*", "queryMode": "Snapshot", "tileHeight": null, "tileWidth": null, "selectionColor": null, "where": null, "editVerticesEnabled": true, "moveEnabled": true, "rotateEnabled": true, "scaleEnabled": true, "featureClustering": { "userCanToggle": true, "enabled": true, "radius": 50, "backgroundColor": [ 255, 0, 0, 255 ], "labelColor": [ 255, 255, 255, 255 ], "maximumFeatures": 10, "clusterSize": 0 }, "featureHeatMap": { "userCanToggle": true, "enabled": false, "intensity": 30, "field": null, "gradient": [ [ 255, 255, 255, 0 ], [ 0, 0, 255, 255 ], [ 255, 0, 0, 255 ], [ 255, 255, 0, 255 ] ], "offset": [ 0, 0.5, 0.75, 0.85 ], "respectScaleRange": false }, "themeSettings": [ { "themeID": "0" }, { "themeID": "1" }, { "themeID": "2" } ], "layerHyperlinks": [], "tileInfo": {}, "instantSearch": false, "layers": [ { "id": "0", "name": "Service Requests", "nativeID": "0", "displayName": "Service Requests", "description": "", "defaultVisibility": true, "featureType": "Point", "type": "DynamicFeatureLayer", "maxScale": 0, "minScale": 0, "visible": true, "initiallyVisible": true, "showMapTips": true, "identifiable": true, "queryable": true, "searchable": true, "supportsIdentify": true, "supportsQuery": true, "canCopyFeature": true, "snappable": true, "snappingEnabled": true, "hasAttachments": true, "featureZoomFactor": null, "featureZoomScale": null, "featureBorderColor": null, "featureBorderWidth": null, "featureFillColor": null, "showFeatureHyperlinks": "ShowAll", "iconUri": "{VirtualDirectoryUrl}/Icons/unassigned_request.png", "includeInLayerList": true, "includeInLegend": true, "allowSymbolization": true, "legendUrl": null, "styleName": null, "drawIndex": null, "canToggleLabels": false, "showLabels": true, "dataProvider": null, "featureLabel": "{REQUESTTYPE}", "featureDescription": "{COMMENTS}
{NAME}
{PHONE}
{EMAIL}
{REQUESTDATE}

Attachments:
{ATTACHLINKS}
", "featureLongDescription": null, "displayField": "NAME", "primaryKeyField": "OBJECTID", "fullExtent": { "xmin": -13734529.046065971, "ymin": 1843294.4633669176, "xmax": 645659.82313891686, "ymax": 6942766.7540033981, "spatialReference": { "wkid": 102100 } }, "parentLayerId": null, "subLayerIds": [], "hasReports": false, "hasDataLinks": false, "fields": [ { "name": "OBJECTID", "visible": false, "dataType": "Int32", "displayName": "OBJECTID", "alias": "OBJECTID" }, { "displayName": "Service Request ID", "name": "REQUESTID", "alias": "Service Request ID", "visible": true, "dataType": "String", "searchable": true }, { "displayName": "Problem", "name": "REQUESTTYPE", "alias": "Problem", "visible": true, "dataType": "String", "searchable": true }, { "displayName": "Description", "name": "COMMENTS", "alias": "Description", "visible": true, "dataType": "String", "searchable": true }, { "displayName": "Name", "name": "NAME", "alias": "Name", "visible": true, "dataType": "String", "searchable": true }, { "displayName": "Phone", "name": "PHONE", "alias": "Phone", "visible": true, "dataType": "String", "searchable": true }, { "displayName": "Email", "name": "EMAIL", "alias": "Email", "visible": true, "dataType": "String", "searchable": true }, { "displayName": "Date Submitted", "name": "REQUESTDATE", "alias": "Date Submitted", "visible": true, "dataType": "DateTime", "searchable": true }, { "displayName": "Request Status", "name": "STATUS", "alias": "Request Status", "visible": true, "dataType": "String", "searchable": true }, { "displayName": "Facility Identifier", "name": "FACILITYKEY", "alias": "Facility Identifier", "visible": true, "dataType": "String", "searchable": true }, { "displayName": "EDITEDDATE", "name": "EDITEDDATE", "alias": "EDITEDDATE", "visible": true, "dataType": "DateTime", "searchable": true }, { "name": "DIRECTIONS", "visible": false, "dataType": "String", "displayName": "DIRECTIONS", "alias": "DIRECTIONS" }, { "name": "GlobalID", "visible": false, "dataType": "Guid", "displayName": "GlobalID", "alias": "GlobalID" }, { "name": "CreationDate", "visible": false, "dataType": "DateTime", "displayName": "CreationDate", "alias": "CreationDate" }, { "name": "Creator", "visible": false, "dataType": "String", "displayName": "Creator", "alias": "Creator" }, { "name": "EditDate", "visible": false, "dataType": "DateTime", "displayName": "EditDate", "alias": "EditDate" }, { "name": "Editor", "visible": false, "dataType": "String", "displayName": "Editor", "alias": "Editor" } ], "featureHyperlinks": [], "layerHyperlinks": [], "arcadeExpressions": [ { "expression": "function makeAttachmentLink(name, id, oid, url) {\r\n\treturn '<' + 'a ' + 'href=\"' + url + '/' + oid + '/attachments/' + id + '\" target=\"_blank\">' + name + '<' + '/' + 'a>';\r\n}\r\n\r\nfunction makeAttachmentLinks(serviceUrl, oidField) {\r\n\tif (IsEmpty(oidField)) {\r\n\t\toidField = \"OBJECTID\";\r\n\t}\r\n\tvar a = Attachments($feature);\r\n\tvar result = \"\";\r\n\tfor (var i in a) {\r\n\t\tresult += makeAttachmentLink(a[i].name, a[i].id, $feature[oidField], serviceUrl) + TextFormatting.NewLine;\r\n\t}\r\n\tif (IsEmpty(result)) {\r\n\t\tresult = \"None\"\r\n\t}\r\n\treturn result;\r\n}\r\n\r\nmakeAttachmentLinks(\"https://services.arcgis.com/p3UBboyC0NH1uCie/ArcGIS/rest/services/LA_Editing_AGOL/FeatureServer/0\");", "token": "ATTACHLINKS" } ], "isDynamic": false, "dynamicDefinition": null, "themeSettings": [ { "themeID": "2", "visible": true } ], "tileLevelLimits": [] } ], "tables": [], "fullExtent": { "xmin": -13734529.046065971, "ymin": 1843294.4633669176, "xmax": 645659.82313891686, "ymax": 6942766.7540033981, "spatialReference": { "wkid": 102100 } }, "spatialReference": { "wkid": 102100 }, "properties": [], "extensions": [] }