Thank you for your post.
When using Instant Web Publishing, all referenced image and movie files must be stored in the Web folder, inside the FileMaker Pro folder.
Thank you for the reaction. So it isn't possible to view the embedded directly in the webviewer. First of it has to be exported to the webfolder. Am I right?
I apologize for not reading your post carefully.
To display the information in a web viewer, you must give the full path name. For example, on a Macintosh, assuming your hard drive is named "Macintosh HD" and the PDF file, Test.pdf, is located inside the Web folder, the web viewer would be:
file:///Volumes/Macintosh HD/Applications/FileMaker Pro 10/Web/Test.pdf
This is for a static address.
For a dynamic address, you will need to reference the table and container field. Assuming the table is named "Test", and the reference is stored in a container field named "Container", the calculation for the webviewer could be:
[ a= GetValue ( Test::Container ; 3 ) ] ;
"file:///Volumes" & Right ( a ; Length (a) - 9 )
(This is for a Macintosh computer).
Now, this is all fine for a local copy, but it would not be accessible over the web. Instead, each person would need to mount a shared drive prior to viewing so that the reference can be found.
For example, you may have a .Mac (.me) account. Have everyone load the shared public folder and set the reference to it.
If you don't want to use web viewer, then you can still view the PDF when stored as a reference when the file is stored in the Web folder when using Instant Web Publishing.