Select to view content in your preferred language

Can't get layout to be in Map Package (.mpkx) in ArcGIS Pro

1629
2
06-14-2023 05:01 AM
Labels (3)
MajdoleenO_A__Awadallah
Frequent Contributor

I'm using ArcGIS Pro version 3.0.2 and I'm trying to export a Map Package (.mpkx) that includes both my map and my layout. I've tried using the 'Map' option in the Package tool bar and tried the geoprocessing tool 'Package Map'. In neither case does the resulting .mpkx contain my layout. I don't see many options for these tools, so I am not sure what I am missing.

Back in ArcMap 10.7 I was able to export a Map Package (.mpk) and it contained both the data view and the layout. That is why I am expecting ArcGIS Pro to include the layout in the package.

 

Is their a way to export both the map and the layouts?

 

Thank you in advance

 

Regards

Majdoleen

2 Replies
RhettZufelt
MVP Notable Contributor

If you want to package the entire project and not just the map, you want to use Package Project instead of Package Map.

R_

rappr
by
Occasional Contributor

There is a real business need for a Package Layout geoprocessing tool, because there should be a way to share a layout without having to resort to Packaging an entire project. A project may have multiple layouts, and users may not want to share all layouts in the project. On more than one occasion, I have used a four-step workaround to share a single layout from within a project that had many layouts, of which only one was to be shared. It's a shame that ArcGIS Pro requires four steps when ArcMap required only one step, as noted in the first post of this thread.

  1. Export the layout file by selecting Save As Layout file on the Share ribbon (this saves the layout as a *.pagx file). 
  2. From there, create a new blank project (*.aprx) to import the *.pagx file into. Delete the map if one is present when the project is created by ArcGIS Pro.
  3. Then, from within the new blank project, click the Insert Tab. In the Project group, click Import Layout, choose Import Layout file, and browse to the layout file created at Step 1. Then save the aprx. At this point, you'll have a project containing only the map and the layout to be shared.
  4. As a last step, package this aprx containing only the layout that needs to be shared by running the Package Project tool (creates a *.ppkx file from the *.aprx file). Be sure to select Share Outside the Organization if sharing for "external" use.
0 Kudos