Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Help Scripting a photo insert into a record

Featured Replies

  • Newbies

I am a T-Shirt printer and we have "films" that represent T-Shirt designs that I am trying to catalog in Filemaker. We are capturing the film name, the customer name and ideally, a photo of what the design looks like.

I'm trying to be able to give the user the ability to click a button that would execute a script that allows the user to browse their local hard drive to locate the JPG image of the design, choose it like you would in any other windows program, and then have the image appear in the container field of the record that the user has open at the time.

I can't seem to figure out how to do this without a plugin.

-S

Hi S and welcome to the FM Forums,

I don't think I'm understanding your setup. Is a standalone process, or are you serving this file?

If you are serving your files, how are they being accessed? How many computers are in your network?

If there isn't a network, How would they search their hard drive for a file located on someone else's computer?

How would a plugin change things?

Lee

Have you tried right clicking on the container field and selecting 'Insert Picture...'?

I am not sure you really need a script.

Jerry

  • Author
  • Newbies

The file is on a network and being served via Filemaker Server. The application is fairly simple. There are only 3 fields in the database. Field 1 is the name of the customer, Field 2 is the name of the artwork and Field 3 is a container for the photo of the artwork. I want the user to be able to click a button and have a windows open dialog box open so that they can browse their local computer to find the artwork photo and select it. Then it would be attached to the record and shown in the container field.

I want the user to be able to click a button and have a windows open dialog box open so that they can browse their local computer to find the artwork photo and select it. Then it would be attached to the record and shown in the container field.

That should be doable. Have a look into the sample file.

InsertPicture.fp7.zip

  • Author
  • Newbies

eos. You are than man! Thank you. Thank you very much.

-Squeed

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.