Expand my Community achievements bar.

Get the current URL of a PDF hosted online

Avatar

Level 2

I have a dynamic PDF posted on the web via a long lived process from Workbench.  I want to be able to read the current URL when the PDF form renders, to check if the form is being used in DEV, TEST, PROD, a local server or a server overseas.

I can tell this by just reading the URL at a given time, yet I haven't been able to get the JavaScript to work, to return the URL from where the PDF is currently being filled out on.  

Thanks,

Jeff

1 Reply

Avatar

Employee Advisor

Share your JavaScript here please.

-Wasil