|
POST
|
Hi @ShellyM, this is an interesting question. I'm not sure off the top of my head, but I think we should try to simplify the workflow to narrow down the issue. Below is a simple JavaScript app that uses one featureLayer with a definitionExpression as the source for a Search widget. Can you try with your data and confirm if this works as expected? test-app https://codepen.io/noash/pen/MWpjdvv?editors=1000
... View more
05-18-2021
08:44 AM
|
0
|
1
|
7329
|
|
POST
|
Hi @SurendranNeelakantan, thanks for the question. We have this sample in the SDK that sounds like what you're looking for (and has a sandbox mode): https://developers.arcgis.com/javascript/latest/sample-code/sceneview-screenshot/ And here is a blog that has some really good tips and tricks about working with Screenshots: https://community.esri.com/t5/arcgis-configurable-apps-blogs/screenshots-with-the-arcgis-api-for-javascript-html2canvas/ba-p/904367
... View more
05-13-2021
08:29 AM
|
0
|
0
|
2270
|
|
POST
|
Glad to hear it, and you're quite welcome. Feel free to mark the solution so other users know the question has been answered.
... View more
05-10-2021
01:42 PM
|
0
|
0
|
5252
|
|
POST
|
Hi @rogenjh, this is a good question. It looks like we can use watchUtils to wait until the formats are ready, since formats now starts empty. Code snippet with just BASEMAP and XY: watchUtils.whenOnce(ccWidget, "formats.length", () => {
ccWidget.formats = ccWidget.formats.filter(f => {
return f.name === "xy" || f.name === "basemap"
});
}); test-app with just BASEMAP and XY: https://codepen.io/noash/pen/XWMmmza?editors=1000
... View more
05-10-2021
11:17 AM
|
3
|
4
|
5256
|
|
POST
|
Hi @AmarG1, give the credit to @mgeorge. We hope to have this fixed at a future release, but will update this thread once we have more details to share.
... View more
05-10-2021
09:57 AM
|
0
|
1
|
9794
|
|
POST
|
The first error you see when loading the app is: Uncaught (in promise) ReferenceError: facilities is not defined So we need to get the locations of the features into a facilities variable. There is some good doc to go through here: https://developers.arcgis.com/documentation/mapping-apis-and-services/routing/closest-facility-routing/ I can take a closer look next week as well.
... View more
05-07-2021
11:47 AM
|
0
|
0
|
2717
|
|
BLOG
|
Hi @JoelBennett, we apologize for the inconvenience. The updated ETA for the 4.19 download is Thursday, May 13.
... View more
05-07-2021
10:40 AM
|
2
|
0
|
2259
|
|
POST
|
Hi @JohnPaulAlbana, can you post a link to an app that reproduces this issue? On something like Codepen would be great. You can omit the apiKey if you are using one. Then I can investigate further.
... View more
05-07-2021
10:28 AM
|
0
|
1
|
2728
|
|
POST
|
You might have more luck using the SearchViewModel for this workflow: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html
... View more
05-07-2021
09:09 AM
|
0
|
0
|
766
|
|
POST
|
Hi @AmarG1, can you describe the issue in more detail? I ran your app in Codepen, and when I add the 9 features, they seem to display fine: https://codepen.io/noash/pen/LYxwKGP?editors=1000
... View more
05-03-2021
03:33 PM
|
0
|
3
|
9818
|
|
POST
|
Hi @HenryKo2, I think the issue you are seeing is because MapImageLayer uses SQL for the labelExpression: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-LabelClass.html#labelExpression Whereas FeatureLayer uses Arcade for the labelExpressionInfo: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-LabelClass.html#labelExpressionInfo Arcade: https://developers.arcgis.com/arcade/function-reference/ test-app to see it in action (concatenating labels with a FeatureLayer): https://codepen.io/noash/pen/yLgmwxZ?editors=1000
... View more
05-03-2021
12:35 PM
|
0
|
2
|
2566
|
|
POST
|
Hey @LouisCoetzee, thank for the question. Currently, there are two ways you can use an apiKey with the Search widget. As of 4.18, you can use a global apiKey with esriConfig, which will work with the Search widget, and any other widget or basemap that requires an apiKey. Example based on your app: https://codepen.io/noash/pen/yLgmRWK?editors=1000 At 4.19, you can also use a finely-grained apiKey on the LocatorSearchSource property of the Search widget. Example based on your app: https://codepen.io/noash/pen/bGgXmZq?editors=1000 More information about apiKeys in general can be found here: https://developers.arcgis.com/javascript/latest/release-notes/#api-keys
... View more
05-03-2021
09:13 AM
|
0
|
1
|
1474
|
|
POST
|
Hi @Phenom, thanks for the question. Currently, this is not possible. However, this is on our labeling roadmap and we hope to have this functionality at a future release.
... View more
04-30-2021
08:06 AM
|
0
|
1
|
4048
|
|
POST
|
I can reproduce the issue now. Unfortunately, because this is such a large app, it is difficult to diagnose the cause. I recommend trying to create a simplified reproducible test app that demonstrates the issue with minimal code. Also, since this app does not appear to use the ArcGIS API for JavaScript, there is not much assistance I can offer here. This space is more for people using the ArcGIS API for JavaScript. Other spaces might be more useful for generic REST API or programming questions. Here is an example of using the ArcGIS API for JavaScript with a map, popup, and table interactions: https://developers.arcgis.com/javascript/latest/sample-code/widgets-featuretable-popup-interaction/
... View more
04-27-2021
09:35 AM
|
0
|
1
|
1370
|
|
POST
|
I think the assumption here is that bulk geocoding is always a pay service.
... View more
04-27-2021
08:53 AM
|
2
|
0
|
2726
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-25-2026 07:29 AM | |
| 1 | 07-01-2026 08:08 AM | |
| 1 | 04-14-2026 11:59 AM | |
| 1 | 05-13-2026 10:29 AM | |
| 1 | 04-10-2026 09:11 AM |
| Online Status |
Online
|
| Date Last Visited |
3 hours ago
|