POST
|
When trying to create an sd draft file with <map object variable>.getWebLayerSharingDraft("HOSTING_SERVER", "FEATURE", "nAmEblAH") I get the error "'Map' object has no attribute 'getWebLayerSharingDraft'". I'm following the example exactly as its shown here FeatureSharingDraft—Sharing module | ArcGIS Desktop and can't work out the issue. Is this a known bug? I'm using pro version 2.1.2.
... View more
11-02-2018
06:31 AM
|
2
|
4
|
1305
|
POST
|
Yes I've reviewed the documentation. But while there's mention of metadata there's no mention of how to read or edit it.
... View more
07-23-2018
03:42 PM
|
0
|
2
|
1108
|
POST
|
The arcpy.mp.ListMaps() returns a map object. I've reviewed the documentation and while the map when viewed in pro has a description parameter in the metadata tab, there doesn't seem to be a description parameter to the resulting map object like there was for the map document object.
... View more
07-23-2018
02:40 PM
|
0
|
4
|
1108
|
POST
|
The method I'm familiar with would look something like this. import arcpy mp = arcpy.mapdocumnet(<path to mxd>) print mp.description
... View more
07-23-2018
02:35 PM
|
0
|
0
|
1108
|
POST
|
Id like to edit map and layer metadata like description and such with arcpy.mp. I knew how to do it with arcgis.mapping but can't find the documentation for pro.
... View more
07-23-2018
11:56 AM
|
0
|
7
|
1792
|
POST
|
Much appreciate Rohit, That has answered my question. Thanks.
... View more
07-05-2018
07:04 AM
|
0
|
0
|
594
|
POST
|
I am attempting to automate our publication process and as a part of that I'm trying to update an item's sharing settings. I am able to show the item's current setting by using "print(itemobject["access"])" but can't seem to change the value from private to public using "itemobject.update({"access": "public"})" even though the value shows changes made manually through portal or server manager.
... View more
07-05-2018
06:27 AM
|
0
|
2
|
662
|
POST
|
Hello everyone. I'm a long time arcpy user trying to cut my teeth on the ArcGIS API For Python. Would anyone know of a way to clear the cache for a given service? I've found the clear_cache tool but that seems to clear out the entire servers cache rather than a single service. Wiping out the entire cache would be acceptable if its my only option but I'm having trouble finding any examples of its execution. Any help would be greatly appreciated. thanks.
... View more
03-16-2018
06:21 AM
|
0
|
0
|
253
|
Title | Kudos | Posted |
---|---|---|
2 | 11-02-2018 06:31 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:25 AM
|