March 16, 201510 yr I am using external storage of containers for a solution that is not hosted on FMServer as yet. The location of the container is based on the Client Name, Appointment Type, and Appointment Date. I have a field Storage Path which stores this value. So for example: SMITH, JohnCars150316 I've set the Container base directory to be the Desktop folder I want, and then set the Photo (container) field to external with Open Storage with location - Storage Path. This works... when I first add the photos, but if for instance they get added to the wrong appointment, and need to be moved, it does not move the files around. If I go in and edit the storage settings (without actually changing anything) it asks me to Transfer the files, I say yes, and everything updates correctly. My question is - is there a way to force this Transfer without going into the field settings? I want to automate it for all other users. Thanks in advance!
March 16, 201510 yr but if for instance they get added to the wrong appointment, and need to be moved, it does not move the files around. How is the moving done?
March 16, 201510 yr Author How is the moving done? Not quite sure what you mean. The files do not get moved, until I go in to edit the Container settings and then it it asks me to transfer the containers and it fixes up the images in the wrong folders. Aside from that I don't want the users to have to go in and move files around manually.
March 16, 201510 yr What if you just move the container data to the proper record? That should take care of it.
March 17, 201510 yr Author What if you just move the container data to the proper record? That should take care of it. It doesn't. When I adjust the linked appointmentID - the Storage Path field updates, but the files do not move unless I go into the field settings for the Container field and pretend to change things and then it asks me to Transfer Container Data and it puts everything in the correct folders again. Am I missing something?
March 17, 201510 yr I wouldn't adjust the appointment ID, I would store the container in a global, delete the old appointment record, create a new one and insert the container again.
March 17, 201510 yr Author That was what my plan of attack was if I couldn't get the transfer to happen automatically. Thanks!
Create an account or sign in to comment