Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 2441 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi everyone,

I am filtering the tables "projects" and "information" user based with XML in the customization script and this works fine.
The table "modifikation" is not filtered in the customization script at all.
(Please see attached relationship from the mirrorsync 4 client)

My problem is that all records from "modifikation" are synced now, even if the related record from "information" is not on the device ...

Because of my settings in the mirrorsync client I expected that only records are synced that are related to the found set of "information" .

Filtered.thumb.png.d0b7fa706c471ba07dbebe99653f5e6f.pngI am thankful for any idea :-)

Kind regards

Carsten

 

Posted

Try this to test your customization script: In FileMaker Pro, switch to the sync-Modifikation layout, find all records, then run the MirrorSync customization script with no parameters. It should filter your found set to just the records that need to be synced. If it doesn't, there is a problem with the customization script - try re-running with the script debugger enabled to see why it's not filtering.

Posted (edited)

I think I had a very basic misunderstanding problem here ... I thought that mirrorsync does somehow do it's own filtering based on the relationships which are set ... .
("only filter modification records that are connected to an information record")

All other tables in my database are filtered in the customization script based on the username, that is why that never was a problem before.

I added a non stored and non synced formula field to filter the "modification" table now and it works !
(A sync with no changes at all takes now 6 seconds)

Is there a faster / better solution for this perhaps ?

Edited by Carsten

This topic is 2441 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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