Hello everyone,
I m using the Adobe PDF Embed Api to show a PDF inside a page in node.js.
I wrap the script in a function, that will start once the S3 download component returned the S3 address.
The only problem is that I cannot insert the address from the S3 download component inside of the script.
Here the lines of code concerning the URL
adobeDCView.previewFile({
content:{location: {url: dmx.parse("content.serverconnect1.data.sign")}},
metaData:{fileName: "TEST"}
I used the dmx.parse("content.serverconnect1.data.sign")
but it doesn’t works…
any suggestions?
EDIT:
in the original script the URL is written like that:
content:{location: {url: "https://www.website.com/file.pdf" }},