|
POST
|
Thank you very much for clarification. I have to admit, that I don't quite understand why the same origin is so important. I can imagine that the same version or build is important for objects compatibility, but I can't see an importance of the place from where the classes are loaded. But surely, I don't know what is behind the scenes, so it's not up to me to judge it. Finally, I would like to suggest, that it may be a good idea to share this limitation in the API documentation. The module federation seems like hot topic these days, and I think it's very likely that other developers may stumble upon this and a note in documentation can spare them from some desperation. And of course it will be very interesting to read somewhere about your internal testing in this area. One more time, thank you very much for you insight, I am really appreciating it.
... View more
12-29-2021
10:15 PM
|
0
|
1
|
5045
|
|
POST
|
Thank you very much for the reply. Can you just please confirm, that “but in my case, the map and buttons still all work“. You mean buttons in app on port 4200 (shell app)? Because when I run it, the scale bar is not changing values when you zoom the map, locate button drives you to some nonsense location and doesn’t show a point graphic on the map, and the home button does nothing at all. In app on port 4201 (plugins app) everything works as expected. But if it works for you same way in both apps, that would really be a breakthrough, because I have spent eternity with it and couldn’t make it work. You are right, that I am not using arcgis/core in the shell app, just in the plugin app. But I use „shared“ library in both, and this shared library uses arcgis/core. Could this be an issue? You also mentioned that api on remote entry point and the shell app may not match because their source has different port and the versions don’t match up. However I could not confirm that this is the issue, because I have made builds in a way, that both apps are in same port (different folder) and after deploying it to the web server I got exactly the same error. You can check it, I have added those builds to the repo. But if different ports can cause such a trouble, is even module federation with arcgis/core possible in a way that your shell app uses arcgis/core as well, or you have multiple remote entries that uses arcgis/core on different ports? I have checked you repo, but that case is much simpler, it doesn’t have shared library, and it seems that you don’t use arcgis/core in shell app as well. I agree with you though, that it may be an issue in Angular tooling for module federation, especially in that shared library mappings. And I would ask on that side for help, but there seems to be no issue with other libraries, and I am afraid that that mentioned error would make no sense to them. Now I have clue, that it may be caused by version mismatch, but still the question is how is that mismatch determinated? Or maybe even what causes it in this case? Mixing CDN api with ESM api is out of question in this case I think, but if it may be caused with different ports, that already breaks the concept of module federation or microfrontends and I am already done with such an architecture :-(. I would be really grateful, if you could help me to determine what causes this version mismatch in this case, because I think that understanding it may help to fix it. Thank you.
... View more
12-28-2021
10:54 PM
|
0
|
3
|
5055
|
|
POST
|
I am having serious trouble running angular application that uses webpack module federation remote entries with esri JS api ES modules. The idea is that there is a shell application that consumes remote entries, shared library that provides some business logic and is used by multiple components, and finally there is plugins application that provides some remote entries (plugins) for shell. In shared library there is service for creating a map view. In plugins application there is map-component (plugin) that provides UI components for created map view (home, scale, locate). When I run the plugins application on its own everything works as expected (home, scale, locate). But when I consume map-component from remote entry in shell app, nothing works at all (scale is frozen, locate zooms to other place and home does nothing) and console is filled with errors like this one: „Logger.js:5 [esri.core.Accessor] Accessor#set Assigning an instance of 'esri.geometry.SpatialReference' which is not a subclass of 'esri.geometry.SpatialReference“ The extent created after clicking on home button seems all right exanimating it in debugger, but when used in mapView.goTo, it does nothing. The app is using esri JS api via ES modules from npm package @arcgis/core. Fully reproducible example with readme.me to reproduce issues can be found here: https://github.com/bigend/esri-webpack-module-federation-issue If anyone could just shed some light on this, or at least explain to me what that error is supposed to mean, I would be really very grateful.
... View more
12-27-2021
10:14 PM
|
0
|
6
|
5102
|
|
POST
|
Thank you, that is indeed an interesting feature, but there is still a question that if I add newer version of arcpy to existing Python 3 environment, will this particular version be used in geoprocessing service execution? I have my doubts about it... I would give it a try but my server is 10.8.1 and I am not planning upgrade any time soon. I am basically looking for answer if 2.7 or higher version of arcpy could by part of server 10.8.1, or if not in what ArcGIS server release would that be available. Probably I should move this question to ArcGIS server topic, I find a way how to do it. Thank you.
... View more
07-12-2021
02:47 AM
|
0
|
0
|
1234
|
|
POST
|
I have a geoprocessing script written in ArcGIS Pro version 2.8 and I want to publish it to ArcGIS Server 10.8.1 as a geoprocessing service. Publication is flawless, however the execution of service crashes because I am using some arcpy functionality that was added at version 2.7 and that is obviously not in ArcGIS Server arcpy runtime. My local and server arcpy versions obtained by arcpy.GetInstallInfo() are: Server: Version : 10,81.0 BuildNumber : 24234 ProVersion : 2.6.0 Desktop: Version : 2.8.1 BuildNumber : 29751 So my questions are: Is there a possibility to upgrade version of arcpy on that server, at least to the version 2.7? Where can I find information about what arcgispro arcpy runtime version has particular version of ArcGIS server, like what arcgis pro arcpy is on 10.9 for instance? I searched documentation, but found only info on version of python, not arcpy. Thank you
... View more
07-11-2021
10:48 PM
|
0
|
2
|
1256
|
|
POST
|
I am struggling with the same situation and I am afraid it is not in even in IServerObjectConfiguration4.Properties . Did you find some solution? Thanx
... View more
03-16-2020
04:49 AM
|
0
|
0
|
764
|
|
POST
|
Hi, this is quite old thread, but I am in same situation now and can't find any info about it. So did someone figured it out, or it is just impossible? Thank you
... View more
03-16-2020
04:06 AM
|
0
|
0
|
667
|
|
POST
|
Unfortunately not. I have reported the problem to our local esri distributor, but I didn't get any response, so I don't event know, if this was reported to esri as a bug.
... View more
12-05-2019
08:07 PM
|
0
|
0
|
1296
|
|
POST
|
I want to create replica with custom name. According to arcgis rest api documentation for replicaName parameter: “Description: The name of the replica on the server. The replica name is unique per feature service. This is not a required parameter. If not specified, a replica name will be assigned and returned in the createReplica response. If specified, but the replicaName already exists on the server, a unique name will be returned in the response using the given replicaName as a base (that is, MyReplica may be returned as MyReplica_0 if there is already a replica named MyReplica on the server).” From this it is not clear, if that name must be unique per service, or per server. According to our testing it seems it must be unique per server, or even maybe per server and user. Uniqueness per feature service seems to be not enough. The replicaName was „adjusted“ by ArcGIS server, even when there was no replica on selected service, however there was replica with the same name on server. Tested on ArcGIS Server 10.6.1. So question is, if this is correct and replica name must be unique on server and not per feature service? If so, the documentation should be corrected. Thank you
... View more
11-04-2019
04:59 AM
|
0
|
0
|
690
|
|
POST
|
I have an application in ArcGIS Runtime api for UWP. In application folder there is a TempState folder and when I am using online map services in this application, there are quite a lot files created in this temp folder. There are files without extension and .geodatabase files. I have examined a little this files and I am assuming, that they provides some local cache for used map services. Files without extensions seems to store tiles from tiled services, and .geodatabase files stores something for feature services and dynamic services. My question is, if it is safe to delete this files on application restart. I know that if these are cache files it may affect performance, but are there any other side-effects? The point is I don’t wish this folder to grow in size unlimitedly, so I want to perform some occasional cleaning. Thank you
... View more
11-04-2019
03:37 AM
|
0
|
1
|
2757
|
|
POST
|
I have a very strange problem with printing workflow. The simplified workflow is that I am printing web map with template for legend. With arpcy.mapping.MapDocument.isOverflowing I am checking, if legend overflows, and if it overflows, I am trying to use template with bigger frame for legend. The problem is that the isOverlowing value doesn’t work correctly when the script is run from geoprocessing service. If I run the script as a geoprocessing service, I can see in the resulting messages and server log, that the isOverlowing property was equal to false. However if I save the map document I can see the three red dots indicating that legend is overflowing and legend is indeed overflowing. Strangely enough, if I run the same script as a script within IDLE, with the same parameters, same version on python, on the very same server the geoprocessing services was run, I can see in the messages that the isOverflowing property was correctly equal to true. Simplified script and sample mxd are enclosed. All you need is to set mxdPath on 3th line to path for enclosed mxd document and give it a try. The isOverflowing property value is indicated in messages. Running with ArcGIS for Server 10.6.1. Any idea, why it is different with geoprocessing service, or any suggestion how to fix it would be much appreciated. Thank you.
... View more
10-24-2019
02:09 AM
|
0
|
3
|
1382
|
|
POST
|
We are having problem printing legend elements with many items for map service. In enclosed A4_Legend.mxd there are two map services with quite complex legend and we wish to export the legend, as it is set in page layout, to pdf document. Just open the mxd and export it to pdf. The problem is that first part of the legend is exported correctly, but legend items in about second half of the exported document are completely missing symbols, there are only labels. Seen enclosed A4_Legend.pdf . In this case the legend is overflowing, but it doesn’t matter, the behavior is the same even when legend is not overflowing. We are using ArcGIS Desktop 10.6.1 and the same behavior is on ArcGIS for Server 10.6.1. Does anyone have some idea how to fix this? Thank you.
... View more
10-24-2019
01:37 AM
|
0
|
0
|
867
|
|
POST
|
Mark, thank you. That is a very good information. Matus
... View more
10-15-2019
08:21 PM
|
0
|
0
|
1444
|
|
POST
|
We are experiencing some difficulties with creating of mmpk file with attachments. We are using Create Mobile Map Package tool in ArcGIS Pro. We are using Area of Interest parameter to limit output features to smaller spatial extent. It works flawlessly for features - in resulting mmpk there are only features limited by provided spatial condition. The problem is with feature attachments. In resulting mmpk there are all attachmens for every feature in input feature dataset, not only attachments for features featured in mmpk. This makes the resulting mmpk's size unreasonably big and process of generating mmpk quite longer. So my question is, if there is a way how to reduce attachments in mmpk only to attachmens for relevant features, or if there is any way how to generate mmpk files without attachments. Or if this is by any chance an intended behavior, why is that so? Thank you.
... View more
10-15-2019
02:50 AM
|
0
|
3
|
1605
|
|
POST
|
I have a tpk file for basemap and some operational layer from local geodatabase (or mmpk file). So I create map, create base layer from tpk, add it to map, then I create feature layer and add it to map. The trouble is, that extent of my map view is somehow fixed. I mean I can zoom out only to certain degree and the same situation is with panning. I am enclosing simple solution with test data. When you run it you can notice that you simply can't zoom to topmost vertex edge of topmost polygon and that you can't zoom out to see all features from feature layer. Setting min and max scale for a map seems not helping at all. It seems to be caused by FullExtent propery of layer. So I have also tried to set enlarged extent for FullExtent property of ArcGisTiledLayer, but when I dit it after load, it complained that it could not be done at this time and when I tried to change it before load, it was replaced after load. Has anyone any idea how to deal with this? Any help will be very appreciated.
... View more
04-09-2019
09:11 PM
|
0
|
0
|
781
|
| Online Status |
Offline
|
| Date Last Visited |
09-10-2023
08:12 AM
|