FM - Webviewer Error on Find

Posted on 2012-09-05
Last Modified: 2012-09-06
I set up a Webviewer to show pdf files, which I've done before.  However, this time when I go into Find mode, it gives the following error:
"Cannot find 'file:xxxx.'  Make sure the path or Internet address is correct.

My path is:
"file://R:/FM_Files/PROPERTYINFO/" &
PROPERTYINFO::PropCode & PROPERTYINFO::RaishCode & PROPERTYINFO::EntityNumber & "/" &
PROPERTYINFO::PropCode & PROPERTYINFO::RaishCode & PROPERTYINFO::EntityNumber & "_Deed.pdf"

Any suggestions?
Question by:rvfowler2
    LVL 2

    Author Comment

    And to clarify, no, in Webviewer setup, the box is NOT checked that says to display content in Find mode.
    LVL 2

    Author Comment

    Issue is that when you are in Find Mode, it is not on any record, and thus the fields in the calc above show no data in Find Mode.  So, question still is; how do you get around this and why does it still try to render even though I have Find unchecked?
    LVL 2

    Accepted Solution

    Figured it out.   You can use the Get ( WindowMode )  function ( Find = 1); however, if there is any reason why the fields you use in your calc may be empty in Browse mode, the below would work better.

    If (

    IsEmpty ( PROPERTYINFO::PropCode ) or
    IsEmpty ( PROPERTYINFO::RaishCode ) or
    IsEmpty ( PROPERTYINFO::EntityNumber )

     ; "" ;

    "file://R:/FM_Files/PROPERTYINFO/" &
    PROPERTYINFO::PropCode & PROPERTYINFO::RaishCode & PROPERTYINFO::EntityNumber & "/" &
    PROPERTYINFO::PropCode & PROPERTYINFO::RaishCode & PROPERTYINFO::EntityNumber & "_Deed.pdf"


    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    FileMaker Pro Table Relationships Issue 7 266
    FileMakerPro 10 relationships 11 175
    Filemaker xsl help please 3 52
    url for a container field 1 290
    Pop up windows can be a useful feature of any Filemaker database.  Though best used sparingly, they can be employed in a multitude of different ways, for example;  as a splash screen at login, during scripted processes to control user input, as pick…
    Having just upgraded from Filemaker 11 to Filemaker 12 over the weekend, we thought we would add some tips for others making the same move.  In general, our installation went without incident. Please note that this is not a replacement for Chapter 5…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now