Run the file templating service

The file templating service is a service which replaces placeholders in Google files, Word files and PDF forms by:

  • metadata – for example, system or custom property values


  • the content of a Google document

Note: Application Platform customers have access to the file templating service. To access the article explaining how to configure the file templating service, contact your AODocs sales representative or send an email to

1. Create or open a document in the document class which has the file templating service available. 

2. In your document, make sure the properties used in the file templating service have values.

In our example, the following properties are used in the file templating service: 

  • Policy ID
  • Quality manager
  • Site
  • Tech manager

In addition, there is a custom placeholder "SiteInspection" to insert the content of a Google file into this attachment.


3. Open the custom actions menu and run the file templating service. 

In our example, the AODocs document has three Google file attachments. They all contain placeholders for the file templating service. 


When you run the file templating service, the placeholders are replaced with the values of the corresponding properties and the custom placeholder is replaced with the content of the specified Google file.

Note: The script skips any non-compliant attachments.


Was this article helpful? 0 out of 0 found this helpful
If you didn’t find what you were looking for, don’t hesitate to leave a comment!
Have more questions? Submit a request



Please sign in to leave a comment.