FM - Webviewer Error on Find

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?
LVL 2
rvfowler2Asked:
Who is Participating?
 
rvfowler2Author Commented:
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"

)
0
 
rvfowler2Author Commented:
And to clarify, no, in Webviewer setup, the box is NOT checked that says to display content in Find mode.
0
 
rvfowler2Author Commented:
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?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.