• 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?

 

2 answers

1 accepted

0 votes
Answer accepted

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

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
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,546 views 4 13
Read article

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