AnsweredAssumed Answered

View a .pdf in Web Viewer in Web Direct

Question asked by WF7A on Jan 2, 2019
Latest reply on Jan 7, 2019 by WF7A

HNY, everybody!

 

The title says it all but I just can't get it to work. Here's the calc used in the Web Viewer:

 

"data:text/html,\"<!doctype><html>

<body>

<iframe src='CHECKLIST_DATA::Artifact__lxr' style='width:100%;height:100%;'></iframe>

</body>

</html>\""

 

I suspect the error lies in the address part of the calc, CHECKLIST_DATA::Artifact__lxr ; I think the calculation needs the address of the .pdf / field on the server but I'm not sure. (Note: The container fields are set to External > Open.) If that's the case, how do I grab the address--and what should it be coded as--for the calc to work?

 

As a Plan B, is there a way to download the .pdf (via a script button) from the website? I know you can't export an object from a container field but maybe there's a workaround.

 

Cheers,

Rich

Outcomes