March 13, 200718 yr Newbies I am using FileMaker Server with the web publishing enginer. I have been searching for a solution/plug in that will let me create a container field and allow for web uploads of files. I found Grab It and Upload It but neither seem to fit what I need. All I want is a single field that I can click on that opens a browse window. Select the file and click OK to upload it. Thats all. I would like to be able to upload multiple files and be able to add/delete as needed. Is there a solution out there for this?
March 13, 200718 yr For quite some time, I have needed this exact thing. By combining some PHP and the Grab-It plugin, I was able to accomplish something that may be close enough to what you desire. For my solution, I did the following: On the layout containing the Container field in question, I also created a Web Viewer window. I then created a PHP page that contained a form with a browse field. This lets the user browse their local computer, then click the "Submit" button in the form to upload the selected file. Then, with a bit more basic PHP, I mov the uploaded file to a directory on my server. Finally, I then use the Grab-It plugin to retrieve the uploaded file and store it in the container field. This is more of an outline than the specific steps/code that I use, but I thought this might help. Depending on your level of PHP/Javascript familiarity, you could use either FX.php or the FM API for PHP to create a PHP page in your Web Viewer window that would display the container field in question, that when clicked would pop up the browse window.
March 13, 200718 yr Isn't the webviewer independant of the FM architecture meaning you don't have to use either FX.php or the FM API?
March 13, 200718 yr Correct. The Web Viewer relies on the Safari or IE 6 browser's functionality to work. Steven
March 13, 200718 yr Yes, it is independent. When I mentioned FX.php or the FM API for PHP, it was in reference to building a web page that would display FM content.
March 14, 200718 yr Author Newbies Thanks Clinton. This is great info.. Would you be willing to share want you have done? I'm not a developer by any stretch and don't have any idea on where to even start with that you have provided. Joe
June 18, 200718 yr Author Newbies Still looking for help on this. Anyone out there that can help me build something that will allow me to use my FM Publishing Engine and the container field to save a file? Clinton is on to something and if you are still out there would you be willing to help me.
Create an account or sign in to comment