Slobey Posted September 13, 2006 Share Posted September 13, 2006 Hi guys, I dont know if this is even possible but I thought I would give it a shot. I am using the web viewer to display pdf files. I have an input screen that the user will enter the path of the file. Is there a way to have a "browse" button that will open up a dialog box, so the user can find the file and click on it and have the path entered for them? I have been doing alot of trouble shooting because my users aren't very good at typing in the path of a new file. I have made it as easy as I can by using filepath and keeping the pdf's in the same file as the filemaker file so they just have to type the path from the filemaker file and they still have trouble. It is usually something simple like leaving off the extension or a slash. Is this possible in 8.5? Thanks in advance. Hope springs eternal Mike Link to comment Share on other sites More sharing options...
Ocean West Posted September 14, 2006 Share Posted September 14, 2006 Not with out a plugin. There are several file related plugins you could try Productive Computing's FileManipulator, or Troi File, there are a few others. This would provide you a dialog that allows your users to navigate to a folder or file where can choose the file. The script could put the returned path in to a global field. I just got done doing this for a solution today. Link to comment Share on other sites More sharing options...
Ocean West Posted September 14, 2006 Share Posted September 14, 2006 actually you can do this create 2 fields a text field "path" and global Container field "gFile" then your script using the insert file command will allow the user to choose the file from their buried location. Then set the "path" field to that of the "gFile" then clear the "gFile" field The result would be something like this... file:unit_2b.pdf filemac:/Clients/Project Group/OakWood/pdf/unit_2b.pdf you then would need to parse out the pieces you need or substitute the path you require. Link to comment Share on other sites More sharing options...
Slobey Posted September 14, 2006 Author Share Posted September 14, 2006 That worked great once my brain caught on, Thanks Stephen! Link to comment Share on other sites More sharing options...
Vivian Posted October 10, 2006 Share Posted October 10, 2006 Could you explain how you did this? I'm trying to view (with the web viewer) a pdf file that is stored in a container field. How do you get the path to the container? I'm a newB, any help is appreciated. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 6542 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