POST
|
Hi Since I asked the question I got it working. (The leaflet side definitely 100%) I'm working on an intermittent dojo require(["dojo/ready"] issue that fail to load my own custom dojo package that use the ESRI JS API. The times that my dojo package loads, both map frameworks work with two maps on the same page. Dont ask me to explain why one would do that... 🙂 The order of references are important it seems. I will give a complete example once it got my loading issue resolved, just to make sure its not related. Just an update
... View more
3 weeks ago
|
0
|
0
|
73
|
POST
|
When I reference/include both https://unpkg.com/esri-leaflet@3.0.4/dist/esri-leaflet.js and js.arcgis.com/4.19 into a shared html layout template (templates is used in two separate map pages ), the inclusion of the ESRI JS replace L.esri with something else. Are there a way to use different global names for the two packages? Else I will duplicate my layout template. Any advice would be much appreciated.
... View more
3 weeks ago
|
0
|
2
|
154
|
POST
|
Did you got this working TulioTrivino? I have the same issue with a tile layer. The weird thing is that if I use the Tile layer url as part of a published ArcGIS Server print service, the print service know what to do and generate an image. So obviously it must be possible, but "/MapServer/export?" request. Any help will be appreciate
... View more
01-24-2024
11:02 PM
|
0
|
0
|
96
|
POST
|
I have access to a ArcGIS Tiled Service that is secured and hosted by/on AGOL. My own AGOL organizational account (SSO Azure AD + 2FA) have access to it and I see the content item and associated URL. The usage pattern is then to register the URL as a new item type of URL in our organization, supply the credentials and then share it within the organization. This registration fail with the Azure AD 2FA account, but work with none-AD local AGOL accounts. Are there a work around or simply not possible / allowed? Any feedback would be much appreciated.
... View more
10-03-2022
12:20 AM
|
0
|
0
|
168
|
POST
|
How to get over a very high wall 🙂 The request that I have issues with are generated by the WAB Dev Edition Query widget, so I ask the question here - but technically the problem is not limited to WAB. I have a WAB application deployed on an public facing server. It use the ArcGIS proxy application to pass request to ArcGIS Portal from the DMZ to the internal private server. No problems there. The issue that I have is that some Query requestedts gets being blocked. I identfied two scenariois. 1) When the "where" parameter use 1=1. 2) When the "where" parameter use UPPER([myFieldname]) Like xyz for reference: https://help.fortinet.com/fweb/571/Content/FortiWeb/fortiweb-admin/syntaxbased_sqli_detect.htm The first scenario I can work around by changing the source of the standard query widget to use [myobjectidfield] > 0 instead The second scenario I cant get around without losing functionality / % of matching is lower. or customise the proxy & query widget code so that in combination it use known request formats that gets mapped in the proxy code to the correct format. Dont think it is the right solution though. So the question is - how do other people fight the battle with Firewall admins? e.g. to reduce the number of false positives and open up rules to allow valid requests trough... How to I defend the ArcGIS Server's ability to stop SQL injection? Are there case studies of ArcGIS servers that were penetrated? Its for a big organisation with an entire security committee. Im not sure I have the will to fight the battle, that should actually be done on an ESRI vs Fortiweb level in my opinion. Or the REST API use a WHERE input format that is less similar than t-sql. One can only dream right?
... View more
07-12-2021
07:25 PM
|
0
|
0
|
300
|
POST
|
Thanks, much appreciated. For anyone in the meantime that get stuck with it - I found a workaround for the interim. (It only works because I have relative few polygon geometries supplied by the definitionExpression used, that I want to snap against.) I query/retrieve the client side geometries from my real FeatureLayer, than load them in a temporary client-side-only FeatureLayer, which I use as a snapping data source. The temporary layer does not have to be added to the map first - you can pass it on to the snapping tools directly The snapping work really great!
... View more
07-09-2021
07:56 AM
|
1
|
0
|
1419
|
POST
|
Agree, look very promising. One thing that stop me - the definition expression on my Feature service are ignore when it is used as a FeatureSnappingLayerSource: i.e. all the data are retrieved in the FeatureService - and it is just to many records.
... View more
06-29-2021
12:29 AM
|
0
|
3
|
1469
|
POST
|
Hi I use the standard print widget https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Print.html ) In combination with a custom print service and a custom MXD print template. When I un-tick the "Include legend" option to false/unselected, I still get legend items for all operational layers submitted as part of the JSON Export Web Map request. I can see that the list of legend options array is empty when unticked: "legendOptions": { "operationalLayers": [] } Compared to when selected/true: "legendOptions": {
"operationalLayers": [{
"id": "customLayers",
"subLayerIds": [8]
}, {
"id": "colorsLayer",
"subLayerIds": [0]
}, {
"id": "labelLayers",
"subLayerIds": [1]
}]
} The PDF generated from my custom template make no difference though - all the operational layers appear in the legend when that setting is ticked or not. If I unselect the "Add a new item to the legend when a new layer is added to the map", then nothing appear on the legend. - It seems like that setting is used for all layers added, but only when no specific legend information are summited to the print services. (When I experiment by submitting JSON manually and ask for legend content for a subset of the operational layers, then only those layers appear in the legend.) Is it possible to NOT have a legend from the standard print widget? I attached some screenshots for context
... View more
06-01-2021
06:24 AM
|
0
|
1
|
698
|
POST
|
HI Is there something similar to the WAB query widget available for use in an ESRI JavaScript API application out of the box or available in the community? Regards
... View more
11-01-2019
01:12 AM
|
0
|
1
|
302
|
BLOG
|
Any update on when the first version of the edit capabilities is planned? We are selecting the required API version for a project now, and user friendly functionality to edit the boundary of a polygon is the only showstopper to use 4.x. It would be great to know if the expected release date, potentially we can exclude some functionality - but one need a more specific date when decisions are being made . Alternative suggestions would be much appreciated
... View more
03-07-2018
08:17 PM
|
0
|
0
|
3321
|
POST
|
OK, I did found something: I was using 4.4, i.e.: <script src="https://js.arcgis.com/4.4/"></script> Whereas 4.5 now started to add none "1" values to for maxAllowableOffset. In my case 0.25, so my response size is even bigger ... eish This value have no effect if I zoom in or out, because the Feature Layer is only loaded once. I played with my initial extent before activating the layer for the first time, but it makes no difference - always 0.25 Any comments?
... View more
11-23-2017
02:53 AM
|
0
|
0
|
432
|
POST
|
Hi, when using a Feature layer (FeatureLayer | API Reference | ArcGIS API for JavaScript 4.5 ), then the maxAllowableOffset = 1 value is used when the layer is switch on. (It use the Query task automatically to display the layer i.e. Query | API Reference | ArcGIS API for JavaScript 4.0 ) How do control the amount of generalization that can happen, ideally automatically affected by scale, when I only construct a Feature Layer and adding to the map? In the API v3.x, the maxAllowableOffset was set on the layer itself. Any advice would be much appreciated.
... View more
11-22-2017
10:25 PM
|
0
|
1
|
593
|
POST
|
Hi When I use a HTML input of type 'text' in my widget and add onkeyup/onkeydown handler, then the render() method is triggered and the handler is not executed at all when entering a character in the text input. I suspect it is because the render() re-render the HTML and re-bind the handler again. When I don't add onkeyup or onkeydown handlers, then typing in the text input don't trigger the render() method. Any ideas/opinions on how to execute my own handle first before render() is executed? Regards, Gert
... View more
08-01-2017
07:05 PM
|
0
|
0
|
325
|
POST
|
Thanks Undral. I use a customized version of the LayerList.tsx on GitHub, so were able to add a custom 'visibleAtCurrentScale' method as an interim fix/workaround to replace the 'item.visibleAtCurrentScale' (that have the bug). For what it is worth - it seems the bug is in the 'isLayerOutsideScaleRange' function of "./support/layerListUtils" that might receive incorrect parameters, but I might be be wrong - it get tricky to read trough the obfuscated code.
... View more
07-11-2017
08:28 PM
|
0
|
0
|
1028
|
Title | Kudos | Posted |
---|---|---|
1 | 07-09-2021 07:56 AM | |
1 | 06-14-2016 07:20 AM | |
1 | 02-04-2016 06:34 AM | |
1 | 08-11-2016 04:35 AM | |
1 | 09-07-2016 02:12 AM |
Online Status |
Offline
|
Date Last Visited |
3 weeks ago
|