Confluence: Print and Test Anchor Links when in DRAFT copy of document

Confluence Server 5.9.7:

I'm in the midst of editing a document. Because it's live content, I cannot save (publish) it until all changes are complete. So, I'm saving as a draft, being very careful not to click SAVE until I'm ready to publish. smile

Is there a way to do the following:

 

  1. Print the entire doc from DRAFT mode. I tried printing earlier today and the Print Preview showed all pages. Now, however, it displays a single page with: (a) The top of the document. (b) The fields/buttons on the bottom e.g. "What did you change" and PREVIEW/SAVE/CLOSE. 
  2. test a new anchor link while in DRAFT mode? When I click on the link, the "Go to Link" choice is grayed out.

Thanks! 

 

1 answer

HI Stephen,

As the risk of pointing out the obvious, why not copy the original page to your personal space, edit, save and test it as much as you like, then move it back to replace the original page when you're ready?

That would solve all your problems without having to find odd workarounds.

Rob, Yes, it is an obvious solution. But not for us. Our installation has issues doing massive copy-and-pastes. (e.g. bold text is copied as plain text, etc.) I've worked with Atlassian on this issue but so far, we don't have a solution.

The above is a long-winded way of saying that copy-paste-edit-test-copy-paste won't work for us.

Thanks!

Hi Stephen,

Apologies, I wasn't being clear.  I meant, have you tried using the Confluence page copy functionality to copy the page (for example to your personal space, or anywhere that's not "live"), make changes, then move the page into "live" to replace the existing one?

Assuming that that's not an option for whatever reason:

  1. Try printing the page from Preview mode, not Edit mode.
  2. Anchors are rendered at run time, so in Edit mode there isn't a link to go to.  You'll have to try it Preview mode.

No worries, Rob. Never a need to apologize when you're trying to help someone. smile

Anchor does not appear to work in preview mode.

As to printing, please see the bottom of this comment.

Maybe it's just me, but I find this behavior strange. I'd think "preview" mode would be "pretty close" to the real thing...

Thanks.

Trying to print from Preview mode.PNG

Hi Stephen,

When I try to preview a page with an anchor on it, it previews but also shows the following message:

"Preview of dynamic macro on draft is only fully supported when shared drafts enabled."

I've not seen this before, but my guess is that it's something to do with collaborative editing (which we haven't got turned on).  Maybe that's a path to explore?

As for the printing, I'm also getting that in Firefox and Chrome, but not in IE11, oddly.  So as a workaround can you print preview in IE11?

Rob,

OK, it prints in IE. But, not exactly as it appears in VIEW mode. e.g. the TOC macro shows as

"Table of Contents | Outline = true" (with a gray background),

It's just like it appears on screen. I guess IE (or Confluence) is printing literally what's on the screen, as opposed to what would be rendered when I save the document?

Thanks,

Steve

 

Hi Steve,

Yes,that's correct, it will only print what's on the screen.  The browser calls your operating system's print routine, which simply prints whatever is being displayed, with no rendering or processing.  It's not a specific browser or application issue, it's just how the print routine works.

Thanks Rob. 

Now, as to your other remark:

When I try to preview a page with an anchor on it, it previews but also shows the following message:

"Preview of dynamic macro on draft is only fully supported when shared drafts enabled."

I've not seen this before, but my guess is that it's something to do with collaborative editing (which we haven't got turned on).  Maybe that's a path to explore?

What is your Confluence version? I'm at 5.9.7 and have never seen this message. Are you on 6.0.x?

 

Hi Steve,

I'm using Cloud, so version 6.0.[whatever the latest minor version is]. 

Using Server here. So, you and I likely have different UIs. Thanks.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

329 views 18 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you