Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Clipboard copying a document content to a template is not working

Stephen C April 29, 2019

I've put a significant effort into creating a document in my personal work space and need to get it into a template.  I have successfully copied the document from my personal space to the teams space using the integrated "Copy" function, but, I don't have the same ability to copy to a template for my team.

I'm trying to now take this document and put it into our spaces templates (for tighter control and revisions) but I'm having a problem taking a clipboard copy of my initial document into the template.

What's happened so far is I've gone into the content tools for the teams area, created a new template, entered a new header, then pasted the previous work, saved the changed, but, nothing showed up in the user created templates list.  I went to search for the document, but nothing shows up in even the recently modified documents.

So the second stab at this, I tried just creating a template, gave it a basic header, saved it, and it showed up in the user created templates list.  I go to edit the document, again paste in my previous document, then save.  I re-edit, and my pasted text does not show up.

Third times the charm, right?  Not in this case.  I add some simple text, just "asdf" kind of text, save, then re-edit, and the "asdf' shows up.  I select all, paste, save, re-edit, and "asdf" shows up.

I'm not getting any kind of error at this point.

I thought about taking the document and copying it into the templates, but, when I select my teams space, I don't have the ability to select the Templates section.

I am administrator of the group, I have already created one other template (Which I STARTED in the template section).

Why are my pastes from one Confluence document not going into a template?  What work arounds are there for this?

1 answer

0 votes
Darryl St_ Pierre
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 29, 2019

Stephen, does the document you're copying from have sections? If so, you will need to recreate the sections on the receiving template before trying to copy content. Additionally, you'll need to copy/paste each section separately.

Otherwise, have you tried just copying a small portion of the original template to the new one?

Stephen C April 29, 2019

There's only the one main section that I can see.

Copying smaller parts of the original document seems to work as expected, so my guess is that there's something very specific that's aborting the ENTIRE transaction.  Maybe images?  Maybe just the volume?  Can't see that as I can make small changes and things work in the original doc.

The part that's got me on a bit of the confused side is that i can preview the changes, and things show up.  MAYBE I'm hitting some kind of limit (This is a rather long document) for the SQL insertion or something like that, and I'm getting a silent error.  I do not have access to the actual back end.

Darryl St_ Pierre
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 29, 2019

Not sure about any limits, but I've run into the copy issue before. It may also be related to a macro/macros(?)

Stephen C April 29, 2019

The fanciest thing this document has is the check-boxes that I'm using is the TOC, link to Jira, and the check boxes (Which I use EVERYWHERE to confirm work done for that step).

I'll look into this more tomorrow when I have some time tomorrow.

At least the chunking of copy/paste works.  If I find what's breaking the paste & save, I'll make a note here about it.  If it's something simple, I can always add it in manually, and go on with the rest of my life not understanding how my manually entering is better than a copy/paste. *shrugs*

Stephen C May 1, 2019

For now, the quick answer I've been able to find is just copy/paste chunks of the original to the template.  I haven't found exactly what's breaking the system yet.

Stephen C May 6, 2019

It seems like the problem is with copying images that were pasted into the document.

I copied a couple of paragraphs with one image from my original document, pasted it into the template, saved it, the entire submission didn't get submitted.  I re-pasted the paragraphs, removed the image, saved, and the text went in.

So now I need to figure out how to get images into the template.  It may be just a browser type of "Copy Image" from the source, then "Paste Image" to the template?

Would this be considered a bug, or is there a reason images can't be copied from one Confluence document to another?

Stephen C May 6, 2019

And to this I add, "only sometimes". I haven't found a pattern quite yet, to why it works only sometimes.

I did the browser only "copy image" from source page, then pasted image into the template, and it took.  I then copied a chunk of text with an image from the source, and pasted it to the template, and it took.

This is going to be a slow-and-steady project, it seems....

Darryl St_ Pierre
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 6, 2019

Frustrating indeed. Trying to search through Known Issues, but I need to brush up on my search syntax. If I find anything or open a bug report, I'll drop it here.

Darryl St_ Pierre
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 6, 2019
Stephen C May 6, 2019

Thanks.  I've added my notes to to that ticket and have unmarked this as "Solved".

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events