Esri / Esri/ops-server-config

Modify PortalContentExtract.py to extract both FILE and URL based KML items

Open
#145 0 comments 0 reactions 0 assignees View on GitHub
B - Bug G - Release Team Install and Publishing
Dominant language
Python
Stars
33
Forks
12
PR merge metrics
No merged PRs in 30d

Description

'KML' is an item in both URL_BASED_ITEM_TYPES and FILE_BASED_ITEM_TYPES lists in the Portalpy.py _init_.py script.

Modify code in "extract_item" code block in PortalContentExtract.py to handle both KML types. Probably need to check if item json has 'url' key or not.

Also add the 'KML' item back into the FILE_BASED_ITEM_TYPES list.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.