|
POST
|
I see...I thought you were using the widget, but you're actually using the map component. I'm afraid I don't presently have any further advice in that case.
... View more
10-14-2025
10:04 AM
|
0
|
0
|
409
|
|
POST
|
Yes, you can use the undocumented method "_zoomToClicked" to simulate a click on the "Zoom to" button: floorFilter._zomToClicked(); Note that because this is an undocumented feature, it may be changed or removed in a future version of the SDK without notice.
... View more
10-09-2025
10:06 AM
|
0
|
2
|
450
|
|
POST
|
You will likely get better results if you use the fromJSON method of the esri/renderers/support/jsonUtils module instead.
... View more
10-09-2025
09:48 AM
|
1
|
0
|
522
|
|
POST
|
I will answer #2 up front - yes, you can enable this for all layers in your application. In order to do so, add the following before loading the SDK (e.g. in your codepen, I added it between lines 8 and 9): <script type="text/javascript">
window.esriConfig = {
has: {
"featurelayer-advanced-symbols": true
}
};
</script> Moving to #3, no, there's no official documentation I know of for this, including even the ability to add these flags (see also this post). As a result, I can't answer #1 either. As for #4, the best I can offer is to try it out and see what happens...
... View more
10-08-2025
01:56 PM
|
2
|
2
|
568
|
|
POST
|
This statement is somewhat ambiguous: "I have updated the JSON definition of the layer to return a max record count of 5000". If that's something you've done on the client-side, I could see why it may not make a difference. Client-side queries will be constrained no matter what by the maximum allowed by the service being queried. For example, this layer used by one of the samples has a "Max Record Count" of 1000, and nothing can be done on the client-side to override that. If you have control of the service in question, and have configured the max to your liking, then it must be a different issue. If so, checking the Search component's maxResults property, or the LayerSearchSource object's maxResults property might be a good place to start.
... View more
10-07-2025
04:28 PM
|
0
|
1
|
249
|
|
POST
|
I've not done this with Portal, but I have with ArcGIS Server, and I suppose the differences would be marginal. Once published to either, I suspect that the piece on the client side would be pretty much the same as well: Create a PrintTemplate object set with the name of your layout in the layout property. Create a PrintParameters object with the template property set to the object created in step 1. Use the print module to execute a request using the object created in step 2.
... View more
10-07-2025
09:47 AM
|
0
|
0
|
336
|
|
POST
|
You might be looking for this: https://developers.arcgis.com/javascript/latest/references/map-components/ I suppose it would typically be arrived at by going to the ArcGIS Maps SDK for JavaScript documentation, clicking "References" near the top-right, and then clicking the Map Components tile.
... View more
10-06-2025
05:56 PM
|
2
|
0
|
1040
|
|
POST
|
You said "I've tried [...] falsely associating the graphic with the target layer via its layer property", so I assume you have something like this: graphic.layer = layer; Perhaps try with this additional line: graphic.layer = layer;
graphic.sourceLayer = layer; Note that sourceLayer is an undocumented property, and could be changed or removed in a future release without notice, so use at your own risk.
... View more
10-02-2025
01:14 PM
|
1
|
1
|
514
|
|
POST
|
As seen in the documentation, point objects don't have an extent (the value of their extent property is null). You might want to built a single MultiPoint object from the points returned by your query and zoom to it instead.
... View more
08-21-2025
05:40 PM
|
0
|
0
|
1746
|
|
POST
|
The 4.27 AMD implementation is esri/widgets/Directions; the 4.33 documentation is here, and although doesn't mention the AMD syntax, AMD is supported in 4.27 and should still be largely (if not completely) the same (that is, the properties and methods documented in 4.33 probably haven't changed much since 4.27).
... View more
08-11-2025
04:29 PM
|
1
|
0
|
601
|
|
POST
|
The absence of a method in the SDK to generate a JSON object in webmap specification appears intentional. Are you needing the map information in the webmap JSON format, or would perhaps something similar suffice? I ask because it's fairly easy to get hold of a web_map_as_json object generated by the print module and used as input to the printing service. It's not the same as the webmap specification, but includes much of the same info.
... View more
07-25-2025
04:50 PM
|
1
|
0
|
605
|
|
POST
|
Also reported here as well...looks like it will be resolved soon.
... View more
07-23-2025
09:24 AM
|
1
|
0
|
458
|
|
BLOG
|
@Noah-Sager The download for 4.33 appears to be just another file for 4.32. For example, all of the js files have the line: // See https://js.arcgis.com/4.32/esri/copyright.txt for details. (note the "4.32" in the path), and many of the files reported to be added in 4.33 are not present. Could you please look into this?
... View more
07-21-2025
11:14 AM
|
1
|
0
|
1280
|
|
POST
|
That's not a bad idea...you could extend that workaround to include validation like so: var featureLayer = new FeatureLayer({
//etc
});
featureLayer.originalApplyEdits = featureLayer.applyEdits;
featureLayer.applyEdits = function(edits, options) {
var errorMessage = null;
//validate the values in the edits object; if validation fails, set a string value to the errorMessage variable, for example:
/*
if (edits.addFeatures[0].attributes.name === "")
errorMessage = "Name - value required";
*/
if (typeof errorMessage == "string")
return Promise.reject(new Error(errorMessage));
else
return this.originalApplyEdits.apply(this, arguments);
};
... View more
07-21-2025
10:02 AM
|
0
|
0
|
799
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-31-2026 02:34 PM | |
| 1 | 12-09-2025 09:35 AM | |
| 2 | 12-09-2025 09:06 AM | |
| 1 | 11-26-2025 12:29 PM | |
| 3 | 11-26-2025 09:11 AM |