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?
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:
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.
This worked as well! Thanks for sharing. Same pros/cons as the method proposed by Rick.