When uploading a file to Google Drive I would maintain a reference to the original file with the document in Google. There is a question about meta-data, but I would like to know if I can use one of the two new properties in the new API. The reference would be a 32 character key, and I need to be able to find the document using that key.
Indexable text seems to be an option, I can store the key there and use a search to retrieve the document. However, if the key is in any other document I have the risk getting multiple hits
OriginalFilename is a property that I can set, but I am not sure If I can search for that property.
I am going to try to use a combination, write the key to the indexable text and in the original file name, so I can search for the file and pick the right one using the original file name to pick the right one if I get multiple matches.
This seems a bit of a hack, is there a better way, or any reason why this approach will fail?