I don’t know if you can determine directly with a property of the object model if the document is in V4 or V5 format. You can try to look in the repository table DS_PENDING_JOB, there is a column VERSION (it could be the version of the submitted document). Not very easy but might be a solution.
Something else I didn’t mention is that even if you use the hidden property DesiredFormatVersion41, the send (to user, to repository) command will not preserve the document in V4.
Christophe
From: Williams, Daniel John (Daniel) [SMTP:djw@LUCENT.COM] Sent: Wednesday, 15 March, 2000 14:51
pres ervi ng it as version 4?
Christophe,
Thanks very much for that!
I have one further question to make a complete solution… Is there a way to
find out if the doc sent to the BCA was originally V41, so as to only apply
the “doc.DesiredFormatVersion41 = True” V41 docs, hence making the script work for both V41 & V5 docs.