|
POST
|
I am trying to use a spatial filter on a category selector. I have hydrants (points) and want to select them by areas of responsibility (polygons). The services that I am using are on our internal ArcGIS Server. When I try and use a spatial filter, I see a 400 error in the Chrome debugger about not being able to access the proxy. http://OurAGOLsite.arcgis.com/sharing/proxy/?http://OurServer/arcgis/rest/services/OurService/M… Access to OurAGOLsite.maps.arcgis.com was denied You don't have authorization to view this page. HTTP ERROR 403 Thanks, Mele
... View more
01-11-2018
08:50 AM
|
0
|
0
|
1043
|
|
POST
|
David, Thanks for the response. I had done what you are suggesting on another layer, but I think the issue I have is related to another post I made https://community.esri.com/thread/207455-operations-dashboard-map-actions-does-not-zoom I guess the operation I would like is for the Selector to select all the "A Shift" hydrants as one group and not the individual hydrants. I had a work around for the Zoom issue that I think I can apply to this as well. Mele
... View more
01-09-2018
09:51 AM
|
0
|
0
|
8067
|
|
POST
|
I would like to use the category selector on a string field and use a Like Operator. It does not look like this is possible. I am trying to create a drop down category selector to filter hydrants by the shift(A,B, or C) they are assigned to for flushing. The field containing the Shift has the station number and shift (ex 601A). The Feature Layer I am using is coming from ArcSDE on our internal ArcGIS Server and I would rather not have to add a field. One idea I had was to add a table with just the shift (A,B, C) and join it to the ArcSDE Feature Class. Am I missing something here? If not, anyone figured out a work around? Thanks, Mele
... View more
01-08-2018
08:50 AM
|
2
|
10
|
10094
|
|
POST
|
Aaron, Thanks. That is what I was suspecting but wasn't sure. I do have a work around as I have polygons for each shift so I can zoom to those. It would be nice to see the functionality of what I was trying to do added so I appreciate your consideration of this with your team. Mele
... View more
01-04-2018
07:41 AM
|
1
|
3
|
9710
|
|
POST
|
Aaron, That is correct, I do have Grouped Values in the Category Selector. It looks like if I change it to Features then I get each individual hydrant to select rather than all of the hydrants assigned to a shift. Is there a way to configure that so it selects all hydrants assigned to a given shift with the Features use with the Category Selector? Mele
... View more
01-04-2018
07:07 AM
|
0
|
1
|
9710
|
|
POST
|
I have an Operations Dashboard with Fire Hydrants for annual flushing that were assigned by Shift. I have added a category selector and it works to filter based on the shift. I am trying to get the map to zoom after the filter is applied. I see the subset filtered out, but it does not zoom. I have configured the map action to when selection changes on the hydrant to zoom, but am I missing something? The map does not zoom to the filtered hydrants. Thanks, Mele
... View more
01-03-2018
07:20 PM
|
8
|
18
|
18010
|
|
POST
|
I am using the ArcGIS Web AppBuilder Developer Edition 2.3 to edit a point feature class in ArcSDE 10.1. My point feature class has a related table and a relationship class. Everything seems to be working fine, but when I click on the popup appears and this shows up in the Chrome console: init.js:89 Error: Unable to complete operation. at Object.f.load (init.js:980) at init.js:87 at c (init.js:103) at d (init.js:103) at b.Deferred.resolve.callback (init.js:105) at c (init.js:104) at d (init.js:103) at b.Deferred.resolve.callback (init.js:105) at init.js:92 at h (init.js:107) v @ init.js:89 (anonymous) @ init.js:88 c @ init.js:103 d @ init.js:103 resolve.callback @ init.js:105 c @ init.js:104 d @ init.js:103 resolve.callback @ init.js:105 c @ init.js:104 d @ init.js:103 resolve.callback @ init.js:105 c @ init.js:104 d @ init.js:103 resolve.callback @ init.js:105 (anonymous) @ init.js:92 h @ init.js:107 l @ init.js:107 resolve @ init.js:109 a @ init.js:108 h @ init.js:107 l @ init.js:107 resolve @ init.js:109 a @ init.js:108 h @ init.js:107 l @ init.js:107 resolve @ init.js:109 a @ init.js:108 h @ init.js:107 l @ init.js:107 resolve @ init.js:109 n @ init.js:138 e @ init.js:142 XMLHttpRequest.send (async) h @ init.js:140 b.xhr @ init.js:92 b.rawXhrPost.b.xhrPost @ init.js:92 w @ init.js:986 e @ init.js:988 A @ init.js:994 execute @ init.js:2013 c.(anonymous function) @ init.js:1161 _queryRelatedLayer @ init.js:2123 _queryRelatedLayers @ init.js:2122 _getRelatedRecords @ init.js:2118 getComponents @ init.js:2102 startup @ init.js:2127 (anonymous) @ init.js:1167 forEach @ init.js:70 _processDijits @ init.js:1166 startupDijits @ init.js:1166 show @ init.js:1132 advice @ init.js:119 c @ init.js:118 (anonymous) @ init.js:1234 c @ init.js:103 z.then.then @ init.js:105 _showPopup @ init.js:1232 _mapClickHandler @ init.js:1230 (anonymous) @ init.js:63 (anonymous) @ init.js:644 c @ init.js:119 _fire @ init.js:1276 _fireClickEvent @ init.js:1282 (anonymous) @ init.js:63 setTimeout (async) _onClickHandler @ init.js:1281 (anonymous) @ init.js:63 In the ArcGIS Server log, I see the message 'General geodatabase error occured' with the method being 'QueryStatistics' I am using an AGOL webmap with our on premise ArcGIS Server. If I go directly into edit mode, then I don't see any errors. What is the error referring to? Thanks, Mele
... View more
12-08-2017
02:42 PM
|
1
|
1
|
2760
|
|
POST
|
I have a proxy on an HTTPS enabled server and an ArcGIS Secured service on a separate HTTPS enabled server. When I try to pass a request to the Map Service I get the error shown below The proxy works with other HTTPS requests, but not to our ArcGIS Server. I am using ArcGIS Server 10.2.2 Thanks for any suggestions on where we should look to resolve this. Mele
... View more
10-30-2017
08:37 AM
|
0
|
1
|
2132
|
|
POST
|
I am struggling with trying to use a Map Service that is created by Geoprocessing Service for it output to join to a table in another service. My map service created with routing results has a stops layer and the map service supports dynamiclayers. Another map service has a dynamic workspace with dynamiclayers enabled. I am trying to join from the map service with the Route Stops to the Map Service with the Workspace. I cannot add a dynamic workspace to the Geoprocessing Service map service in ArcCatalog or Manager so I am wondering if what I am attempting to do is even possible. The documentation on doing this is not very informative. When trying to create my dynamiclayer I get the Unable to create table for 'leftTableSource' / 'rightTableSource' dynamic dataLayer with 'id': -1. error message. Below is how I am trying to create my dynamiclayer in ArcGIS JavaScript and what is being passed to ArcGIS Server. Thanks for any assistance. I am at a dead end. Mele function addJoin(evt){
//define the layer's data source from a table
var rightTableSource = new LayerDataSource();
rightTableSource.dataSource = new TableDataSource({
workspaceId: "FireInspectWorkspaceID",
dataSourceName: "FireInspect.dbo.viewMapScheduledInspections"
});
//point to the joined Table related to specific FeatureLayer ID
var leftTableSource = new LayerMapSource({
mapLayerId: 1
});
//create a layerDataSource to storage on the fly "join" data
var joinDataSource = new JoinDataSource({
joinType: "left-outer-join",
leftTableKey: "Name",
rightTableKey: "FireInspect.dbo.viewMapScheduledInspections.ID_STRING",
leftTableSource: leftTableSource,
rightTableSource: rightTableSource
});
//query the feature layer with layerDataSource and list out all data in grid
var layerDataSource = new LayerDataSource();
layerDataSource.dataSource = joinDataSource;
joinFeatureLayer = new FeatureLayer(gpResultLayer.url + "/dynamicLayer", {
mode: FeatureLayer.MODE_ONDEMAND,
outFields: ["*"],
source: layerDataSource,
id: "datalayer"
});
map.addLayer(joinFeatureLayer);
on(joinFeatureLayer, "load", function(evt)
{
var query = new Query();
query.where = "1=1";
query.outFields = ["*"];
joinFeatureLayer.selectFeatures(query, FeatureLayer.SELECTION_NEW, function(results){
console.log(results);
})
})
} {"source":{"type":"dataLayer","dataSource":{"type":"joinTable","leftTableSource":{"type":"mapLayer","mapLayerId":1},"rightTableSource":{"type":"dataLayer","dataSource":{"type":"table","workspaceId":"FireInspectWorkspaceID","dataSourceName":"FireInspect.dbo.viewMapScheduledInspections"}},"leftTableKey":"Name","rightTableKey":"FireInspect.dbo.viewMapScheduledInspections.ID_STRING","joinType":"esriLeftOuterJoin"}}}
... View more
10-10-2017
02:27 PM
|
0
|
1
|
1249
|
|
POST
|
I have a Geoprocessing Server that creates stops and routes from an input of point features. The GP Server uses a Map Service to display the results. I am able to get the stops added as a Feature Layer from the GP Server's map service and view attributes and add graphics from the stops. What I would like to do is to join that Stops Feature Layer to a SQL table in a Map Service that has a Dynamic Workspace so that additional information on the stops can be viewed. I followed an example from GitHub, developer-support/joinDataSource_show_All_data_fromDataGrid.html at master · Esri/developer-support · GitHub but am not able to view the joined FeatureLayer's attributes. It does not look like any features are added, but it does look like the FeatureLayer is being created as I don't get any errors but something is not right because after loading the layer, I am trying to view the attributes but it shows no graphics. Am I not applying the JoinData properly? Is it possible to join from my GP Server Feature Layer to a SQL Table from a dynamic workspace in another layer? Thanks for any help solving this issue. Mele function showStopResults(results) {
//define the layer's data source from a table
var rightTableSource = new LayerDataSource();
rightTableSource.dataSource = new TableDataSource({
workspaceId: "FireInspectWorkspaceID",
dataSourceName: "FireInspect.dbo.viewMapScheduledInspections"
});
//point to the joined Table related to specific FeatureLayer ID
var leftTableSource = new LayerMapSource({
mapLayerId: 1
});
//create a layerDataSource to storage on the fly "join" data
var joinDataSource = new JoinDataSource({
joinType: "left-outer-join",
leftTableKey: "Name",
rightTableKey: "FireInspect.dbo.viewMapScheduledInspections.ID_String",
leftTableSource: leftTableSource,
rightTableSource: rightTableSource
});
//query the feature layer with layerDataSource and list out all data in grid
var layerDataSource = new LayerDataSource();
layerDataSource.dataSource = joinDataSource;
joinFeatureLayer = new FeatureLayer("http://vmascesri01:6080/arcgis/rest/services/Fire/FireInspections/MapServer/dynamicLayer", {
mode: FeatureLayer.MODE_ONDEMAND,
outFields: ["*"],
source: layerDataSource,
id: "datalayer"
});
//This function works with an array of FindResult that the task returns
map.addLayer(joinFeatureLayer);
on(joinFeatureLayer, "load", function(evt)
{
alert('!');
}
)
//create array of attributes
var items = arrayUtils.map(results, function (result) {
var graphic = result.feature;
graphic.setSymbol(marker);
map.graphics.add(graphic);
return result.feature.attributes;
});
}
... View more
10-05-2017
11:21 AM
|
0
|
0
|
881
|
|
POST
|
After adding a Parameter for the output, I know can see the Route that was created. This is all new to me so it is slow going. Mele
... View more
09-20-2017
02:47 PM
|
0
|
0
|
888
|
|
POST
|
I've created a Geoprocessing Service on ArcGIS Server 10.2.2 using the sample here C:\ArcGIS\ArcTutor\GP Service Examples\Network Analyst\ShortestRoute I have executed the GP Task from both ArcMap and directly from the REST endpoint and while in both cases ArcGIS Server tells me that the task has succeeded, I do not see any output from the GP Service. I have configured the GP Service to create a Map Service output, but don't see anything there either. Any ideas on what I need to do to see the results of my GP Server? Thanks, Mele
... View more
09-20-2017
02:17 PM
|
0
|
1
|
1082
|
|
POST
|
Finally got a GP Service to publish, but like many others here I don't have a task showing in my service. No errors, no warnings. I am publishing from ArcMap 10.4.1 to ArcGIS Server 10.2.2 I tried creating an SD file and uploading that, but still no luck. I don't think we have a 10.2.2 install of ArcMap anywhere. Any suggestions or work arounds? Mele
... View more
09-18-2017
04:45 PM
|
0
|
0
|
989
|
|
POST
|
I am using the Shortest Route Service Geoprocessing example in the tutorial data. I have changed it to use local data and routing works in ArcMap. When I try to publish it as a GeoProcessing Server, it fails and tells me that I am using data that is not registered with the server. We have disabled the ability to copy data to the server so how do I resolve this issue? I cannot tell what needs to be registered with the Server to proceed. I have reviewed the following article but it is lacking in details to assist with what I need to register http://support.esri.com/technical-article/000012592 Let me know if you have faced a similar issue and how you resolved it. Thanks, Mele
... View more
09-17-2017
12:20 PM
|
0
|
0
|
1043
|
|
POST
|
Interesting. No it is not: "portalUrl": "http://cos-gis.maps.arcgis.com",
... View more
09-13-2017
01:16 PM
|
0
|
2
|
3286
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-27-2026 09:23 AM | |
| 1 | 02-26-2026 06:47 AM | |
| 3 | 10-20-2025 05:21 AM | |
| 1 | 03-13-2015 04:39 PM | |
| 1 | 09-18-2025 08:33 AM |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|