Select to view content in your preferred language

Clone Layout Error Regression in 2.5

547
2
02-28-2020 09:27 AM
AdamDavis
Frequent Contributor

Hi,

Cloning Layout using the code supplied by Esri no longer work in 2.5 - see question below

Duplicate existing layout - ArcGIS Pro SDK 

In the UI the layout is cloned but not renamed; the page size is lost. All the elements are shown but they don't exist! The element list in the cloned layout is empty. The elements can be selected but their properties cannot be shown.

In code the layout exists but it does not have any elements.

If the aprx is saved; closed and then reopened then actually the clone is OK.

Is there a workaround to get the clone to update correctly?

Adam

0 Kudos
2 Replies
UmaHarano
Esri Regular Contributor

Hi Adam,

This is a bug in the 2.5 version of Pro. This has been fixed in 2.6. Also, this has been identified as a fix to be included in the Pro 2.5 patch.

Thank you for reporting this!

Uma

0 Kudos
AdamDavis
Frequent Contributor

Hi Uma,

That's great news - thanks.


Adam

0 Kudos