<?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 Overwrite for exportToPAGX in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/overwrite-for-exporttopagx/idi-p/1175380</link>
    <description>&lt;P&gt;Arcpy.mp's&amp;nbsp;exportToPAGX is currently unable to export as an overwrite. Use .pagxs to store layouts and need to be able to overwrite with this function.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When attempting to exportToPAGX() with the same filepath as another .pagx in that folder, I get this error:&lt;/P&gt;&lt;P&gt;&amp;lt;module&amp;gt;&lt;BR /&gt;layout.exportToPAGX(out_pagx=OutputExport)&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\_mp.py", line 1526, in exportToPAGX&lt;BR /&gt;return convertArcObjectToPythonObject(self._arc_object.exportToPAGX(*gp_fixargs((out_pagx,), True)))&lt;BR /&gt;RuntimeError: Failed to export pagx to path: "......."&lt;/P&gt;</description>
    <pubDate>Wed, 18 May 2022 23:48:18 GMT</pubDate>
    <dc:creator>BrettFrahm</dc:creator>
    <dc:date>2022-05-18T23:48:18Z</dc:date>
    <item>
      <title>Overwrite for exportToPAGX</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/overwrite-for-exporttopagx/idi-p/1175380</link>
      <description>&lt;P&gt;Arcpy.mp's&amp;nbsp;exportToPAGX is currently unable to export as an overwrite. Use .pagxs to store layouts and need to be able to overwrite with this function.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When attempting to exportToPAGX() with the same filepath as another .pagx in that folder, I get this error:&lt;/P&gt;&lt;P&gt;&amp;lt;module&amp;gt;&lt;BR /&gt;layout.exportToPAGX(out_pagx=OutputExport)&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\_mp.py", line 1526, in exportToPAGX&lt;BR /&gt;return convertArcObjectToPythonObject(self._arc_object.exportToPAGX(*gp_fixargs((out_pagx,), True)))&lt;BR /&gt;RuntimeError: Failed to export pagx to path: "......."&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 23:48:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/overwrite-for-exporttopagx/idi-p/1175380</guid>
      <dc:creator>BrettFrahm</dc:creator>
      <dc:date>2022-05-18T23:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite for exportToPAGX - Status changed to: Needs Clarification</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/overwrite-for-exporttopagx/idc-p/1184835#M19981</link>
      <description>&lt;P&gt;Hi Brett,&lt;/P&gt;&lt;P&gt;I can not reproduce this either as in-process (i.e., 'current') or as a stand-alone script. I tested 2.9 and 3.0. Can you still reproduce?&amp;nbsp; If you still can, did you try the GP env setting OverWriteOuput?&lt;/P&gt;&lt;P&gt;Here is a simple script that works.&amp;nbsp; And it works if I close and reopen and/or run again.&lt;/P&gt;&lt;P&gt;import arcpy&lt;BR /&gt;p = arcpy.mp.ArcGISProject(r"C:\temp\GreatLakes\GreatLakes.aprx")&amp;nbsp; #or 'current'&lt;BR /&gt;lyt = p.listLayouts('Layout')[0]&lt;BR /&gt;lyt.exportToPAGX(r"C:\Temp\Layout.pagx")&lt;BR /&gt;lyt.exportToPAGX(r"C:\Temp\Layout.pagx")&lt;BR /&gt;lyt.exportToPAGX(r"C:\Temp\Layout2.pagx")&lt;BR /&gt;lyt.exportToPAGX(r"C:\Temp\Layout3.pagx")&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 19:57:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/overwrite-for-exporttopagx/idc-p/1184835#M19981</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2022-06-21T19:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite for exportToPAGX - Status changed to: Closed</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/overwrite-for-exporttopagx/idc-p/1196015#M20527</link>
      <description>&lt;P&gt;Closed pending response. We can re-assess once we have more information"&lt;/P&gt;&lt;P&gt;Jeff - Layout and arcpy.mp teams&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2022 17:14:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/overwrite-for-exporttopagx/idc-p/1196015#M20527</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2022-07-26T17:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite for exportToPAGX</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/overwrite-for-exporttopagx/idc-p/1205151#M20936</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1134"&gt;@JeffBarrette&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It was my mistake. The file extension was not included which caused it to error out. The other export functions like .exportToPDF() do not require the file extension which is why I wasn't sure what was causing the issue.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 20:37:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/overwrite-for-exporttopagx/idc-p/1205151#M20936</guid>
      <dc:creator>BrettFrahm</dc:creator>
      <dc:date>2022-08-22T20:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite for exportToPAGX</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/overwrite-for-exporttopagx/idc-p/1206110#M20984</link>
      <description>&lt;P&gt;Thanks Brett for clarifying the issue.&amp;nbsp; I was able to reproduce your issue and submitted a bug.&amp;nbsp; I noticed that with map.exportToMAPX doesn't throw an error but I don't think the export happens - at least the timestamp isn't updated.&lt;/P&gt;&lt;P&gt;exportToPDF(r"C:\Temp\ABC")&lt;/P&gt;&lt;P&gt;exportToPDF(r"C:\Temp\ABC")&lt;/P&gt;&lt;P&gt;Auto creates the .pdf ext, overwrites output and updates the timestamp.&lt;/P&gt;&lt;P&gt;We will make the export experience similar.&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Jeff - Layout and arcpy.mp teams&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2022 21:19:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/overwrite-for-exporttopagx/idc-p/1206110#M20984</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2022-08-24T21:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite for exportToPAGX - Status changed to: In Product Plan</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/overwrite-for-exporttopagx/idc-p/1209400#M21119</link>
      <description>&lt;P&gt;We are testing a fix for this issue for ArcGIS Pro version 3.1&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 20:37:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/overwrite-for-exporttopagx/idc-p/1209400#M21119</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2022-09-02T20:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite for exportToPAGX - Status changed to: Implemented</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/overwrite-for-exporttopagx/idc-p/1270114#M23877</link>
      <description>&lt;P&gt;This Idea has been implemented in ArcGIS Pro 3.1.&amp;nbsp;Please see the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/get-started/whats-new-in-arcgis-pro.htm" target="_blank" rel="nofollow noopener noreferrer"&gt;What's New documentation&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;for more new features in Pro 3.1.&lt;/P&gt;&lt;P&gt;The Ideas in ArcGIS Pro 3.1 blog will be wrapped up soon, highlighting all Ideas implemented in this release, including this one. Once complete, I will add the link to this comment.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 21:18:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/overwrite-for-exporttopagx/idc-p/1270114#M23877</guid>
      <dc:creator>AmeliaBradshaw</dc:creator>
      <dc:date>2023-03-21T21:18:15Z</dc:date>
    </item>
  </channel>
</rss>

