|
POST
|
Thanks for the reply. I opened a case. Let's see if the routing works. Personnaly, I found it a pity: I tend to prefer referencing service by URL which are more stable to me (can be republished). Also, creating a FeatureLayer from a MapService layer is really convenient as well. Thanks,
... View more
06-15-2023
11:59 AM
|
0
|
0
|
2742
|
|
POST
|
Thanks for your reply @KristianEkenes ! Indeed, renderers are not defined in the same way: - ArcGIS Server REST API /FeatureServer/0: type esriPMS ArcGIS Server /FeatureServer/0 renderer - Portail REST API /item/id/data type CIMPointSymbol Portal /item/data renderer So it's kind of limitation of ArcGIS Server not support CIMSymbol I guess ? It's would be a pity ! Thanks !
... View more
06-15-2023
11:47 AM
|
0
|
2
|
2745
|
|
IDEA
|
Follow-up, it is now working since 4.20 version. But there are still some pitfalls: https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-js-api-4-27-scale-based-symbology-not/td-p/1299530 To be continued...
... View more
06-14-2023
09:42 PM
|
0
|
0
|
921
|
|
POST
|
Hello, Using ArcGIS Enterprise 11.1, I published a scaled based symbology FeatureServer and MapServer: https://pro.arcgis.com/en/pro-app/latest/help/mapping/layer-properties/scale-based-symbol-classes.htm I created a JS API 4.27 application and noticed that my FeatureLayer does not honour this scaled based symbology. Digging a little more, I understood that it depends on its instantiation: - Instantiation with portalItem, works: const poiFLLayerByPortalItem = new FeatureLayer({ portalItem: { id: "c3d95b4ce5df4882a6f73723492af00f" } }); - Instantiation with a featureServer URL does not work: const poiFLLayerByFLId = new FeatureLayer({ url: "https://ags.company.com/arcgis/rest/services/General/POI_TEST/FeatureServer/0" }); - Instantiation with a MapServer URL does not work either: const poiFLLayerByMLId = new FeatureLayer({ url: "https://ags.company.com/arcgis/rest/services/General/POI_TEST/MapServer/0" }); It looks a bit weird to me: I would expect all featureLayer to be consistent in behaviour when consuming the same service. Is it a bug or somehow a feature I would miss ? Should a case be opened ? Thanks, Nicolas PS: can share a URL illustrating this issue to JS API team if you want to have a quick look
... View more
06-14-2023
09:36 PM
|
0
|
6
|
2772
|
|
IDEA
|
Hi @ahmedbadr2, It's strange: I just made the test on a 11.0 Portal for ArcGIS and it works. As soon as "Allow users to create new built-in accounts." is disabled, I get "You do not have permissions to access this resource or perform this operation" when not logged on /portal/sharing/rest/community/checkUsernames. Anonymous access can be enabled. Did you try in an incognito Window ?
... View more
06-11-2023
04:01 AM
|
0
|
0
|
1837
|
|
POST
|
Hi @JeffSmith, Support logged the following defect: BUG-000158980 : Trying to add a service to the Map Viewer or as an item is resulting in an infinite loop of checkURL-requests when the allowedProxyHosts-parameter does not contain the domain of the service
... View more
06-09-2023
06:52 AM
|
0
|
0
|
6429
|
|
POST
|
Hello, I am trying to migrate a webappbuilder application to experience builder (on Portal for ArcGIS 11.1) but I am facing an issue with the directions widget: I can't define barriers layers (points, lines, polygons) contrary to WAB: https://doc.arcgis.com/en/web-appbuilder/latest/create-apps/widget-directions.htm Did I miss anything ? Is it possible to do it ? If so, how? If not, is it in pipeline ? Any ETA ? Thanks ! Nicolas
... View more
06-09-2023
05:11 AM
|
8
|
1
|
1358
|
|
POST
|
Hi @JeffSmith, Thanks for your explanations and for confirmation that the observed behavior is a regression. I currently have a case opened with support. Will update here once I have more information.
... View more
06-08-2023
10:15 PM
|
0
|
0
|
6459
|
|
POST
|
Thanks for your reply @Scott_Tansley. If not whitelisted, then the proxy could be potentially used maliciously. That is the whole point: even if servers are CORS enabled, URL cannot be registered. If CORS is enabled, proxy won't be used and client can query this server by himself. I don't see the issue personnaly. If you are right documentation should as be updated
... View more
06-07-2023
08:57 PM
|
0
|
1
|
6484
|
|
POST
|
Note that at 11.0, I did not have this issue. - New MapViewer was not using 'checkUrl' end point - In Portal for ArcGIS, when adding an item as Url, even if 'checkUrl' was failing, it was still possible to register the item
... View more
06-07-2023
10:35 AM
|
0
|
0
|
6521
|
|
POST
|
Hello, I am running Portal for ArcGIS 11.1 and I have been reported a weird behaviour by a user: he could not add a layer by URL either from the new MapViewer or directly in Portal for ArcGIS when adding a new item / URL / New item. It hangs on "Retrieving Service Info". Looking at the network tab, it's an infinite loop hammering our Portal for ArcGIS ! 1. https://myserver.onecompany.com/arcgis/rest/services/foo/MapServer?f=json => 200: no issue 2. https://myportal.company.com/geoportal/sharing/rest/portals/checkurl?url=https%3A%2F%2Fmyserver.onecoompany.com%2Farcgis%2Frest%2Fservices%2Ffoo%2FMapServer%3Ff%3Djson&f=json&token=mytoken => {"success":false,"error":{"message":"Error checking resource"}} And it retries for ever... I spent quite some time to understand the issue and found out that it seems to be related to the “allowedProxyHosts” security property which, following security best practice, was restricted to few URLs and of course "myserver.onecompany.com" was not one them. After I added it, it worked. But according to the documentation of this parameter, this proxy server is used in the following situations: https://enterprise.arcgis.com/en/portal/latest/administer/windows/restricting-the-portal-s-proxy-capability.htm The thing is that "myserver.onecompany.com" has CORS enabled and is an open data one with no credentials involved so no need to use the Portal proxy: This means that every time a user wants to add a layer from URL, he will have to contact us to whitelist this domain even if CORS is enabled. Seems like a bug to me or did I miss anything ? Also, it's not really nice that it hammers the Portal for ArcGIS like this. Thanks for your feedback, Nicolas
... View more
06-07-2023
09:21 AM
|
0
|
6
|
6539
|
|
IDEA
|
Hi, I had made this request few years ago, and I received the following update last week from support: ENH-000139194 - Disable anonymous access to /sharing/rest/community/checkUsernames when portal is configured to disable self-signup Status: Implemented (Learn More ) Version Implemented: 11.0 I am running 11.1 and I confirm it is now solved. In the meantime, we had restricted access using a reverse proxy. Don't think there is another solution if you are running ArcGIS Enterprise < 11.0 Hope that helps, Nicolas
... View more
06-07-2023
01:32 AM
|
0
|
0
|
1864
|
|
POST
|
It would really be nice if there was easy way to do so. I remember having tried to script that all and in addition to the fact that it is quite time consuming, there many corner cases for which export/import do not work (scene layers on top of my head). Don't know if there is an ArcGIS Idea for what, but I would definitely upvote ! Good luck @JonSwoveland ...
... View more
06-07-2023
01:28 AM
|
1
|
0
|
4772
|
|
POST
|
Hi @GoranGobac , Thanks for your reply. As you can see in my example, the GP has been simplified to bare minimum in order to work on this issue with support. Having a look at the modified Python script, not much changed so I don't think that it is the issue. I do think there has been a regression in the routing engine as it's taking ages as well in latest ArcGIS Pro versions which was not the case before. But my main concern currently is the ArcGIS Server as users are not really pleased having to wait 30 min to get the results of the 'SolveRoutingProblem' ! I had to increase the timeout of the GP in ArcGIS Server manager to 45 min as once it took 31 min ! Support logged the following: BUG-000158801: Poor performance when running a GPServer Tool solving Vehicle Routing Problem. Let's hope it's gonna be fixed.
... View more
06-04-2023
10:54 PM
|
0
|
0
|
2052
|
|
POST
|
Hello @mpboyle , Thanks for sharing ! Interesting. 6 (!) years later, did you face issue with this non supported workflow ? I have been waiting for a year for the following BUG to be solved: BUG-000152217: In ArcGIS Pro, the Define Projection tool fails to assign a projected coordinate system for Oracle geodatabase feature classes. Considering some alternatives...
... View more
06-01-2023
02:39 AM
|
0
|
1
|
5910
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Friday | |
| 2 | 2 weeks ago | |
| 4 | 4 weeks ago | |
| 1 | 05-30-2026 03:46 AM | |
| 2 | 05-30-2026 01:01 AM |