POST
|
Using the latest 4.23 release, I am trying to override the snappingOptions of the Sketch widget in order to only show a limited number of layers to the user to select for snapping. With a regular esri/Map object, I can successfully set the featureSources as desired. However, if I load a WebMap, then setting the featureSources property on the snappingOptions has no effect and the FeatureLayers defined in the WebMap appear to always be used. Trying to clear the featureSource later (via sketch.snappingOptions.featureSources.removeAll()) appears to have no effect, either. Looking for a recommendation on how to work around this issue. Codepen demonstrating the issue: https://codepen.io/lscharen/pen/oNppGdj
... View more
04-04-2022
07:24 AM
|
0
|
0
|
246
|
POST
|
The patch to fix this issue is here: https://github.com/ionic-team/stencil-webpack/pull/9/files Go into the node_modules\@stencil\webpack\dist\index.js file and change line 14 from compiler.plugin('emit', (compilation, callback) => { to compiler.hooks.emit.tap('StencilPlugin', (compilation, callback) => { You'll need to manually tweak this each time you run npm install, unfortunately.
... View more
03-31-2022
10:16 AM
|
0
|
0
|
1440
|
POST
|
No effect. I'll work on bisecting the JSAPI versions.
... View more
03-16-2022
02:29 PM
|
0
|
0
|
653
|
POST
|
The app is built using ESM/Typescript and bundled with webpack. My understanding is that the dojo loader is not used in this case and setting the `dojoConfig` global as shown in that codepen example did not seem to have any effect. Is there an alternate way of setting that flag using ESM/TS?
... View more
03-15-2022
07:40 AM
|
0
|
0
|
1625
|
POST
|
The layers are on an ArcGIS Server, not hosted. I'll try to create a reduced test case of the application that triggers the behavior.
... View more
03-14-2022
01:43 PM
|
0
|
7
|
1655
|
POST
|
I recently updated an internal application from JSAPI 4.16 to 4.22 to evaluate the memory and performance improvements in the Feature Layers. After the update, the application first off over 2,000 requests to the various Feature Layers, which results in a load time of over 3 minutes. The volume of services requests results in several hundred returning `ERR_INSUFFICIENT_RESOURCES` from the ArcGIS Server, too. Our application loads a Webmap by ID from ArcGIS Online and creates about 20 stand-alone FeatureLayer objects that are used for querying that are not added to the map during start up. It appears that many of the requests are for the gridded query strategy (different, sequential bounding boxes) of the Feature Layers, which I can understand, but didn't expect the volume of queries or such different startup behavior from 4.16. Looking for advice on what approach I can take to isolate and control the amount of queries made by the FeatureLayer class and if there are any specific behaviors of the FeatureLayer that we should be aware of in the jump from 4.16 to 4.22 that might be exacerbating this issue. Note: I have reviewed the Breaking Changes information and the Release Notes in general, but did not pick up any anything specific from those sources.
... View more
03-14-2022
10:37 AM
|
0
|
14
|
2382
|
POST
|
I have a pre-existing, custom routing services that has been used successfully with the JSAPI 3.x for a couple of years. We are in the process of updating to JSAPI 4.x and have run into a behavior issue where the built-in Directions widget is passing parameters to the `route` endpoint that are causing an error to be returned. Specifically, the 3.x API includes "simplificationTolerance":null,
"simplificationToleranceUnits":"esriUnknownUnits" with the travelMode argument which the 4.x API does not. These parameters do not appear to be exposed in the RouteParameters object, which required more .... invasive ... methods to override. Without these travelMode parameters set, we get the following error response the the "solve" endpoint {
"error": {
"code":400,
"message":"Invalid or missing input parameters.",
"details":["The following travel mode is invalid: ..."]
}
} Any recommendations on how to finess/configure the Direction widget to work around this issue; or perhaps even change how the Network Analyst service is published to make it friendlier to the JSAPI 4.x conventions? Version Details * ArcGIS Server 10.5.1 * Network Analyst Extension 10.5.1
... View more
01-07-2022
01:42 PM
|
0
|
2
|
3984
|
IDEA
|
In support of Ideas like Version Control for WebMaps in ArcGIS Online and in conjunction with the coming support of Jupyter Notebooks as Portal Items, it would be extremely powerful if users could register Jupyter Notebooks to be used as callback hooks for a limited subset of the ArcGIS REST API. As a specific example, getting a callback from Add Item and Update Item callbacks would allow updates to a Web Map to be intercepted and automatically pushed to a git repository or similar version control system, thus opening up the ability for organizations to roll back to previous versions for critical, production items. Intercepting the Add Relationship API could allow for organization-specific security policies to be put in place beyond what is offered by the existing Role Capabilities. Tools like nbparameterise have established conventions for passing parameters into a notebook which could be leveraged in this scenario.
... View more
04-13-2018
12:23 PM
|
2
|
0
|
546
|
POST
|
Rather than creating another post, I'll bump this one up. On a fresh 10.5.1 installation I have run into the exact same issue that was very well-described in the post. Feature class owned by a 'GIS' schema named TestPoints ArcGIS Server connecting using OSA Feature class has Archiving enabled Push & Pull sync fails due to the SyncTools trying to access a "<domain\username>".TestPoints instead of GIS.TestPoints I did try one variation where I created a separate DBMS user named "AGS" and used that in a DBMS connection string rather than an OSA connection string from ArcGIS Server. The same error happened with SyncTools trying to query the AGS.TestPoints feature class. There is a passing reference in the documentation about using synchronous vs asynchronous methods for checkout that states only asynchronous methods go through SyncTools. Prepare data for offline use—Documentation | ArcGIS Enterprise Is there any way to force Collector to use synchronous methods directly against the Feature Service endpoint instead of going through SyncTools? That may be a way to work around the problem. In the interim, one can turn on "Push Only" synchronization in the Collector settings in order to avoid seeing the error in the application. The downside is that the user needs to create a new checkout in order to see any new point that others have uploaded.
... View more
12-21-2017
02:29 PM
|
0
|
0
|
1699
|
POST
|
Bingo! We had a GoDaddy intermediate bundle for IIS in p7b format that Portal was unable to import. I retrieved the .crt intermediate certificate bundle from the GoDaddy certificate Repository and was able to import that successfully. Trust is working as expected now and Portal is showing "Feature Layer" and "Tile Layer" as item options under the "Create" drop-down menu in the My Content page as expected. Many Thanks!
... View more
12-21-2017
10:36 AM
|
0
|
0
|
3507
|
POST
|
This is running 10.5.1. The errors in the log file say that the SSL certificate could not be validated, but unclear what the exact issues is. We have the same wildcard certificate installed on Portal, Server, the Data Store and the Web Adaptors. Error. sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. It seems the way to fix this is to get the right certificates into the underlying Java keystore. Not too keen on doing this manually if there's a process that I can execute at the portal level to make this work. Would un-federating and re-federating the ArcGIS Server be a way forward here? This is a test environment, so there are not too many services that would need to be re-shared.
... View more
12-21-2017
09:22 AM
|
0
|
2
|
3507
|
POST
|
I reinstalled a Relational Data Store for a Base Enterprise 10.5.1 deployment and Portal does not appear to be able to find the registered Managed Database. When loading a Portal page, it attempts to query ArcGIS Server for a list of managed databases via the Portal proxy page (<webadapter>/sharing/proxy) but the proxy is giving an HTTP 500 error. Trying to load the proxy page directly in a browse shows a 403 tomcat error page. Stripping the proxy and attempting to query the ArcGIS Server REST endpoint directly returns the expected result Looking for any suggestion on resolving this problem.
... View more
12-18-2017
09:33 PM
|
0
|
4
|
6097
|
POST
|
Yes! It's running on an m3.large and I *think* it was stood up using the Esri AMI originally.
... View more
12-11-2017
09:06 AM
|
0
|
1
|
839
|
POST
|
Rob, Esri support did confirm the lack of SNI support in the ArcGIS Server proxy and filed BUG-000106097. It is listed as fixed in 10.6. BUG-000106097: A proxy call within ArcGIS GIS Server does not suppo..
... View more
12-11-2017
07:38 AM
|
0
|
0
|
2830
|
Title | Kudos | Posted |
---|---|---|
1 | 06-13-2017 10:02 AM | |
1 | 01-04-2017 07:28 AM | |
1 | 11-29-2016 02:29 PM | |
2 | 04-13-2018 12:23 PM | |
5 | 10-17-2016 12:45 PM |
Online Status |
Offline
|
Date Last Visited |
04-04-2022
10:14 PM
|