Help & Support
Send Feedback
Doc Variables
Simple tool to add variables in content, title, header, and footer. Great way to add easy replacements in docs and templates!
soliddigital.com
1,302 users
Works with
Install
Overview
I created this add on because we have a lot of contracts and proposals that use placeholders for commonly used terms such as Client Name, Project Name, or Addresses. Instead of going through the document and trying to find each placeholder, I created Doc Variables to search for a specific syntax, create a form that could assign the variables, and then replace them all in the content, title, header, or footer. Syntax: ${variable_name} Open up the sidebar and a form will display with all available variables. Enter in assignments/replacements, and then click "Replace Variables". Doc Variables will replace all instances of the collected variables.

Latest Update: Ability to Insert other External Documents using "file variable"
Previous: Custom Date Format, Support for Different First Page Headers/Footers, Dropdown Selections

Reviews
March 14, 2017
It's simple and it works very well. I use this tool in conjunction with my own google doc templates and it allows me to create proposal documents in no time. Jesse is active and communicative in supporting the app and I look forward to seeing what will be added next. So far it's satisfying all my use cases.
Submit reply
Cancel
wonderful, helpful and very straightforward add on.
Submit reply
Cancel
February 12, 2017
I've wanted this SO BADLY for a while now and this almost got me there. I don't like that it generates a completely new document each time. I wish I could put it in a mode where it just re-wrote the content of an existing doc when applied so that I don't end up with millions of copies of my templated doc. Also, when it spawns a new document, I wish it would put something unique in the name of that doc so that I know it was the one spawned from the plugin. I almost deleted my template because I was unable to recognize which one of the docs was the original one. The absolute best thing that could happen here is if there was a way to do in-doc variables that were somehow stored as metadata instead of replacing the text so that you could control the content in one doc alone and replace the text multiple times without losing the template... but I can see that this might be difficult :). Altogether, I think I can make this work for my needs, but I wanted to vocalize the issues I am having to let others know about them and to help the developer identify how they can make this plugin a must-have for every docs user! Good work guys :)
Submit reply
Cancel
March 3, 2017
Zack, if you uncheck the "Apply variables in new document" it will replace the variables in the open document. I would also recommend adding a variable to the title of the doc so that you can make the title unique if you are generating a new copy.
January 29, 2017
As far as I'm concerned, this addon does not work. I open Doc Variables and a sidebar shows up with nothing in. Documentation is non-existent.
Submit reply
Cancel
January 31, 2017
There was an issue that was unrelated to our addon -- see info here: https://code.google.com/p/google-apps-script-issues/issues/detail?can=2&start=0&num=100&q=&colspec=Stars%20Opened%20ID%20Type%20Status%20Summary%20Component%20Owner&groupby=&sort=&id=6655 Please try again, and if it is solved I would love it if you could revise your review. Unfortunately, as a plug-in there are times when Google and other extensions can affect the functionality of our product.
January 25, 2017
Very useful and helpful! I am very glad that I stumbled across this! Thank you for this wonderful Google Drive Addon!
Submit reply
Cancel
January 28, 2017
Thanks for trying it out! Tell a friend. Best, Jesse
November 29, 2016
Love it so much I wrote a blog post about how we use it and how it replaced our paid for subscription to Quote Roller. https://tucu.ca/cloud-services/google-add-on-for-tokens-in-documents-alternative-to-quote-roller/ Thanks for making this gem!
Submit reply
Cancel
September 10, 2016
Have used it SO MUCH! Is this available for SLIDES?
Submit reply
Cancel
September 21, 2016
I haven't looked into slides integration, but I will. I'll let you know Ryan. Thanks, Jesse
August 27, 2016
Great add-on. I don't know why I haven't used it sooner. For my use case I'd love to be able to enter one date and then have it be formatted different ways in the doc for example one variable that can be formatted as MM/DD/YYYY or YYYYMMDD. I am not sure if this already exists but just isn't in the document.
Submit reply
Cancel
March 12, 2017
Date formatting has been added as of March 2017 -- let me know how it works for you. Thanks!
February 10, 2017
That is something I would like to be able to do. Perhaps something like: ${starting_date}::date(format:"d.M.yyyy") Anyways, great little add-on!
July 30, 2016
Useful little add-on. To me, it would be perfect if I could import values from a gdoc spreadsheet instead of entering them manually. So you set up a sheet with two columns "var-name" and "var-value" and let Doc Variables know you want to use that sheet (to make it perfect, also optionally specify the column to use for var-values so you can have a sheet with several values for your variables already set up).
Submit reply
Cancel
September 7, 2016
Thanks for the review, Davide. I've begun integration on this feature - look for it in the near future!
A Google User
August 2, 2016
I would love that type of integration too. When making contracts, sometimes the information needs to be saved and then completed later instead of generating immediately. Integration with a Google Sheets or similar would be wonderful!
June 23, 2016
Get start! Hope that there is more to come!
Submit reply
Cancel
1-10 of 19
Additional information
Version
20
Updated
July 5, 2017
Search
Clear search
Close search
Google apps
Main menu