Hello everyone,
I have placed a Media field type on the last tab of a multi tab form. The idea is to allow the user to view a PDF of a report, from which they will do manual data entry. The source of the PDF documents is in the uploads folder under the web folder. The Media control will only download the PDF document and not display it. However, if I place the PDF documents directly in the web folder, they do display as expected. On the Media field's Media tab, I set the URL to the following:
'\uploads\'&p_web.GSV('InvPHI:Patient_ID')&'.pdf'
When I put the PDF's in the web folder, I use the following:
p_web.GSV('InvPHI:Patient_ID')&'.pdf'
The same thing happens in the example app web74. Can anyone offer a solution? I really want the PDF's to be in the uploads folder, or some other custom folder, not in the web folder.
Thank you,
Jeff King