Master Document in Google Drive using Google Apps Script

Word and LibreOffice can do this as a built-in feature but Sharepoint and Google Drive/Docs can’t. Given that Sharepoint is a nightmare to just use (!) I tackled the problem on Google Drive. What we are seeking to achieve is to have a main or master document that pulls in other documents, correctly formatted to make a full document. This is useful when “writing a book”, or creating a Health and Safety file or Employee Handbook. Once again I can’t take all the credit for a lot of the coding, the initial script to pull in formatted data from other documents is due to Henrique Abreu with additional help from MogsdadĀ and Serge Insas. Continue reading