Select to view content in your preferred language

ImportDocument for Portal Item (.mapx)

30
0
6 hours ago
HF_LBD
by
New Contributor II

Hi,

I'm using a python script in which I imported .mapx-files succesfully from a server.

Now I need the same script to import the .mapx from our portal, but it seems I get the URL wrong, since the tool throws an OS Error.

The first 3 lines show the working part of the script, setting the document path to NK.mapx on our server.

The last 2 lines show two different document paths to the portal item I tried. The first one is the same which is used when importing the .mapx-file in ArcGIS Pro via the menu.

HF_LBD_0-1720166529197.png

The error:

HF_LBD_1-1720166963403.png

Thanks for any ideas.

Greetings from Germany

Holger

0 Kudos
0 Replies