Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6368 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

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?

Posted

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.

Posted

Isn't the webviewer independant of the FM architecture meaning you don't have to use either FX.php or the FM API?

Posted

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.

  • Newbies
Posted

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

  • 3 months later...
  • Newbies
Posted

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.

This topic is 6368 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.