Got a bit of an issue with displaying a PDF from a weblink. I had it working awhile ago but now after my web dev guy made changes on his side, the link that I am getting is not opening the PDF's as it did the last time.
When I look at the link stored in the field it comes back as
Before I am sure all I did was reference the field name and it worked, but now I am not to sure. I have tried a substitute ( ImageLink ; "\/" ; "/") and that got the field to look like this, ["http://webcompany.co.za/to/wp-content/uploads/gravity_forms/1-a9aff1aff5d0fb19114dcdf2f4/2017/07/FMDev_ConvNov051.pdf"]
But it wasnt working. I tried changing the webviewer to "data:text/html," & Substitute ( InvHead::ImageLink ; "\/" ; "/" ) and now it just displays ["http://webcompany.co.za/to/wp-content/uploads/gravity_forms/1-a9aff1aff5d0fb19114dcdf2f4/2017/07/FMDev_ConvNov051.pdf"] and not the image.
Any ideas on what i am doing wrong.