Clone Page Macro
The Clone Page Macro is a powerful tool for duplicating pages within Confluence. It allows you to specify the source page to clone, the destination location for the cloned page, a default title, default labels, and the option to clone labels from the source page. You can also customize the button text and appearance to fit your needs.
This macro is ideal for creating robust templates and cloning them as needed, making it perfect for meeting notes, customized templates, documentation, and more.
Finding the macro in the Confluence macro navigator
Maybe you’re already a Confluence guru and know the ease of the macro navigator.
However, for those who early in the Confluence journey, here is a quick guide. Click as below and write Clone Page (Space Crafter). You can also Click View more and click Confluence content and Click on Clone Page (Space Crafter)
Configuring the Macro
When setting up the macro, you have the following options to configure:
Source Page
Specify the ID of the page you would like to use as a template. To find the page ID, navigate to the desired page and copy the ID number from the URL panel. (Refer to "Finding Page ID" at the bottom of this page for further guidance if needed.)
Parent Page
Specify the ID of the page you want to designate as the parent of the newly created pages. Similar to the source page, you can find the page ID by navigating to the page and copying the ID number from the URL panel. (Refer to "Finding Page ID" at the bottom of this page for further guidance if needed.)
Title
Set the title for the new page. The title will automatically include a timestamp to ensure uniqueness. For example, a page titled "Your Page Title" created on May 27, 2024, at 13:21 will be named "2024-05-27 13:21 - Your Page Title."
Labels
Define default labels for the newly created pages to ensure proper categorization and easy retrieval.
Copy Labels from Source Page
Optionally, you can copy the labels from the source page to the new page.
Copy Attachments from Source Page
Specify whether you want to copy attachments from the source page to the new page.
Button Text
Define the text that will appear on the clone page button to suit your needs.
Button Appearance
Choose from several options for the button's appearance:
Default
Danger
Primary
Subtle
Warning
These configuration options allow you to tailor the macro to your specific requirements, ensuring a seamless and efficient page cloning process.
Finding the ID of a Confluence Cloud Page
To configure certain features or macros within Confluence, you may need to locate the ID of a specific page. Here's how you can find the page ID:
Navigate to the Page:
Open your Confluence Cloud instance and navigate to the page for which you need the ID.
Locate the URL:
Once on the desired page, look at the URL in your browser’s address bar. The URL typically follows this format:
https://<your-domain>.atlassian.net/wiki/spaces/<space-key>/pages/<page-id>/<page-title>
.
Identify the Page ID:
The page ID is the numerical value located in the URL, immediately following
/pages/
. For example, in the URLhttps://example.atlassian.net/wiki/spaces/PROJ/pages/123456789/Page+Title
, the page ID is123456789
.
Example:
URL:
https://example.atlassian.net/wiki/spaces/PROJ/pages/123456789/Page+Title
Page ID:
123456789
By following these steps, you can easily identify and copy the page ID needed for configuring macros or other features within Confluence.