/
How to manually copy diagram data from page storage format

How to manually copy diagram data from page storage format

Locate the page with unconverted diagrams in the cloud environment

Such pages usually display diagrams like in the image below:

image-20250310-110206.png

Take note of the space name and the page title.

Open it’s counterpart page in the on-prem environment

Navigate to the same space in the on-prem environment and locate the page with the same title.

Click on “…” button and select “View Storage Format“ option. It will open popup similar to the one below:

Locate “plantuml” macro

Search for String ac:name=”plantuml” (or simply plantuml). This will position you on the start of the macro. Every macro is stored in the XML format and the element of interest in this case is plain-text-body. Inside is CDATA with PlantUML diagram stored as plain string (see example above). Copy PlantUML String including @startuml and enduml tags.

Navigate back to the page in the cloud environment

Edit the page and add the plantumlcloud, replacing the unconverted diagram. In the diagram editor paste the diagram text copied from the on-prem page as shown in the example below.

image-20250310-105538.png

Name this diagram and click Insert. Save page and confirm that diagram is now visible.

Pages can contain multiple diagrams that may need to be converted manually. This process should be repeated for each one.

Related content

Converting third party macros
Converting third party macros
Read with this
Change control and release management process
Change control and release management process
Read with this