|
POST
|
Hi there, You can use client-side FeatureLayer to achieve this if all the features have same geometry and same attributes. Please take a look at the following two sample how to create client-side FeatureLayer. You can create array of graphics before you create the new FeatureLayer and set the source to point those graphics. This sample shows how to create a client-side FeatureLayer from array of graphics. https://developers.arcgis.com/javascript/latest/sample-code/layers-featurelayer-collection/ Then you can add and remove graphics from your client-side layer using applyEdits method. This sample show how to add, remove graphics from your client side graphics at runtime: https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=layers-featurelayer-collection-edits FeatureLayer.source document has additional info: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#source
... View more
04-21-2022
09:18 AM
|
0
|
0
|
2467
|
|
POST
|
Hi there, You can display attributes of one layer at a time in a FeatureTable. You can change FeatureTable.layer property at runtime to point to the desired table. This simple codepen app shows you how to change the FeatureTable.layer at runtime by changing the layer names from a drop down. Hope this helps, -Undral
... View more
04-20-2022
04:10 PM
|
1
|
1
|
2481
|
|
POST
|
Hi there, Both FeatureLayer.outFields and Query.outFields expect string of arrays. Query.outFields accepting string of field names is not supported in the JS API and is working accidentally. 🙂
... View more
04-20-2022
03:46 PM
|
0
|
0
|
1270
|
|
POST
|
Hi there, Thank you for reporting this issue and steps to reproduce it. We did lots of work at 4.23 to add support for switching spatial reference of the MapView at runtime. Unfortunately, it appears that we introduced this issue. We will get it fixed as soon as possible and will let you know once we install a fix. In meantime, you can keep using your workaround. -Undral
... View more
04-20-2022
09:22 AM
|
1
|
0
|
1827
|
|
POST
|
Hi there, The GraphicsLayer should update without you having to do anything additional. Which version of the 4.x api are you using? Do you have a reproducible case? Thanks,
... View more
04-13-2022
01:58 PM
|
0
|
0
|
1339
|
|
POST
|
Hi @PaulAtay, I responded to you here: https://community.esri.com/t5/arcgis-api-for-javascript-questions/v4-23-featurelayer-applyedits-return-type/m-p/1160159#M76895. Can you please test again and let me know? Thanks, -Undral
... View more
04-11-2022
10:26 AM
|
0
|
0
|
980
|
|
POST
|
Hi there, There was a typings issue which we fixed. Can you please test again and let me know if you are still getting an error? Thanks, -Undral
... View more
04-11-2022
10:23 AM
|
0
|
1
|
2228
|
|
POST
|
Hi there, Looks like you are missing the dashes (-) from the placement strings. They should should be `bottom-right`. You can find the placement strings here: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-ui-DefaultUI.html#add
... View more
04-07-2022
12:42 PM
|
1
|
0
|
2792
|
|
POST
|
Hi there, This issue will be fixed tomorrow in version 4.23. Can you please try it then and update us whether it fixes your issue? Thank you,
... View more
03-25-2022
09:41 AM
|
0
|
1
|
2327
|
|
POST
|
Hi there, Thanks for letting me know. Please mark this issue as solved.
... View more
03-25-2022
08:08 AM
|
0
|
0
|
3433
|
|
POST
|
Hi there, Thank you reporting this issue. Our developer was able to narrow down the issue. We will get it fixed as soon as we can. We will update you once it is installed.
... View more
03-24-2022
02:14 PM
|
0
|
0
|
2353
|
|
POST
|
Hi there, The fix will be available tomorrow (3/25/2022). Can you please try it again tomorrow and let me if it is not working? Thanks
... View more
03-24-2022
08:17 AM
|
0
|
2
|
3443
|
|
POST
|
Hi @YingwenDeng, Just want to let you know that we fixed this issue at version 4.23 which will be released on 3/23/2022. -Undral
... View more
03-22-2022
06:54 PM
|
0
|
2
|
3465
|
|
POST
|
Hi @DylanOlin1, Just want to let you know that we fixed this issue at version 4.23 which will be released on 3/23/2022. -Undral
... View more
03-22-2022
06:53 PM
|
0
|
0
|
1326
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 11-17-2025 03:29 PM | |
| 1 | 07-09-2025 08:48 AM | |
| 2 | 07-08-2025 08:09 AM | |
| 2 | 07-07-2025 03:57 PM | |
| 1 | 06-11-2025 03:25 PM |
| Online Status |
Offline
|
| Date Last Visited |
12-01-2025
08:03 AM
|