I have been asked to write an API which will verify the existence of documents in their specified storage location. (Basically to make sure there are no files that show up in PW which don't physically exist.) I can envision a couple of ways to do this depending on what PW functions are available.
1. If there is a document function which will indicate whether the file exists in the designated storage location this is a simple Boolean task.
2. If option 1 is not available, is there a way to return the physical path on the storage location that the document is supposed to reside in so I can check for the existence of that document?
3. Use of an existing verification process which my PW Admin is not aware of at this time.
Any advice or suggestions are helpful.
Thanks,
Stephanie
Hey Dean,
I have a simple question. By "Document Code" - what is this? I've look through the Document Properties and I don't see a Document Code as I expected to see. The Projects have a Code, but this does not match to what I expected the Document Code to be.
Thank you
The code I was referring to is actually a property of the folder (I had it misplaced) if you get the DOC_PROP_PROJECTID of the document, then you can get the PROJ_PROP_CODE (string) from the folder record. That will give you the dms000123 or d01234 folder name.
Thanks for the reply.
That's the answer I needed.