<?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 Python API for Map Files and Layer Files in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/python-api-for-map-files-and-layer-files/idi-p/940574</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The ability to share&amp;nbsp; as a Map File is a great way to share a common operational view in Pro.&amp;nbsp; It would be nice to be able to work with these files using python.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At a minimum allow python to save and open&amp;nbsp; a Map File just like a the layer file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Extending the API to&amp;nbsp;provide&amp;nbsp; R/W access to the name and metadata fields in the Map Properties would make it even better.&amp;nbsp; This would facilitate publishing these map files to ArcGIS Online.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Extending the API for Layer files to provide R/W access to the name and metadata fields in the layer file would also be very helpful.&amp;nbsp; &amp;nbsp;This would facilitate publishing Web Layers to ArcGIS Online.&amp;nbsp; It would also facilitate managing the metadata attributes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Sep 2018 00:21:08 GMT</pubDate>
    <dc:creator>BobPool1</dc:creator>
    <dc:date>2018-09-18T00:21:08Z</dc:date>
    <item>
      <title>Python API for Map Files and Layer Files</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/python-api-for-map-files-and-layer-files/idi-p/940574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The ability to share&amp;nbsp; as a Map File is a great way to share a common operational view in Pro.&amp;nbsp; It would be nice to be able to work with these files using python.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At a minimum allow python to save and open&amp;nbsp; a Map File just like a the layer file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Extending the API to&amp;nbsp;provide&amp;nbsp; R/W access to the name and metadata fields in the Map Properties would make it even better.&amp;nbsp; This would facilitate publishing these map files to ArcGIS Online.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Extending the API for Layer files to provide R/W access to the name and metadata fields in the layer file would also be very helpful.&amp;nbsp; &amp;nbsp;This would facilitate publishing Web Layers to ArcGIS Online.&amp;nbsp; It would also facilitate managing the metadata attributes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 00:21:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/python-api-for-map-files-and-layer-files/idi-p/940574</guid>
      <dc:creator>BobPool1</dc:creator>
      <dc:date>2018-09-18T00:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: Python API for Map Files and Layer Files - Status changed to: Already Offered</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/python-api-for-map-files-and-layer-files/idc-p/1218030#M21505</link>
      <description>&lt;P&gt;Hello Bob,&lt;/P&gt;&lt;P&gt;I know this is an old post and you may have discovered the solution by now.&lt;/P&gt;&lt;P&gt;arcpy.mp Map.exportToMAPX() has been available for a while now.&amp;nbsp; We don't have API calls to update the internals of a MAPX or PAGX but you can use ArcGISProject.importDocument(), make the changes using the API and then export back to the same MAPX or PAGX.&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Jeff - layout and arcpy.mp teams&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 20:52:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/python-api-for-map-files-and-layer-files/idc-p/1218030#M21505</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2022-09-30T20:52:14Z</dc:date>
    </item>
  </channel>
</rss>

