Pages - Add a button that when pressed moves the page to another defined location in the space
Asked by Catheren Beaton:

Hi

Is there any possibility to put a bottom on the page that when pressed will transfer/perform the move function to another defined location in the same space. Kinda doing an archiving mechanism.

thanks

C


Answers:
author: Robert Reiner _smartics_
body: Maybe a page action (like copy and move) would integrate better? You can control when an action is actually shown.

Here is a tutorial: [Adding a Custom Action to Confluence](https://developer.atlassian.com/confdev/tutorials/adding-a-custom-action-to-confluence).

Just a thought ...

comments: author: Catheren Beaton
body: Thanks Robert, I'll try that out :smile:


author: Catheren Beaton
body: Hi,

So for example I have a space and created a welcome page and within it I have project page that contains child pages and in that project page I have ArchiveDirectory page (this page has a table of content, child page search of other archived pages).

Under project page I have a how to page which I want to archive off. In that how to page there is an button that once pressed will:

a. Move the page to the ArchiveDirectory and

b. Optionally but the word archive on the page title name or url.

There will be a second button to do the reverse, to move the file back from ArchiveDirectory to project page.

so essentially I'm trying to create buttons with both the move page functionally and rename functionality and if possible code to update a field with a date when archive and unarchived.

is there a way to do this?

thanks all in advance

C


author: Steven F Behnke
body: If this functionality was created, how would a page know what space to go to for archival? How would the page know how to return to the previous location? What if the previous location didn't exist or pages had been restructured?


author: Davin Studer
body: I really don't think you want to put a bottom on the page. :smile:


author: Catheren Beaton
body: **Hi
I am self-hosting confluence. If there are any tutorials on how to do this, that would be appreciated as I am trying to add a kind of archive/unarchive mechanism so we move a page to archive space and back**

**thanks**

**C**


author: Steven F Behnke
body: Sure you could add this, but it needs to be added as a customization or add-on.

Can you detail whether or not you are on Confluence Cloud or if you are self-hosting Confluence?


author: Meck
body: Hi Catheren,

You can use a workaround.

1. Put a image button
2. Create a hyperlink to other page or next page
3. And it's done.

Like this:

[CT_NEXT_BUTTON-2.png](https://confluence.atlassian.com/doc/links-776656293.html)

Regards,

Lameck.

[](https://community.atlassian.com/t5/Confluence-questions/Pages-Add-a-button-that-when-pressed-moves-the-page-to-another/qaq-p/124282?attachment-id=5239){#link_1186c60a44994b}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/20673/1/CT_NEXT_BUTTON-2.png){#display_1186c60a44994b_0}

comments: author: Catheren Beaton
body: Hi Lameck

Thanks for the suggestion, but we want the page to be renamed with archive at the end of the pagename and then moved to the new location as archive and then a button to do the reverse.

thanks

C


Tags: archive

button

move

template