xaquinrosales Posted April 17, 2020 Posted April 17, 2020 Hello, We are MirrorSync 6 users and we work with an app in Filemaker Go from multiple devices and update the information through MirrorSync when we have a Wifi connection. The problem that arises is that we need to save photos in a container field (they take up a lot) and we would like it to disappear from the app on the iPad once uploaded to the server. Can MirrorSync do this? Is there an alternative solution? Thank you!
ryan360Works Posted April 17, 2020 Posted April 17, 2020 Hello, You can perform post-sync Spoke actions in the MirrorSync 6 script under the heading with that description. This should be on or around line 325.
ryan360Works Posted April 17, 2020 Posted April 17, 2020 After speaking with some colleagues this is probably not the best approach. Rather, the best way to accomplish this is with DidInsert, then Hub Filtering. In the Hub - DidInsert section of the MS6 script, flag these records, as this section will only run when they have been inserted on the server. Then in Hub Filtering, filter out records that have been flagged in this way. They will be deleted on the next sync. This assumes that the pictures are in a record that can be removed from the spoke. There isn't a good way to do this if the containers are a field in a record, a record is either synced or its not. It would be dangerous to delete just the image, and risk syncing that deletion up to the server. If these images are stored in a container in a record that cannot be deleted, the best approach is to have the pictures in a related table, so they be handled with the DidInsert and Hub filtering.
Recommended Posts
This topic is 1753 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