Create Mobile Map Package: Map Title is missing in MMPK

482
1
04-17-2018 08:36 AM
MaximilianGlas
Esri Contributor

I created two maps in Pro and wanted to export these items as an mmpk, so I started the "Create Mobile Map Package" tool.

The MMPK was created successfully, but when I take a deeper look into it I found a problem.

Map 1 (.mmap):

  "item" : {
    "guid" : "e1f008cb36b6481e8d407a872dd90fba",
    "created" : 1523968416000,
    "modified" : 1523968416000,
    "name" : "Allershausen",
    "type" : "Mobile Map",
    "typeKeywords" : [
      "Mobile Map",
      "Map",
      "2D",
      "ArcGIS Pro",
      "Mobile"
    ],

Map 2 (.mmap)

  "item" : {
    "guid" : "b3c1f880f24749a59b14b73c92fc3583",
    "created" : 1523978319242,
    "modified" : 1523978319242,
    "name" : "Simple",
    "title" : "Point Symbols",
    "type" : "Mobile Map",
    "typeKeywords" : [
      "Mobile Map",
      "Map",
      "2D",
      "ArcGIS Pro",
      "Mobile"
    ],

So, in map 1, the title property is missing, in map 2 it is not.

I tried to figured out why this happend. In ArcGIS Pro, in the metadata of the map, there is the title set. But in contrast to the second map, the first one has the same title like the name propery (under General). When I changed the title to a different value, the title property was exported. But when I changed back to the same value like the name, the title is now still exported, too.

So maybe this problem only occures for the first map created in a project, because I could not reproduce it with another map I created in the same project.

Why is this a problem?

In ArcGIS Runtime I could use these maps and access it through the Map.Item property in the API. But the API only offers the Title property, there is no Name property. So, if the title is missing or not filled, I will not have any information about the map name.

Maybe also interesting for https://community.esri.com/community/developers/native-app-developers/arcgis-runtime-sdk-for-net‌ community

Tags (2)
0 Kudos
1 Reply
MarkBockenhauer
Esri Regular Contributor

If  "Map" metadata title is blank and the title is empty in the create mobile map package tool, no Title will be present in the output.

"item" : {
 "guid" : "fc2a5772116648aab55460357219c2be",
 "created" : 1523984809960,
 "modified" : 1523984809960,
 "name" : "Map",
 "type" : "Mobile Map",
 "typeKeywords" : [
 "Mobile Map",
 "Map",
 "2D",
 "ArcGIS Pro",
 "Mobile"
 ],


0 Kudos