configuration of Portal

398
0
12-02-2022 02:20 AM
Labels (2)
NikolajGrn
New Contributor

I'm running into a problem, when I try to configure a 10.9.1 Portal.

 I'm trying to update a helperService property through the update_properties function. However, if I print the properties afterwards, it still points to the default value. The code I use is as follows

 

geometry_service = portalURL + "hosting/rest/services/Utilities/Geometry/GeometryServer"

settings =
{
"helperServices": {"geometry": {"url": f"{geometry_service}"}}
}
gis.update_properties(settings)

 

 I'm aware that the documentation specifies the geometry service as geometryService, however if I print the properties, it is defined as just geometry.

 If anybody could give some pointers regarding what I'm doing wrong, that would be really appreciated. 

0 Kudos
0 Replies