Hi,
I have to create Vugen script for upload a document to amazon S3 from various systems/Applications, but the amazon SDK and the upload code they have provide is in Java script library. In this Java script uses, JQuery in many places to get the session token, document URL etc.
We have Web 2.0 license bundle for my client, I have created a script in Web (HTTP/HTML) and used the web_js_run() function to run the Java script and got the error ""TypeError: document is undefined"."
Then in the forum, I found that, "document is an object provided by browser. LR does not support that object. It's possible to provide a mock document object using scripting, but it can't behave like a real brower document object".
Please let me know how to create mock document and handle this situation.