It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage
  • Community
  • Products
  • Confluence
  • Questions
  • We have different brands, but want to maintain one documentation. Is it possible to replace e.g. brandname on each page (text, urls) upon pdf export?

We have different brands, but want to maintain one documentation. Is it possible to replace e.g. brandname on each page (text, urls) upon pdf export?

josef florian Nov 24, 2016
 

2 answers

1 accepted

0 votes
Answer accepted
josef florian Nov 24, 2016

Many thanks for your answer.

But the brand names are included in the continuous text as well as in links or tables. means it would be a lot of work to separate the parts. 

While doing further research we found another solution using HTML marco which we might consider.

Replace every occurrence of the brand name with 2 span tags using (class=brand1 and class=brand2) and before exporting to pdf add the following to the export style css:

.brand1 {  
display: none;  
}

The same can be done to the space style, in order to hide one brand on the regular wiki page

0 votes
Milo Grika Nov 24, 2016

I think your best bet is to build pages for text blocks, then create pages for each brand and use Include Page macros to build the pages around the specific brand info.

This way you only have to update the text block pages and all the brand pages will update automatically.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

943 views 0 19
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you