Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Sub Table is not filtered

Featured Replies

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

 

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.

  • Author

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

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.