Home > Net >  Are Google Docs Properties saved in document versions?
Are Google Docs Properties saved in document versions?

Time:08-04

I am building an Add-on for Google Docs using Google Apps Script, and that add-on saves some data in the Document Properties. I need to be able to roll back the document, and therefore probably use the Google Versions. My question is, if I save a version, are the document properties saved for that version or are they always the most recent ones?

CodePudding user response:

As mentioned by Tanaike, Document properties are not rolled back whenever an older version is restored, they remain unchanged.

This makes sense, since properties from Properties Service are stored in the script, not in the document. Hence, they live outside document versions, so to speak.

  • Related