POST
|
Issue with ExtractData task. I have published a GP tool with the out of the box ExtractData . The tool runs fine in ArcGIS pro and Iam able to publish the tool and in the JavaScript Iam able to use the submitJob to submit my job and get the output. I have got features in two different coordinate systems like GDA2020 and GCS_GDA_1994. The submitjob works fine when we pass the features in same coordinate system to the Layers_to_Clip input parameter. If we pass the features in different coordinate system to the Layers_to_Clip input parameter the the job fails with the message esriJobMessageTypeError: ERROR 000840: The value is not a String. ERROR 000840: The value is not a String. For instance suppose that Layer1 is in GDA2020 and Layer2 is in GCS_GDA_1994 For the Layers_to_Clip parameter if we pass just ["Layer1"] or just ["Layer2"], then the job runs fine without any issues. But if we pass the combination like ["Layer1","Layer2"] as the value for the Layers_to_Clip parameter, then the submitJob fails with the error esriJobMessageTypeError: ERROR 000840: The value is not a String. ERROR 000840: The value is not a String. We are using ArcGIS pro 2.5.0 and ArcGIS enterprise 10.7 Can some one tell me id this is a known issue or how it can be resolved?
... View more
09-17-2020
05:53 PM
|
0
|
0
|
238
|
POST
|
Iam trying to use the Print API of ArcGIS Javascript API 3.29 to print the map with the legend. Iam having issues in the output that is generated. My actual layers have legends like But in the output print I get the following incorrect legend I cannot see the names of the layers like Layer1 and Layer2. Is this a bug or am I missing anything. We are currently using the ArcGIS 10.4. Following is the snippet of the code Iam trying to use. var legendLayer = new LegendLayer(); legendLayer.layerId = fireLayer.id; legendLayer.subLayerIds = [189,188,187]; var legendLayer1 = new LegendLayer(); legendLayer1.layerId = taturaLayer.id; legendLayer1.subLayerIds = [3,7]; // create a print template for each choice templates = arrayUtils.map(templateNames, function(ch) { var plate = new PrintTemplate(); plate.layout = plate.label = ch; plate.format = "PDF"; plate.layoutOptions = { "authorText": "Made by: Esri's JS API Team", "copyrightText": "<copyright info here>", "legendLayers": [legendLayer,legendLayer1], "titleText": "Test legend", "scalebarUnit": "meters" }; return plate; }); // create the print dijit app.printer = new Print({ "map": app.map, "templates": templates, url: app.printUrl }, dom.byId("print_button")); app.printer.startup(); } Did any one have similar problem and was it resolved? Also Observed that when we add polygon layer with no fill as a FeatureLayer and take the print, then in the legend sometime we get the title like graphicsLayer2 and in some cases we get the layer name in the legend but no graphic is displayed. If we add the layer as ArcGISDynamicMapServiceLayer and take the print , then the legend comes fine. Can some one let me know where the issue is?
... View more
07-31-2019
11:51 PM
|
0
|
0
|
512
|
POST
|
Thanks Bjorn. I have downloaded the chrome beta version 71 and now the layer seems to be rendering properly.
... View more
11-28-2018
04:35 PM
|
1
|
1
|
1416
|
POST
|
We are currently using ArcGis JavaScript API version 3.18 in one of the web portals that we have customized. The layers in the file got rendered properly in the google chrome versions 69 and below. Two days back we have updated the Google chrome to version 70 and from that time the feature layers are not getting rendered properly when we zoom in. When we zoom in to the layers to a lower scale the layer features gets rendered at a different location and when we pan in the map viewer it gets displayed to correct position. This seems to be happening to the feature layers with bigger polygons. The lines feature layers seem to be rendering fine. We are using ArcGIS server 10.4 This issue does not occur in the IE version 11.1593.14393.0 Have any one encountered this issue of late? What is the possible solution?
... View more
10-25-2018
08:53 PM
|
1
|
8
|
2111
|
Title | Kudos | Posted |
---|---|---|
1 | 11-28-2018 04:35 PM | |
1 | 10-25-2018 08:53 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:25 AM
|