Newbies Virocon Posted March 13, 2007 Newbies Posted March 13, 2007 I have a container field that I use to store REFERENCES to pdf files. When I try to display these pdfs using the Web Viewer, it won't. When I insert files directly (rather than as a REFERENCE) using "Insert File", it works fine. How, then, do I tell Web Viewer to display the pdf linked to the REFERENCE stored? Thanks in advance!
Kane Posted March 14, 2007 Posted March 14, 2007 When you say Reference, do you mean a text string containing the URL of the PDF?
Newbies Virocon Posted March 14, 2007 Author Newbies Posted March 14, 2007 REFERENCE refers to the following: Insert > File... > (search for file) There is a checkbox at the bottom that allows you to "Store only a reference to the file" rather than the file itself.
Kane Posted March 14, 2007 Posted March 14, 2007 From what I understand, the web viewer and the container field are different beasts altogether. I've kinda got similar issues, but I've found that if you simply use a web viewer, with the URL set up like: file:///c:/folder/etcetc/file.pdf It'll work fine. The URL can also be set up as an evaluation, ie "file:///c:/folder/etcetc/" & table::filename & ".pdf" This works fine for me. But I can't seem to print the PDFs that I can see. Gah.
Newbies Virocon Posted March 14, 2007 Author Newbies Posted March 14, 2007 Thanks Kane. When I evaluated the container value (table::filename), I noticed that it was evaluated to "file:/..." and "filewin:/..." as one value. Not sure why (Windows issue?). In any case, I coded out the "file:/..." portion and now web viewer works fine with the REFERENCE.
Genx Posted March 14, 2007 Posted March 14, 2007 No, its just how FM references the files... you'll see the same type of references on Mac.
Kane Posted March 15, 2007 Posted March 15, 2007 Virocon, could you please tell me if you have any problems printing those PDFs from your layout? Would really really help my sanity. Thanks!
Recommended Posts
This topic is 6519 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now