Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

Hi

For reasons of accountability, Supervisors want to view a table of syncs undertaken by employees.

What is the best way to record a log of each time each user syncs (preferably recording the version of the database they are using) so thit can be presented to Supervisors?

Thanks,

ft.

Posted

Hi fishtech,

In the MirrorSync table, there are fields called lastSuccessfulTimestamp, databaseVersion, and lastUsername or (get(AccountName)) that you can use to track those metrics. If you create a script that performs the MirrorSync script, and tracks the last values for those fields on a successful sync, you can keep a record of those in a separate table.

Posted

Following up on Nick's suggestion - Assuming that you're using XML (as opposed to JDBC), the place to do this would be in the didSync method of the customization script.

  • 3 months later...
Posted (edited)

So to clarify the process would be...

 

1. Create a new Log Table to track meta data of  the syncs

2. Using the didSync section of the customization script ON EACH SPOKE to script a 'new record' in the Log Table and populate using the meta data fields/values mentioned above.

3. Sync Log Table to the server

 

Do I have this correct? If so the data on the server will always be 1 sync behind, but I guess this is acceptable.

Or is there a way to get the Log data directly into a table on the server?


Thanks,

ft.

Edited by fishtech

This topic is 1942 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.