Slobey Posted July 11, 2008 Posted July 11, 2008 Hi everyone, I know I have set the webviewer to view pdf files before but for some reason I can't get it to go. I am setting the webviewer with the following path configuration, is this the correct format? "filewin://server computer name/folder/filename.pdf"
iMarcW Posted July 11, 2008 Posted July 11, 2008 (edited) Try file://localhost/[file path] for a local file. I think filewin:// and filemac:// are just for FileMaker's internal (non-Web) references. [the folder after localhost/ should be a folder at the top level of your hard drive, or so says my Mac when I dropped a file onto Firefox] Edited July 11, 2008 by Guest
Slobey Posted July 11, 2008 Author Posted July 11, 2008 That worked, thanks a bunch. One more question if you know. Is there a way to validate a web viewer path. Meaning I will have a script to go the layout where the web viewer is residing but I only want to go if the file has been created and the web viewer is propagated. Is there some kind of an "isempty" test that will determine that without viewing the "page not found" in the viewer itself? Thanks
iMarcW Posted July 11, 2008 Posted July 11, 2008 I've been looking for that, too. The following thread covers this a little: http://www.fmforums.com/forum/showtopic.php?tid/196268/ Sounds like you're supposed to be able to using GetLayoutObjectAttribute, but the person who tried it wasn't successful. I only know how to do it if you can populate a field at the same time the file is created or uploaded.
Recommended Posts
This topic is 5990 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