Modify PortalContentExtract.py to extract both FILE and URL based KML items
Open
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
Assessment
This issue has not been assessed yet.