|
POST
|
And here it is @MarleyGeddes ! The following BUG has been logged by support in case you want to take a look: BUG-000158232: In ArcGIS Enterprise Portal, sharing items with groups does not work, when owning more than 29 groups with 'isViewOnly' property set to True. Thanks
... View more
05-11-2023
05:55 AM
|
0
|
4
|
6409
|
|
POST
|
Thanks @MarleyGeddes for your reply and workaround. Indeed, it does work. But still, you cannot unshare afterward in case of a mistake. FYI, I have a case opened. Waiting the BUG number. Thanks !
... View more
05-11-2023
03:36 AM
|
0
|
0
|
6424
|
|
POST
|
Thanks for your reply @TanuHoque . True, I had noticed that first request is correct: I had thought the problem was solved after republishing 😅
... View more
05-10-2023
10:03 AM
|
0
|
0
|
4861
|
|
POST
|
Thanks for the quick reply @TanuHoque. I will ask support to attach my case to this one. Out of curiosity, what’s the title ? Also what is the ETA for the patch ? Hours, days, weeks, months ? My users can’t go on the field right now and I would like to know whether it is worth modifying all my domains, symbology and feature services for critical services like fire fighters ? Thanks
... View more
05-10-2023
09:36 AM
|
0
|
0
|
4868
|
|
POST
|
Hello, Since we upgraded from ArcGIS Enterprise 11.0 to ArcGIS Enterprise 11.1, a simple geoprocessing service went from 3 min to run to 18 min. With the same data and the following GP published: import datetime
import os
import arcpy
# Scripts inputs (network, orders, depots, routes)
sample_gdb_path = r'C:\PATHTO\BUG_DATA.gdb'
in_network_dataset = os.path.join(sample_gdb_path, 'GRAPHE_ROUTIER\GRA_GRAPHE_G')
in_orders = os.path.join(sample_gdb_path, 'in_orders')
in_depots = os.path.join(sample_gdb_path, 'in_depots')
in_routes = os.path.join(sample_gdb_path, 'in_routes')
# Utility function to display tool execution progress
def time_now(message):
return arcpy.AddMessage(message + datetime.datetime.now().strftime('%H:%M:%S'))
def solve_vehicule_routing_problem(scratchGDB, in_orders, in_depots, in_routes):
# Network Analyst - Solve Vehicule Routing Problem
# https://pro.arcgis.com/en/pro-app/latest/arcpy/network-analyst/migratingfrom10xarcpynetworkanalyst.htm
time_now('Making VehicleRoutingProblemAnalysis layer...')
#Create a new closest facility analysis layer.
result_object = arcpy.na.MakeVehicleRoutingProblemAnalysisLayer(
in_network_dataset,
"Vehicle Routing Problem",
"Guard",
"Minutes",
"Kilometers",
None,
"LOCAL_TIME_AT_LOCATIONS",
"ALONG_NETWORK",
"Medium",
"Medium",
"DIRECTIONS",
"CLUSTER",
"HALT"
)
#Get the layer object from the result object. The closest facility layer can
#now be referenced using the layer object.
layer_object = result_object.getOutput(0)
#Get the names of all the sublayers within the closest facility layer.
# https://pro.arcgis.com/en/pro-app/latest/arcpy/network-analyst/getnaclassnames.htm
sublayer_names = arcpy.na.GetNAClassNames(layer_object)
orders_layer = sublayer_names["Orders"]
depots_layer = sublayer_names["Depots"]
routes_layer = sublayer_names["Routes"]
time_now('Adding orders locations...')
arcpy.na.AddLocations(
layer_object,
orders_layer,
in_orders,
"Name NO_OUVRAGE #;Description # #;ServiceTime ServiceTime #;TimeWindowStart # #;TimeWindowEnd # #;MaxViolationTime # #;TimeWindowStart2 # #;TimeWindowEnd2 # #;MaxViolationTime2 # #;InboundArriveTime # #;OutboundDepartTime # #;DeliveryQuantity_1 # #;DeliveryQuantity_2 # #;DeliveryQuantity_3 # #;DeliveryQuantity_4 # #;DeliveryQuantity_5 # #;DeliveryQuantity_6 # #;DeliveryQuantity_7 # #;DeliveryQuantity_8 # #;DeliveryQuantity_9 # #;PickupQuantity_1 # #;PickupQuantity_2 # #;PickupQuantity_3 # #;PickupQuantity_4 # #;PickupQuantity_5 # #;PickupQuantity_6 # #;PickupQuantity_7 # #;PickupQuantity_8 # #;PickupQuantity_9 # #;Revenue Revenue #;AssignmentRule # 3;RouteName # #;Sequence # #;CurbApproach # 0",
"5000 Meters",
)
time_now('Adding depots locations...')
arcpy.na.AddLocations(
layer_object,
depots_layer,
in_depots,
"Name Name #;Description Description #;TimeWindowStart TimeWindowStart1 #;TimeWindowEnd TimeWindowEnd1 #;TimeWindowStart2 TimeWindowStart2 #;TimeWindowEnd2 TimeWindowEnd2 #;CurbApproach CurbApproach 0",
"5000 Meters"
)
time_now('Adding routes locations...')
arcpy.na.AddLocations(
layer_object,
routes_layer,
in_routes,
"Name Name #;Description Description #;StartDepotName StartDepotName #;EndDepotName EndDepotName #;StartDepotServiceTime StartDepotServiceTime #;EndDepotServiceTime EndDepotServiceTime #;EarliestStartTime EarliestStartTime '8:00:00 AM';LatestStartTime LatestStartTime '10:00:00 AM';ArriveDepartDelay ArriveDepartDelay #;Capacity_1 # #;Capacity_2 # #;Capacity_3 # #;Capacity_4 # #;Capacity_5 # #;Capacity_6 # #;Capacity_7 # #;Capacity_8 # #;Capacity_9 # #;FixedCost FixedCost #;CostPerUnitTime CostPerUnitTime 1;CostPerUnitDistance CostPerUnitDistance #;OvertimeStartTime OvertimeStartTime #;CostPerUnitOvertime CostPerUnitOvertime #;MaxOrderCount MaxOrderCount 30;MaxTotalTime MaxTotalTime #;MaxTotalTravelTime MaxTotalTravelTime #;MaxTotalDistance MaxTotalDistance #;AssignmentRule AssignmentRule 1;Shape_Length Shape_Length #",
"5000 Meters"
)
time_now('Solving Vehicule Routing Problem ...')
# https://pro.arcgis.com/en/pro-app/latest/tool-reference/network-analyst/solve.htm
arcpy.na.Solve(
layer_object,
"HALT",
"TERMINATE",
None, ''
)
time_now('Generating directions ...')
# https://pro.arcgis.com/en/pro-app/latest/arcpy/network-analyst/generatedirectionsfeatures.htm
arcpy.na.GenerateDirectionsFeatures(layer_object, os.path.join(scratchGDB, 'Directions'))
time_now('Copying routes and stops ...')
arcpy.management.CopyFeatures(routes_layer, os.path.join(scratchGDB, 'Routes'))
arcpy.management.CopyFeatures(orders_layer, os.path.join(scratchGDB, 'Orders'))
if __name__ == "__main__":
scratchGDB = arcpy.env.scratchGDB
solve_vehicule_routing_problem(scratchGDB, in_orders, in_depots, in_routes) On 11.0: On 11.1: 5 times slower. Seems like a performance regression to me. Anybody noticing the same phenomena ? Thanks
... View more
05-10-2023
08:05 AM
|
0
|
4
|
2222
|
|
POST
|
Hello, Since I upgraded from ArcGIS Enterprise 11.0 to ArcGIS Enterprise 11.1, many of my ArcGIS Field maps are broken. In Field Maps, I have the following error: [LOADING] Layer (Arrêts d'urgence AUG) failed to load with error: Error Domain=com.esri.arcgis.runtime.error Code=2 "Invalid argument" UserInfo={NSLocalizedFailureReason=UTF8 contains invalid characters, NSLocalizedDescription=Invalid argument., Additional Message=UTF8 contains invalid characters} When debugging with Fiddler, I noticed that the following request: https://agsserver.company.com/arcgis/rest/services/MyServer/FeatureServer/3?f=json&returnAdvancedSymbols=false returns badly encoded accent letters (I am French): The funny thing is that if I remove 'returnAdvancedSymbols' parameter, it is clean: I made a test with an ArcGIS Server 11.0 and even if 'returnAdvancedSymbols' parameter is specified, the response is properly encoded. I also made a test to bypass WebAdaptor 11.1 thinking it might be the culprit but I am getting the same poorly encoded reply from ArcGIS Server. Thanks ! NB: The error is from IOS FieldMaps. On android it does not crash but I have this weird � character instead
... View more
05-10-2023
07:49 AM
|
2
|
11
|
5874
|
|
POST
|
Hi @DavidColey, I don't think that it has anything to do with the WebAdaptor bug regarding OAuth (it's fixed on my side by fixing Web Adaptor response at reverse proxy level). If I configure all my groups with "who can share" configured to "All group members" it works because then the group ids are not included in the 'q' parameter that why I specified this configuration in the bug report. Of course, I did not change this parameter because I don't want all group members to contribute. Thanks
... View more
05-10-2023
07:29 AM
|
0
|
1
|
6528
|
|
POST
|
Hello, Since I upgraded from Portal for ArcGIS 11.0 to Portal for ArcGIS 11.1, I can no longer share items with the groups I own... I guess it's a regression as it used to work with 11.0. I debug a little bit and noticed the following: if you own more than 29 groups configured with "isViewOnly" set to True (Who can contribute content ? => Group owner and managers"), I can no longer share. Indeed, to retrieve the list of groups that can be shared with, it makes a POST to: /sharing/rest/community/groups with the following 'q' parameter: q: (isviewonly:false OR 0108318c3d144cf5be12837022f7049c OR 0171609ba0ba480fa2cfb40a9a70635f OR 0934e513266d4ddb80e342cd658937bf OR 0c4a52980b94405ca7ac853fd938ca31 OR 15620fa67eac4973818f7789653b66b4 OR ... OR fce1af7d980144999b28c968c4439232) If you have less than 30 groups, request works if you have 30 or more, it returns: {"total":0,"start":0,"num":0,"nextStart":0,"results":[]} At Portal for ArcGIS 11.0, this request was made differently as the groups were not specified in 'q' parameter but the user was specified: q: (owner:myusername OR isviewonly:false) Could you please help ? Thanks, Nicolas
... View more
05-10-2023
05:37 AM
|
0
|
27
|
12843
|
|
IDEA
|
Hello, Currently, it is not possible to add a title to Indoors Viewer to "brand" it a little more. It would nice to add this functionality. Thanks for listening !
... View more
05-09-2023
07:50 AM
|
7
|
4
|
1352
|
|
IDEA
|
Hello, In ArcGIS Indoors Viewer, it would nice to be able to configure the travel modes dropdown list. An organisation may have a "master" network graph with several travel modes dedicated to various applications but not all applicable to Indoors Viewer. So it would be nice to allow the removal of some travel modes to allow keeping only those applicable in Indoors Viewer. In my case, I would like to remove "emergency" and "Guard" as they are used for other specific applications. Thanks for listening !
... View more
05-09-2023
07:47 AM
|
5
|
2
|
1497
|
|
POST
|
Or, in my case, any third party applications (API users that have oauth application registered on Portal for ArcGIS) and that are not on IIS web servers. I think it could have worked if they had use Oauth2 implicit flow though (not recommanded). Personally, I fixed it at reverse proxy level.
... View more
05-08-2023
11:05 AM
|
1
|
0
|
5379
|
|
POST
|
Hi @ChristopherPawlyszyn , Just a small follow-up, on the same infrastructure, after having migrated from 11.0 to 11.1, tilecache datastore restore went from 7 hours to 1 hour ! Very nice enhancement 🙂
... View more
05-06-2023
05:42 AM
|
2
|
0
|
2960
|
|
POST
|
Thanks @JeffSmith for the quick reply and for identifying that ArcGIS WebAdaptor for IIS was the culprit ! The following BUG has been logged: [BUG-000158033] - Logging to Portal fails with HTTP 400 Error, because the ArcGIS Web Adaptor forwards the redirect URL with not encoded curly braces
... View more
05-03-2023
08:09 AM
|
1
|
0
|
5448
|
|
POST
|
Hello, Since we upgraded our ArcGIS Enterprise from 11.0 to 11.1, applications using OAuth can no longer authenticate. Indeed, response redirection (https://myapp.company.com?code=foo&state={bar}) is rejected by our webserver with the following error: HTTP 400: Invalid character found in the request target: The valid characters are defined in RFC 7230 and RFC 3986. Description: The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing). Reports are coming mainly from users using Apache Tomcat web server and NGINX. Seems like curly braces are no longer encoded ?! Thanks, Nicolas
... View more
05-02-2023
07:49 AM
|
2
|
10
|
6189
|
|
POST
|
I think this property is only available at ArcGIS Server Manager interface in the cache properties: So I guess the workflow would be the following: 1. Publish service and configure the cache to be generated manually afterward 2. Modify cache storage to "exploded" in ArcGIS Manager 3. Generate cache To be tested though ! Hope that help
... View more
04-18-2023
02:54 AM
|
1
|
0
|
1890
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-26-2026 05:56 AM | |
| 2 | 06-17-2026 09:53 AM | |
| 4 | 06-04-2026 10:51 PM | |
| 1 | 05-30-2026 03:46 AM | |
| 2 | 05-30-2026 01:01 AM |