Bug
Bug ID Number | BUG-000175450 |
---|---|
Submitted | March 31, 2025 |
Last Modified | June 24, 2025 |
Applies to | ArcGIS Pro |
Version found | 3.4.2 |
Operating System | Windows OS |
Operating System Version | 10.0 64 Bit |
Status | In Review |
Tested a Python Notebook workaround that creates the .tpkx and immediately adds metadata via arcpy.metadata.Metadata().
map_path = r"C:\Path\To\Your\Project.aprx"
map_name = "Map"
output_tpkx = r"C:\Path\To\Output\MyTilePackage.tpkx"
summary = "Summary"
tags = "tag, test, bug"
title = "Title For Map"
description = "This is a tile package"
aprx = arcpy.mp.ArcGISProject(map_path)
map_obj = aprx.listMaps(map_name)[0]
arcpy.management.CreateMapTilePackage(map_obj, "ONLINE", output_tpkx, summary=summary, tags=tags)
if arcpy.Exists(output_tpkx):
metadata = arcpy.metadata.Metadata(output_tpkx)
metadata.title = title
metadata.summary = summary
metadata.tags = tags
metadata.description = description
metadata.save()
print(f"Tile Package created and metadata added: {output_tpkx}")
else:
print("Failed to create tile package.")
Bug ID: BUG-000175450
Software:
Get help from ArcGIS experts
Download the Esri Support App