Updating existing master page across all topics

Community Beginner ,
Dec 08, 2016 Dec 08, 2016

Copy link to clipboard

Copied

I recently added a font awesome icon script to my project's master page. All topics within the project have the same master page. Is there a way, however, to add the script to the master page itself and then have it update automatically across all of those topics? Currently I have to manually add the script into each EXISTING topic, but any NEW topic automatically has the script built in.

Any ideas community?

Views

297

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 08, 2016 Dec 08, 2016

Copy link to clipboard

Copied

Master Pages work in two entirely different ways.

1. To serve as a boilerplate topic with things in place and ready to go. You just change the content of the topic to suit you. From that point forward, Master Page is pointless because changes don't cascade to all topics created from the page. (Think of a form going through a copier. Changes to the original have no effect on the copies made)

2. To propagate content such as Headers or Footers across multiple topics. In this case, Master Pages have an ongoing relationship with the topics linked to them. Changes to the Header, Footer, or "no-man's land" areas DO propagate to the linked topics.

So try adding your content to the Header or the Footer area of your master page. Note that you will have to bring the Header or Footer into view before you can do that. If your version is older than 2015 Release, click the View menu and choose Header or Footer. In 2015 Release, click one of these icons:

tmp2.png

Cheers... Rick

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 08, 2016 Dec 08, 2016

Copy link to clipboard

Copied

This worked perfectly, thank you Rick! It does not follow proper javascript order as the script is in the header and not the <head></head> section of HTML, but that is not as important as the time savings to not have to manually add the script to each topic.

Thank you!

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 08, 2016 Dec 08, 2016

Copy link to clipboard

Copied

In the Topic List pod, you can select all topics of the project. If you go to the properties, you can assign the master page in one go. But beware: The script has be in the master page's header or footer. Just regular text will only come across for new topics as some default content.

Alternatively, the Single Source Layout has an option to assign the master page on generation only. You won't have to assign the master page manually. The same restriction applies: works for headers/footers only.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 08, 2016 Dec 08, 2016

Copy link to clipboard

Copied

LATEST

Hi William,

This worked as well! Thanks for sharing. Same pros/cons as the method proposed by Rick.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation