POST
|
Yes we did the same. But I found a better way eventually. We created a separate login page and wrote a code for login there itself.
... View more
02-01-2018
06:19 PM
|
1
|
2
|
4006
|
POST
|
My bad, I was trying it with map service. I changed it too feature service and it is working now. Just need to apply for situation awareness widget now, somehow it doesn't take the filtered layer for query.
... View more
01-11-2018
09:59 PM
|
0
|
0
|
3004
|
POST
|
It is giving undefined. Sorry for the late response. Somehow Geonet service was down.
... View more
01-11-2018
09:05 PM
|
0
|
1
|
3004
|
POST
|
This is the code I've written var layers = this.map.getLayersVisibleAtScale(this.map.getScale()); array.forEach(layers, function (layer) { if (layer.id == 'Spills_map_series_3947') { layer.setDefinitionExpression("County='KING'"); layer.refresh(); } }); But I'm getting an error as attached
... View more
01-11-2018
07:40 AM
|
1
|
0
|
3004
|
POST
|
but how to put where clause on the layer already added on web map and refresh it?
... View more
01-11-2018
06:56 AM
|
0
|
2
|
3004
|
POST
|
I want to refresh it based on where clause, this will change based on user selection.
... View more
01-11-2018
06:52 AM
|
0
|
4
|
3004
|
POST
|
Hi, I have a web map with a accident layer added. I have created web app builder application with this web map. I have following widgets: 1) Layer List 2) Situation Awareness 3) Near Me 4) Info Summary I have a custom widget for date selection. There is a date field in my accident layer. I want to refresh this layer which is already added on map based on the date filter. Hoping for the positive response. Regards, Akshay Loya
... View more
01-11-2018
06:12 AM
|
1
|
9
|
4104
|
POST
|
I need to do this on the model builder. I have spatial analyst extension.
... View more
11-13-2017
06:44 PM
|
0
|
0
|
702
|
POST
|
Hi, I have a slope file in degrees. I have a polyline feature class. I want to intersect/overlay both of them and need to get values in the following format. Slope % of line 0-15 44.33 15-20 44.33 20-30 44.33 30-40 44.33 Above 40 44.33 How to achieve this on ArcMap? My second question is, I have a feature class with attribute table as below Object ID distance shape_length 1 1 122 2 2 134 3 5 150 Now I have an empty table as below. I need to pass above values to this table using model builder. How can we achieve this? Object ID Agri Km Distance 1 distance 2 distance 5 1 20 122 134 150
... View more
11-13-2017
08:52 AM
|
0
|
3
|
786
|
POST
|
It returns a table and a feature class. No warnings or issues in the logs. I'd checked that.
... View more
11-10-2017
10:51 PM
|
0
|
1
|
855
|
POST
|
Hi Robert, I understand the pain. Sorry for that name confusion. It is a polyline. Secondly, I have just one param which is a result set for that I'm simply passing my result from a query as mentioned above and spatial reference is the same as my data, so I don't see a problem there.
... View more
11-10-2017
07:57 AM
|
0
|
3
|
855
|
POST
|
Hi Robert, I was trying with another coordinate system but anyway it doesn't have any impact on the result. I still get 0 features as result. and result.features[0].geometry is my result which I getting from fetching route data using query. I'm passing this to my GP service for the Parameter value.
... View more
11-10-2017
12:46 AM
|
0
|
5
|
855
|
POST
|
I have developed a geoprocessing service as below. I'm then consuming it in web app builder with following code: var lineSymbolQuery = new SimpleLineSymbol( SimpleLineSymbol.STYLE_DASH, new Color([255, 0, 0]), 3); this.geometryService = new GeometryService(this.config.queryLayer.geomService); var params1 = new ProjectParameters(); params1.geometries = [result.features["1"].geometry]; var outSR1 = new esri.SpatialReference({ wkid: 32646 }); ///because my data is in this spatial reference params1.outSR = outSR1; this.geometryService.project(params1, lang.hitch(this, function (projectedPoints) { projectedPoints; var LARService = new Geoprocessor("http://tech.com/arcgis/rest/services/sterlite/LARModel/GPServer/Model"); LARService.setOutSpatialReference(outSR1); /*var inputProfileGraphic = new Graphic(result.features["0"].geometry, null, { OID: 1 });*/ var clickPointGraphic = new Graphic(result.features["0"].geometry, lineSymbolQuery); var inputLineFeatures = new FeatureSet(); inputLineFeatures.features = [clickPointGraphic]; var params = { "Route": inputLineFeatures }; LARService.execute({ params }).then(lang.hitch(this, function (results) { results; })); This model works completely fine on ArcMap but I get a null result when I execute through web app builder. Can someone please help me understand where I'm going wrong. Thanks in advance.
... View more
11-09-2017
07:56 AM
|
0
|
7
|
972
|
POST
|
Didn't understand the part of using local raster? How to do that?
... View more
10-30-2017
07:15 AM
|
0
|
0
|
1155
|
Title | Kudos | Posted |
---|---|---|
1 | 02-01-2018 06:19 PM | |
1 | 08-03-2022 10:17 PM | |
1 | 01-11-2018 07:40 AM | |
1 | 01-11-2018 06:12 AM | |
1 | 08-28-2017 02:59 AM |
Online Status |
Offline
|
Date Last Visited |
06-26-2023
01:44 PM
|