|
POST
|
Hello, Is there any working example for extending a class with mixin ? According to the documentation, "Extending multiple classes is deprecated at 4.13". So I try to migrate a class extending accessor and evented. I used to have this piece of code in my class: Implementing Accessor | ArcGIS API for JavaScript 4.13 import Evented = require("dojo/Evented"); import Accessor = require("esri/core/Accessor"); import { subclass, declared } from "esri/core/accessorSupport/decorators"; interface Collection extends Evented {} @subclass("esri.guide.Collection") class Collection extends declared(Accessor, Evented) { } But following the new example, I don't quite understand: Implementing Accessor | ArcGIS API for JavaScript 4.13 I do not wan't to define my own "emit" and "on" functions but rather use the one from dojo evented. To me both examples are not equivalent. It would be nice to have a more detailed example ! Thanks
... View more
12-14-2019
03:05 AM
|
0
|
6
|
3550
|
|
POST
|
Hello, From time to time, a public webapp is prompting for password though all the ressources are shared publicly. Network tab shows a "499 error, Token required", but after a refresh everything works fine and no login popup is displayed. The webapp consumes both hosted data (from a hosted ArcGIS Server) and non-hosted data (from a federated ArcGIS Server) but the issue seems to occur only on non-hosted data that is to say data coming from the federated ArcGIS Server. Having a look at the log from this ArcGIS Server, I have the following error: Failed to return the service configuration 'MyFolder/MyService.MapServer'. Could not connect to the ArcGIS component at URL 'https://portalforarcgishost.company.com:7443/arcgis/sharing/rest/content/items/794480bd54ds116beefd6bba59bfa'. The ArcGIS component on that machine may not be running or the machine may not be reachable at this time.Error: Connect to portalforarcgishost.company.com:7443 [portalforarcgishost.company.com/100.200.300.400] failed: connect timed out This service is configured with a referenced file geodatabase located on a volume attached to the VM so data are rather "local" so I am surprised by this timeout. Any idea ? Thanks !
... View more
12-05-2019
03:31 AM
|
0
|
2
|
1701
|
|
POST
|
Was the symbology a unique renderer based on that field ? I am under the impression that "contains" is not available if the symbology is made on that field. Too bad...
... View more
11-20-2019
11:26 PM
|
0
|
0
|
650
|
|
IDEA
|
I have a use-case to publish lots of Points of Interest (POI) at various scales and I would have loved to be able to have a single hosted feature layer with symbol displayed according to the scale range defined in ArcGIS Pro: Scale-based symbol classes—ArcGIS Pro | Documentation It's pretty much like Google Maps displays POIs. But unfortunately I can't as it is not supported. There are various workaround but they have drawbacks: - use a MapImageLayer: yes, but then POI won't rotate with the map => not very pretty - use a VectorTileLayer: yes, but I would like pop-up as well - use several FeatureLayers with a different visibility scale for each: yes, but then I have to update the pop-up arcade display and labels for every layers whenever a change is made and then far too many requests are made when navigating. Please let me know if you have another workaround I did not think about. I believe it could be easily implemented with the great JS 4.X API client side capabilities and it would be a nice new feature. Thanks for listening !
... View more
11-20-2019
05:54 AM
|
2
|
1
|
1269
|
|
IDEA
|
I have a use-case to publish lots of Points of Interest (POI) at various scales and I would have loved to be able to have a single hosted feature layer with symbol displayed according to the scale range defined in ArcGIS Pro: Scale-based symbol classes—ArcGIS Pro | Documentation It's pretty much like Google Maps displays POIs. But unfortunately I can't as it is not supported. There are various workaround but they have drawbacks: - use a MapImageLayer: yes, but then POI won't rotate with the map => not very pretty - use a VectorTileLayer: yes, but I would like pop-up as well - use several FeatureLayers with a different visibility scale for each: yes, but then I have to update the pop-up arcade display and labels for every layers whenever a change is made and then far too many requests are made when navigating. Please let me know if you have another workaround I did not think about. I believe it could be easily implemented with the great JS 4.X API client side capabilities and it would be a nice new feature. Thanks for listening !
... View more
11-20-2019
05:54 AM
|
2
|
0
|
601
|
|
IDEA
|
I have a use-case to publish lots of Points of Interest (POI) at various scales and I would have loved to be able to have a single hosted feature layer with symbol displayed according to the scale range defined in ArcGIS Pro: Scale-based symbol classes—ArcGIS Pro | Documentation It's pretty much like Google Maps displays POIs. But unfortunately I can't as it is not supported. There are various workaround but they have drawbacks: - use a MapImageLayer: yes, but then POI won't rotate with the map => not very pretty - use a VectorTileLayer: yes, but I would like pop-up as well - use several FeatureLayers with a different visibility scale for each: yes, but then I have to update the pop-up arcade display and labels for every layers whenever a change is made and then far too many requests are made when navigating. Please let me know if you have another workaround I did not think about. I believe it could be easily implemented with the great JS 4.X API client side capabilities and it would be a nice new feature. Thanks for listening !
... View more
11-20-2019
05:54 AM
|
1
|
1
|
832
|
|
POST
|
Hello, I am trying to force the Editor widget to create polygon as rectangle rather than a free polygon but I can't figure out how to do so. The sketch widget does have an "availableCreateTools" property but it seems like the editor widget is ignoring it: Codepen Am I doing anything wrong ? Any workaround if not possible ? Many thanks,
... View more
10-31-2019
05:05 AM
|
0
|
0
|
721
|
|
POST
|
Has anyone tried using the HTML configured pop-up from ArcGIS Online in a webmap displayed with the 4.X API ? var webmap = new WebMap({ portalItem: { id: "e691172598f04ea8881cd2a4adaa45ba" } }); I am under the impression that the HTML is overwritten. Is it an unsupported workflow ?
... View more
10-02-2019
07:23 AM
|
0
|
0
|
3406
|
|
POST
|
Oups, apologize for my late reply, I missed that question. I did find a workaround. The idea is to push your locator in the directionSources property, disable searchAll setting in the Directions widget by setting "searchAllEnabled" property to false and by specifying that the source "activeSourceIndex" is 0. Here is a snippet: /* Directions configuration */ const directionSources = new Collection<LocatorSearchSource>(); directionSources.add( new LocatorSearchSource({ locator: new Locator({ url: "https://company.com/arcgis/rest/services/Adresses/GeocodeServer" }), singleLineFieldName: "ZIPCode", placeholder: "33 ESRI Road", outFields: ["Addr_type"], name: "CustomLocator" }) ); this.directionsWidget = new Directions({ view, routeServiceUrl: "https://company.com/arcgis/rest/services/Network/NAServer/Route", searchProperties: { sources: directionSources, searchAllEnabled: false, activeSourceIndex: 0 } }); Hope that help
... View more
10-01-2019
10:04 AM
|
0
|
0
|
1333
|
|
POST
|
#Duplicate: https://community.esri.com/thread/237557-search-widgetauto-navigate#comment-869293 (with workaround) https://community.esri.com/thread/237920-robert-scheitlin
... View more
09-14-2019
05:09 AM
|
0
|
0
|
885
|
|
POST
|
Hello, I just upgraded an application from JS API 4.11 to 4.12 and I noticed that in sceneView, the search with featureLayerSource does not work anymore and following error is logged: [esri.views.3d.state.ViewStateManager] #goTo() Failed to create camera from target, no layerview has been found for the layer Codepen: https://codepen.io/asasdsfd/pen/xxKJxKd If you switch to 4.11, it works. Would love to be able to upgrade since the new 4.12 vector tiles performance improvement Thanks !
... View more
09-13-2019
11:19 PM
|
0
|
1
|
955
|
|
POST
|
Thanks for the reply Jonathan Quinn. Indeed, just contacted Tech Support and here is the NIM: "BUG-000124867: When attempting to download a managed map area in Collector for ArcGIS, the download fails due to an error that occurs between ArcGIS Server and the ArcGIS Web Adaptor replica access" Workaround: "Add the layers associated with the map to Portal for ArcGIS through the :6443/arcgis/rest URL instead of the Web Adaptor URL."
... View more
09-02-2019
08:18 AM
|
0
|
0
|
1998
|
|
POST
|
Hi Jonathan Quinn, FYI, the following bug has been logged regarding the issue I face with the hostname.properties file being overwritten because my VM is hosted on Openstack private cloud: BUG-000124901 - "When deploying ArcGIS Enterprise to a Private Cloud, the AgsStartupPlugin treats the VM as an EC2 instance"
... View more
09-02-2019
06:40 AM
|
0
|
0
|
2402
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 4 weeks ago | |
| 2 | 04-15-2026 05:06 AM | |
| 1 | 04-13-2026 05:53 AM | |
| 1 | 03-16-2026 05:50 AM | |
| 1 | 09-09-2025 05:56 AM |