GoZync4
Zync It
GoZync4.ZyncIt History
Hide minor edits - Show changes to markup
Changed lines 3-4 from:
The "Zync It" scripts were imported into your file as part of integrating GoZync. These are the scripts which start many syncs and are called buy some of then "sync' and "upload" buttons in our example files. These are also the scripts you'll start with to craft a sync that matches your specific workflow.
to:
The "Zync It" scripts were imported into your mobile file as part of integrating GoZync. These are the scripts which start many syncs and are called by the "sync' and "upload" buttons in our example files. These are also the scripts you'll start with to craft a sync that matches your specific workflow.
Changed lines 11-14 from:
Zync It - This Table. Call this script if you're on a table your want to Zync; you'll call this script with no script parameters and it will run then default Zync options for that table/layout. You must be on a layout based on a primary TO (table occurrence) and whose TO name is configured in GoZync: ie. it is one of the TO names listed in the "Table Occurrence / ID columns of GoZyncHosted's configuration tab on the mobile side.
Zync It - This Record ( RecordID ). This is just like the script above (it performs the default zync options for the table occurrence you're on) but it only does so for one record. You'll pass in the record's primary key as a script parameter. In the example below "_id" is the primary key of the table, "TimeRecords":
to:
Zync It - This Table. Call this script if you're on a table you want to Zync; you'll call this script with no script parameters and it will run the default Zync options for that table/layout. You must be on a layout based on a primary TO (table occurrence) and whose TO name is configured in GoZync: ie. it is one of the TO names listed in the "Table Occurrence / ID columns of GoZyncHosted's configuration tab on the mobile side.
Zync It - This Record ( RecordID ). This is just like the script above (it performs the default zync options for the table occurrence you're on) but it does so for only one record. You'll pass in the record's primary key as a script parameter. In the example below "_id" is the primary key of the table, "TimeRecords":
Changed lines 17-18 from:
Zync It - Everything. Call this script without any script parameters and it will run the default zync options for every zynced TO in GoZyncMobile. This is certainly the simplest way to Zync, but if your app has many primary TOs you many not want to sync them all every time.
to:
Zync It - Everything. Call this script without any script parameters and it will run the default zync options for every zynced table occurrence in GoZyncMobile. This is certainly the simplest way to Zync, but if your app has many primary TOs you many not want to sync them all every time.
Changed lines 27-28 from:
TOName - This is the name of the table occurrence you want to sync. The most common reason for calling this API script directly is when your users aren't "on" the TO they want to Zync: they're on an interface records or a child record or on the same base table but where its TO has a different name. Pass the TO name like this: "TOName = Projects" Note the spaces on either side of the equals sign: those are required. "TOName= Projects" won't work.
to:
TOName - This is the name of the table occurrence you want to sync. The most common reason for calling this API script directly is when your users aren't "on" the TO they want to Zync: they're on an interface record, a child record, or on the same base table but where its TO has a different name. Pass the TO name like this: "TOName = Projects" Note the spaces on either side of the equals sign: those are required. "TOName= Projects" won't work.
Changed line 35 from:
The Action parameter is required if you pass in a list of TONames
to:
The Action parameter is required if you pass in a list of TONames.
Changed lines 11-12 from:
Zync It - This Table. Call this script if you're on a table your want to Zync; you'll call this script with no script parameters and it will run then default Zync options for that table/layout. You must be on a layout base on a primary TO (table occurrence) and whose TO name is configured in GoZync: ie. it is one of the TO names listed in the "Table Occurrence / ID columns of GoZyncHosted's configuration tab on the mobile side.
to:
Zync It - This Table. Call this script if you're on a table your want to Zync; you'll call this script with no script parameters and it will run then default Zync options for that table/layout. You must be on a layout based on a primary TO (table occurrence) and whose TO name is configured in GoZync: ie. it is one of the TO names listed in the "Table Occurrence / ID columns of GoZyncHosted's configuration tab on the mobile side.
Changed line 27 from:
TOName - This is the name of the table occurrence you want to sync. The most common reason for calling this API script directly is when you're users aren't "on" the TO they want to Zync: they're on an interface records or a child record or on the same base table but where its TO has a different name. Pass the TO name like this: "TOName = Projects" Note the spaces on either side of the equals sign: those are required. "TOName= Projects" won't work.
to:
TOName - This is the name of the table occurrence you want to sync. The most common reason for calling this API script directly is when your users aren't "on" the TO they want to Zync: they're on an interface records or a child record or on the same base table but where its TO has a different name. Pass the TO name like this: "TOName = Projects" Note the spaces on either side of the equals sign: those are required. "TOName= Projects" won't work.
Changed lines 3-4 from:
The "Zync It" scripts were imported into your file as part of integrating GoZync. These are the scripts which start many syncs and are called buy some of then "sync' and "upload" buttons in our example files.
to:
The "Zync It" scripts were imported into your file as part of integrating GoZync. These are the scripts which start many syncs and are called buy some of then "sync' and "upload" buttons in our example files. These are also the scripts you'll start with to craft a sync that matches your specific workflow.
Changed lines 17-18 from:
Zync It - This File. Call this script without any script parameters and it will run the default zync options for every zynced TO in the file. This is certainly the simplest way to Zync, but if your app has many primary TOs you many not want to sync them all every time.
to:
Zync It - Everything. Call this script without any script parameters and it will run the default zync options for every zynced TO in GoZyncMobile. This is certainly the simplest way to Zync, but if your app has many primary TOs you many not want to sync them all every time.
Changed lines 27-28 from:
TOName - This is the name of the table occurrence you want to sync. The most common reason for calling this API script directly is when you're users aren't "on" the TO they want to Zync: they're on an interface records or a child record. Pass the TO name like this: "TOName = Projects" Note the spaces on either side of the equals sign: those are required. "TOName= Projects" won't work.
to:
TOName - This is the name of the table occurrence you want to sync. The most common reason for calling this API script directly is when you're users aren't "on" the TO they want to Zync: they're on an interface records or a child record or on the same base table but where its TO has a different name. Pass the TO name like this: "TOName = Projects" Note the spaces on either side of the equals sign: those are required. "TOName= Projects" won't work.
Changed lines 11-12 from:
Zync It - This Table. Call this script if you're on a table your want to Zync; you'll call this script with no script parameters and it will run then default Zync options for that table/layout. You must be on a layout base on a primary TO? (table occurrence) and whose TO name is configured in GoZync: ie. it is one of the TO names listed in the "Table Occurrence / ID columns of GoZyncHosted's configuration tab on the mobile side.
to:
Zync It - This Table. Call this script if you're on a table your want to Zync; you'll call this script with no script parameters and it will run then default Zync options for that table/layout. You must be on a layout base on a primary TO (table occurrence) and whose TO name is configured in GoZync: ie. it is one of the TO names listed in the "Table Occurrence / ID columns of GoZyncHosted's configuration tab on the mobile side.
Changed lines 11-12 from:
Zync It - This Table. Call this script if you're on a table your want to Zync; you'll call this script with no script parameters and it will run then default Zync options for that table/layout. You must be on a layout base on a primary TO? (table occurrence) and whose TO name is configured in GoZync: ie. it is one of the TO names listed in the "Table Occurrence / ID columns of GoZyncHosted's configuration tab on the mobile side.
to:
Zync It - This Table. Call this script if you're on a table your want to Zync; you'll call this script with no script parameters and it will run then default Zync options for that table/layout. You must be on a layout base on a primary TO? (table occurrence) and whose TO name is configured in GoZync: ie. it is one of the TO names listed in the "Table Occurrence / ID columns of GoZyncHosted's configuration tab on the mobile side.
Changed lines 11-12 from:
Zync It - This Table. Call this script if you're on a table your want to Zync; you'll call this script with no script parameters and it will run then default Zync options for that table/layout. You must be on a layout base on a primary TO? (table occurrence) and whose TO is configured in GoZync: ie. it is one of the TO names listed in the "Table Occurrence / ID columns of GoZyncHosted's configuration tab on the mobile side.
to:
Zync It - This Table. Call this script if you're on a table your want to Zync; you'll call this script with no script parameters and it will run then default Zync options for that table/layout. You must be on a layout base on a primary TO? (table occurrence) and whose TO name is configured in GoZync: ie. it is one of the TO names listed in the "Table Occurrence / ID columns of GoZyncHosted's configuration tab on the mobile side.
Changed lines 5-6 from:
http://www.seedcode.com/rootimages/stikipad/gozync/zyncit.png
to:
http://www.seedcode.com/rootimages/stikipad/gozync/zyncitscripts.png
Changed lines 11-12 from:
Zync It - This Table. Call this script if you're on a table your want to Zync; you'll call this script with no script parameters and it will run then default Zync options for that table/layout. You must be on a layout base on a primary TO? (table occurrence) and whose TO is configured in GoZync: is one of the TOs listed in GoZyncHosted's dashboard.
to:
Zync It - This Table. Call this script if you're on a table your want to Zync; you'll call this script with no script parameters and it will run then default Zync options for that table/layout. You must be on a layout base on a primary TO? (table occurrence) and whose TO is configured in GoZync: ie. it is one of the TO names listed in the "Table Occurrence / ID columns of GoZyncHosted's configuration tab on the mobile side.
Changed lines 7-8 from:
You can also call the API scripts in GoZyncMobile directly, as you would if you wanted to start a sync out of context (from another table occurrence) or wanted more control,
to:
You can also call the API scripts in GoZyncMobile directly, as you would if you wanted to start a sync out of context (from another table occurrence) or wanted more control.
Changed lines 11-12 from:
Zync It - This Table. Call this script if you're on a table your want to zync; you'll call this script with no script parameters and it will run then default zync options for that table/layout. You must be on a layout base on a primary TO? (table occurrence) and whose TO is configured in GoZync: is one of the TOs listed in GoZyncHosted's dashboard.
to:
Zync It - This Table. Call this script if you're on a table your want to Zync; you'll call this script with no script parameters and it will run then default Zync options for that table/layout. You must be on a layout base on a primary TO? (table occurrence) and whose TO is configured in GoZync: is one of the TOs listed in GoZyncHosted's dashboard.
Changed lines 17-18 from:
Zync It - This File. Call this script without any script parameters and it will run the default zync options for every zynced TO in the file. This is certainly the simplest way to zync, but if your app has many primary TOs you many not want to sync them all every time.
to:
Zync It - This File. Call this script without any script parameters and it will run the default zync options for every zynced TO in the file. This is certainly the simplest way to Zync, but if your app has many primary TOs you many not want to sync them all every time.
Changed lines 27-28 from:
TOName - This is the name of the table occurrence you want to sync. The most common reason for calling this API script directly is when you're users aren't "on" the TO they want to zync: they're on an interface records or a child record. Pass the TO name like this: "TOName = Projects" Note the spaces on either side of the equals sign: those are required. "TOName= Projects" won't work.
to:
TOName - This is the name of the table occurrence you want to sync. The most common reason for calling this API script directly is when you're users aren't "on" the TO they want to Zync: they're on an interface records or a child record. Pass the TO name like this: "TOName = Projects" Note the spaces on either side of the equals sign: those are required. "TOName= Projects" won't work.
Changed lines 27-29 from:
TOName - This is the name of the table occurrence you want to sync. The most common reason for calling this API script directly is when you're users aren't "on" the TO they want to zync: they're on an interface records or a child record. Pass the TO name like this: "TOName = Projects" (TOName is the only required script parameter.)
to:
TOName - This is the name of the table occurrence you want to sync. The most common reason for calling this API script directly is when you're users aren't "on" the TO they want to zync: they're on an interface records or a child record. Pass the TO name like this: "TOName = Projects" Note the spaces on either side of the equals sign: those are required. "TOName= Projects" won't work.
TOName is the only required script parameter.
The TOName parameter can also accept lists of TOs separated by carriage returns. Like this: "TOName = Projects¶Staff¶WorkTypes"
Action - Optionally you can specify the action you'd like take on a TO. Possible actions are Push, Pull, and Round Trip. Including an action would look like this: "TOName = Projects ; Action = Pull". Note the spaces on either side of the semicolon: those are required.
The Action parameter is required if you pass in a list of TONames
RecordID - Allows you to sync just one record: pass in the primary key of the record you're interested in. Like this: "TOName = Projects ; RecordID = " & TimeRecords::_id
You can't pass in a RecordID when you've passed in a list of TONames.
Changed lines 17-22 from:
Zync It - This File. Call this script without any script parameters and it will run the default zync options for every zynced TO in the file.
Call in the API scripts in GoZyncMobile directly
to:
Zync It - This File. Call this script without any script parameters and it will run the default zync options for every zynced TO in the file. This is certainly the simplest way to zync, but if your app has many primary TOs you many not want to sync them all every time.
Call in the API scripts in GoZyncMobile directly
If you want more control over your syncs, you can call the syncing API scripts in GoZyncMobile.fmp12 directly from your file. The script you're interested in is located in the "Zync It" folder and is called:
Zync It - Public API - ( TOName ) { Action ; RecordID }
Notes at the top of the script explain the parameters it accepts, but here are some more details:
TOName - This is the name of the table occurrence you want to sync. The most common reason for calling this API script directly is when you're users aren't "on" the TO they want to zync: they're on an interface records or a child record. Pass the TO name like this: "TOName = Projects" (TOName is the only required script parameter.)
Changed lines 9-10 from:
How do I ca11 the Zync It scripts and which options do they support?
to:
How do I call the Zync It scripts and which options do they support?
Zync It - This Table. Call this script if you're on a table your want to zync; you'll call this script with no script parameters and it will run then default zync options for that table/layout. You must be on a layout base on a primary TO? (table occurrence) and whose TO is configured in GoZync: is one of the TOs listed in GoZyncHosted's dashboard.
Zync It - This Record ( RecordID ). This is just like the script above (it performs the default zync options for the table occurrence you're on) but it only does so for one record. You'll pass in the record's primary key as a script parameter. In the example below "_id" is the primary key of the table, "TimeRecords":
http://www.seedcode.com/rootimages/stikipad/gozync/scriptparam.png
Zync It - This File. Call this script without any script parameters and it will run the default zync options for every zynced TO in the file.
Changed lines 1-5 from:
How do I can the Zync It scripts and which options do they support?
Scripts in your file
Scripts in GoZyncMobile
to:
Overview
The "Zync It" scripts were imported into your file as part of integrating GoZync. These are the scripts which start many syncs and are called buy some of then "sync' and "upload" buttons in our example files.
http://www.seedcode.com/rootimages/stikipad/gozync/zyncit.png
You can also call the API scripts in GoZyncMobile directly, as you would if you wanted to start a sync out of context (from another table occurrence) or wanted more control,
How do I ca11 the Zync It scripts and which options do they support?
Call in the API scripts in GoZyncMobile directly
Changed lines 1-2 from:
How do I can the Zync It scripts and options do they support?
to:
How do I can the Zync It scripts and which options do they support?
Added lines 1-5:
How do I can the Zync It scripts and options do they support?
Scripts in your file
Scripts in GoZyncMobile
|