How Can I Call Conversion On Upload?
I am uploading documents behind the scenes and I want them to be already converted before a user goes to view the document the first time. What is the best method to achieve this? Should I just use the image API and request the first page of the document to start conversion?
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
The company marked this question as answered.
-
Inappropriate?Hi wdmny,
In Javascript, you can use the Document::isProcessingComplete() method to see if the processing is finished. Then you might want to check Document::isProcessingSuccess() method to make sure it was successful before displaying the Viewer.
http://vuzit.com/developer/reference/....Document.isProcessingComplete
http://vuzit.com/developer/reference/....Document.isProcessingSuccess
We are working on a better method for retrieving the status using server-side code, and have slowly been implementing this into the client libraries. We have similar methods implemented in some of these libraries, but sometimes it takes us a bit of time to push out all the functionality into all of the client libraries. Are you using one of the client libraries, such as VuzitPHP?
Let me know and I'll tell you a better method if it's available, otherwise I'll tell you a harder [undocumented] way that will work server-side. Thanks, -Chris
I’m happy
-
Inappropriate?I'm using VuzitPHP to upload the documents behind the scenes when emails come in with an attachment. So, I don't need to know if the document is complete (although I may have another use for that) I just need to queue the conversion in Vuzit so that it's ready by the time the user would want to view it.
If the library doesn't natively support it, I can code web service calls manually if I know what service/parameters to use.
Thanks -
Inappropriate?Hi wdmny,
We will have a better method to do this in the future:
Use the getStatus() function: http://wiki.github.com/vuzit/vuzitphp...
The values are as follows:
less than 4 is still processing
4 is complete
5 is removed
greater than 5 is an error
Let us know if you have any other questions. I posted this previously, but GSFN appears to have mangled the post when you use certain characters. -Chris
I’m happy
The company and 1 other person say
this answers the question
Loading Profile...



EMPLOYEE