Jump to content
Sign in to follow this  
Kelsey

How do you set up a Container Field for Drag and Drop

Recommended Posts

I would like to set up an existing Container Field to store the files inserted by Drag and Drop as reference only.

I've looked at the FileMaker Help for container fields, and the External Storage method seems to be the what I need, but I'm lost.

Currently, I have script steps that use AppleScript from way back provided by Fenton. When we upgraded from fp7, it stoped working so I have been inserting them manually.

I'm in the process of updating a file that the old links were broken because of a Hard Disk Failure. would like to automize this process.

The files are NOT in a single folder, but are kept in individual folders that are tied to different clients.

All suggestions are greatly appreciated.

TIA

Kelsey

Share this post


Link to post
Share on other sites

A couple of notes/thoughts:

1. Store by reference is a deprecated feature. Which means, as of FM 16, it is still in the product, but will eventually be removed. I would be very careful with relying on that functionality.

2. External Storage for containers is not the same thing as Store by Reference. External Storage has FMS setup and maintain folders on the server. They should NOT be touched by users, ever. For a variety of reasons, it will cause serious risk to the operation of FMS and the container files themselves.

3. Using External Storage may be very beneficial for you. It avoids the problem of the links being broken. And at the same time, doesn't bloat the file size by storing all of the files in the database file.

Share this post


Link to post
Share on other sites

Hi Josh,

Thanks for your quick reply.

I need to figure out what this mean and how I can reestablish the links without manually going through and inserting the references.

Kelsey

Share this post


Link to post
Share on other sites

In order for FM to re-establish the links on it's own, they need to be in the same path/folder structure they were in before. The path will then resolve, and FM will see the file. Or you have to do it manually. I've not see a good way to do it. You might be able to have a script go through the records and grab the old path, and then try to insert the file into the database.

From there, you have a decision to make. About how you will handle it long term.

Share this post


Link to post
Share on other sites

 

12 hours ago, Kelsey said:

I'm in the process of updating a file that the old links were broken because of a Hard Disk Failure. would like to automize this process.

I don't see what this has to do with any of your other questions. To restore the links, you should import the entire folder (or folders) of images - see:
http://www.filemaker.com/help/16/fmp/en/#page/FMP_Help%2Fimporting-folder.html%23

In this process you get the option to import the images as reference only.

 

Share this post


Link to post
Share on other sites

Hi

I have the same requirements as Kelsey does of needing to import word documents into a container by drag and drop but store in a remote location

I don't really follow what the store by reference concept that is to be removed means.

What I have is an NAS where I am storing documents and only storing the filepath in Filemaker to avoid bloating the file.

Is it possible to drag and drop, have Filemaker store it in my desired location (so move the file or copy it to that location) and then display it?

If so, what about dragging multiple files?

Joseph

Share this post


Link to post
Share on other sites

@eyedoctor

Are you using FileMaker Server? It has a Remote Containers feature.  The caveat, and it's a big one, FM needs full control over the save location. It needs to not be touched by users directly. All interaction needs to happen through FileMaker, so that is can maintain the path and location of the file.

 

PS...if you update your version of FileMaker in your profile, it helps us answer questions that may be version specific.

Share this post


Link to post
Share on other sites

Thanks for response.

Using FM server and I am currently scanning documents onto an NAS via Filemaker ( to a custom location) and using the file path to display the scanned document in a container field.

What I would like to do is Drag and drop into the container field (not import via script) to save time as I have thousands of documents to import

 

Joseph

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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