Assign Document ID to a variable in Javascript?
Is it possible to make the document id a variable? We are calling the same document from multiple places in our website. if we update the document we will have to change the HTML code in multiple places. We want to be able to use Javascript to assign the document ID to a variable.
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.
-
Inappropriate?The other option would be to call the document with a name instead of the Document ID. I can change the name but don't have control to change the Document ID.
-
Thanks again for this suggestion as well. I've added it to our internal database, and we will try to address them soon. -
Inappropriate?Hi Russell,
Thank you for your question.
Are you trying to use a single URL, and then be able to change the document without updating the web page? I'm sorry to say that we don't support this yet. The ID is assigned to you after you submit the document.
We have an example on our website that uses the vuzit.Document.isProcessingComplete(), and vuzit.Document.isProcessingSuccess(), which could be used to get the ID from a URL:
http://vuzit.com/developer/example_do...
This has been requested a few times recently, and we'll try to address this problem soon. -Chris
I’m thankful
The company says
this answers the question
Loading Profile...



EMPLOYEE