Matt Malyschko Posted March 16, 2015 Posted March 16, 2015 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!
Wim Decorte Posted March 16, 2015 Posted March 16, 2015 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?
Matt Malyschko Posted March 16, 2015 Author Posted March 16, 2015 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.
Wim Decorte Posted March 16, 2015 Posted March 16, 2015 What if you just move the container data to the proper record? That should take care of it.
Matt Malyschko Posted March 17, 2015 Author Posted March 17, 2015 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?
Wim Decorte Posted March 17, 2015 Posted March 17, 2015 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.
Matt Malyschko Posted March 17, 2015 Author Posted March 17, 2015 That was what my plan of attack was if I couldn't get the transfer to happen automatically. Thanks!
Recommended Posts
This topic is 3550 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 accountSign in
Already have an account? Sign in here.
Sign In Now