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