<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>idea arcpy.mp open mapx map files and pagx layout files in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/arcpy-mp-open-mapx-map-files-and-pagx-layout-files/idi-p/931949</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Arcpy.mp allows you to open project and layer files.&amp;nbsp; The GUI allow you to save maps and layouts and layer files.&amp;nbsp; We need to be able to open map and layer files in arcpy.mp to modify the update connection properties and other properties before loading the in the project.&amp;nbsp; Having all the possible maps and layouts a users would want to use in a project is not practical if it numbers in the dozens and only a few are used at the time.&amp;nbsp; This way you can build a library of mapx and pagx files to use in your projects.

&lt;!-- content transformation source ID: 087E0000000PLih --&gt;

&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 May 2016 12:48:55 GMT</pubDate>
    <dc:creator>AlexanderGray</dc:creator>
    <dc:date>2016-05-20T12:48:55Z</dc:date>
    <item>
      <title>arcpy.mp open mapx map files and pagx layout files</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcpy-mp-open-mapx-map-files-and-pagx-layout-files/idi-p/931949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Arcpy.mp allows you to open project and layer files.&amp;nbsp; The GUI allow you to save maps and layouts and layer files.&amp;nbsp; We need to be able to open map and layer files in arcpy.mp to modify the update connection properties and other properties before loading the in the project.&amp;nbsp; Having all the possible maps and layouts a users would want to use in a project is not practical if it numbers in the dozens and only a few are used at the time.&amp;nbsp; This way you can build a library of mapx and pagx files to use in your projects.

&lt;!-- content transformation source ID: 087E0000000PLih --&gt;

&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 12:48:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcpy-mp-open-mapx-map-files-and-pagx-layout-files/idi-p/931949</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2016-05-20T12:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.mp open mapx map files and pagx layout files - Status changed to: Needs Clarification</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcpy-mp-open-mapx-map-files-and-pagx-layout-files/idc-p/1184820#M19979</link>
      <description>&lt;P&gt;Does ArcGISProject.ImportDocument() satisfy your needs?&amp;nbsp; It allows you to import mapx, pagx and more into a project?&amp;nbsp; We also support exporting to these formats.&lt;/P&gt;&lt;P&gt;Or do you want to be able to connect to a pagx or mapx and repair datasources directly on those?&amp;nbsp; A work around would be to importDocument into a project, change datasources and then export back to the appropriate X file.&lt;/P&gt;&lt;P&gt;Jeff - arcpy.mp and Layout teams.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 19:29:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcpy-mp-open-mapx-map-files-and-pagx-layout-files/idc-p/1184820#M19979</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2022-06-21T19:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.mp open mapx map files and pagx layout files - Status changed to: Closed</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcpy-mp-open-mapx-map-files-and-pagx-layout-files/idc-p/1201617#M20792</link>
      <description>&lt;P&gt;Given you can use importDocument(path to mapx), change data sources, then export back to mapx, this lessens the priority of creating additional classes and members given a fair amount of other planned development work.&lt;/P&gt;&lt;P&gt;If the above workflow does NOT work for you, please describe in detail you scenario and we could reconsider.&lt;/P&gt;&lt;P&gt;Jeff - Layout and arcpy.mp teams&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 21:40:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcpy-mp-open-mapx-map-files-and-pagx-layout-files/idc-p/1201617#M20792</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2022-08-10T21:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.mp open mapx map files and pagx layout files</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcpy-mp-open-mapx-map-files-and-pagx-layout-files/idc-p/1595945#M34155</link>
      <description>&lt;P&gt;It would be great to get direct interaction with a mapx or pagx file implemented. I know it can be done via import into a project but in many cases the overhead of a project isn't required.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 05:27:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcpy-mp-open-mapx-map-files-and-pagx-layout-files/idc-p/1595945#M34155</guid>
      <dc:creator>matt_g_g</dc:creator>
      <dc:date>2025-03-17T05:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.mp open mapx map files and pagx layout files</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcpy-mp-open-mapx-map-files-and-pagx-layout-files/idc-p/1596228#M34161</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/769316"&gt;@matt_g_g&lt;/a&gt;&amp;nbsp;. If you write your script to work out of process along with a reference to a "blank.aprx", for example, it all would happen in memory and the application would not even be opened.&amp;nbsp; To work with a mapx or a pagx file, you need the application (internal logic) to read the files in order for them to be modified.&amp;nbsp; Even if you wanted to use Python CIM access to modify the JSON structure, you still need the application.&amp;nbsp; Those X files are text files but I would never recommend modifying those in a text editor.&amp;nbsp; If you have specific issues with import/export x-files, I'd like to know the limitations.&lt;/P&gt;&lt;P&gt;Jeff - arcpy.mp and Layout SDK teams&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 17:27:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcpy-mp-open-mapx-map-files-and-pagx-layout-files/idc-p/1596228#M34161</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2025-03-17T17:27:06Z</dc:date>
    </item>
  </channel>
</rss>

