GoZync4

Pushing Found Sets

GoZync4.PushingFoundSets History

Hide minor edits - Show changes to output

April 24, 2014, at 09:14 PM by 98.245.112.68 -
Changed line 19 from:
• In GoZync 4 you'll also want to change the definition of the auto-enter calc for gz_LastAction to this:
to:
• In GoZync 4 you'll also want to change the definition of the auto-enter calc for gz_LatestAction to this:
February 09, 2014, at 09:12 PM by 50.132.84.245 -
Changed lines 13-14 from:
In GoZync 4 it's '''even easier'''. You still modify gz_Send the same way we show in the video, but you no longer need to add an auto-enter calc to you "Flag" field in order to clear it. You'll now clear the flag by editing the script "Custom Field Mapping: Transformation and Hooks" in GoZyncMobile. Add a SetField() line for your flag field in the "Push" section as shown here:
to:
In GoZync 4 it's '''even easier'''. You still modify gz_Send the same way we show in the video, but you no longer need to add an auto-enter calc to your "Flag" field in order to clear it. You'll now clear the flag at the end of sync by editing the script "Custom Field Mapping: Transformation and Hooks" in GoZyncMobile. Add a SetField() line for your flag field in the "Push" section as shown here:
Changed lines 17-19 from:
In GoZync 4 you'll also want to change the definition of the auto-enter calc for gz_LastAction to this:
to:
Note that if you haven't edit the script "Custom Field Mapping: Transformation and Hooks" before, it's a very useful part of GoZync in that any fields set within that script are contained within the sync's transaction: that means if something happens to the transaction (record lock or disconnect, for example), changed made within the "Custom Field..." script are reverted along with the rest of the sync. Good stuff: read more [[http://www.seedcode.com/pmwiki/pmwiki.php?n=GoZync4.CustomFieldMapping | here]].

In GoZync 4 you'll also want to change the definition of the auto-enter calc for gz_LastAction to this:
February 09, 2014, at 07:30 PM by 50.132.84.245 -
Changed lines 22-24 from:
   Self )
to:
   Self )

That makes sure newly created records are still tagged as "Modified" (and thus not deleted during a pull).
February 09, 2014, at 07:28 PM by 50.132.84.245 -
Changed line 19 from:
@@[-Case(
to:
-> Case(
Changed lines 22-23 from:
   Self-]
)
to:
   Self )
February 09, 2014, at 07:27 PM by 50.132.84.245 -
Changed line 19 from:
@@Case(
to:
@@[-Case(
Changed lines 22-23 from:
   Self
)@@
to:
   Self-]
)
February 09, 2014, at 07:27 PM by 50.132.84.245 -
Changed lines 13-17 from:
-> In GoZync 4 it's '''even easier'''. You still modify gz_Send the same way we show in the video, but you no longer need to add an auto-enter calc to you "Flag" field in order to clear it. You'll now clear the flag by editing the script "Custom Field Mapping: Transformation and Hooks" in GoZyncMobile. Add a SetField() line for your flag field in the "Push" section as shown here:

-> %center% http://www.seedcode.com/rootimages/stikipad/gozync/pusher.png

->Note that if you're round tripping your recods
to:
In GoZync 4 it's '''even easier'''. You still modify gz_Send the same way we show in the video, but you no longer need to add an auto-enter calc to you "Flag" field in order to clear it. You'll now clear the flag by editing the script "Custom Field Mapping: Transformation and Hooks" in GoZyncMobile. Add a SetField() line for your flag field in the "Push" section as shown here:

%center% http://www.seedcode.com/rootimages/stikipad/gozync/pusher.png

In GoZync 4 you'll also want to change the definition of the auto-enter calc for gz_LastAction to this:

@@Case(
  gz_Send = 1 ; "Modified" ;
  gz_Send = 0 and gz_ModTimeStamp and not $gz_AllowZero ; "Modified" ;
  Self
)@@
February 09, 2014, at 07:16 PM by 50.132.84.245 -
Changed line 15 from:
-> %center% [[http://www.seedcode.com/rootimages/stikipad/gozync/pusher.png]]
to:
-> %center% http://www.seedcode.com/rootimages/stikipad/gozync/pusher.png
February 09, 2014, at 07:16 PM by 50.132.84.245 -
Changed lines 13-17 from:
In GoZync 4 it's '''even easier'''. You still modify gz_Send the same way we show in the video, but you no longer need to add an auto-enter calc to you "Flag" field in order to clear it. You'll now clear the flag by editing the script "Custom Field Mapping: Transformation and Hooks" in GoZyncMobile. Add a SetField() line for your flag field in the "Push" section as shown here:

(:attach pusher.png:)

You can even go further an make a new copy of gz_send based on the original auto-enter calc, and use that just to indicated if a record has been edited since the last sync. That way you can base "modified" on that new field making it pretty easy to scan the "modified" records and flag some of them as "ready to send".
to:
-> In GoZync 4 it's '''even easier'''. You still modify gz_Send the same way we show in the video, but you no longer need to add an auto-enter calc to you "Flag" field in order to clear it. You'll now clear the flag by editing the script "Custom Field Mapping: Transformation and Hooks" in GoZyncMobile. Add a SetField() line for your flag field in the "Push" section as shown here:

-> %center% [[http://www.seedcode.com/rootimages/stikipad/gozync/pusher.png]]

->Note that if you're round tripping your recods
February 09, 2014, at 07:14 PM by 50.132.84.245 -
Changed lines 13-15 from:
In GoZync 4 it's '''even easier'''. You still modify gz_Send the same way we show in the video, but you no longer
to:
In GoZync 4 it's '''even easier'''. You still modify gz_Send the same way we show in the video, but you no longer need to add an auto-enter calc to you "Flag" field in order to clear it. You'll now clear the flag by editing the script "Custom Field Mapping: Transformation and Hooks" in GoZyncMobile. Add a SetField() line for your flag field in the "Push" section as shown here:

(:attach pusher.png:)
February 09, 2014, at 07:11 PM by 50.132.84.245 -
Changed lines 9-13 from:
(:youtube IAr8uQoDt1I:)
to:
(:youtube IAr8uQoDt1I width=500:)

!! Tips

In GoZync 4 it's '''even easier'''. You still modify gz_Send the same way we show in the video, but you no longer
February 09, 2014, at 07:09 PM by 50.132.84.245 -
Changed line 9 from:
(:includeurl http://www.youtube.com/watch?v=IAr8uQoDt1I :) 
to:
(:youtube IAr8uQoDt1I:)
February 09, 2014, at 07:07 PM by 50.132.84.245 -
Changed line 9 from:
<iframe width="500" height="281" src="//www.youtube.com/embed/IAr8uQoDt1I" frameborder="0" allowfullscreen></iframe>
to:
(:includeurl http://www.youtube.com/watch?v=IAr8uQoDt1I :)
February 09, 2014, at 07:06 PM by 50.132.84.245 -
Added lines 8-9:

<iframe width="500" height="281" src="//www.youtube.com/embed/IAr8uQoDt1I" frameborder="0" allowfullscreen></iframe>
March 29, 2013, at 07:06 PM by 50.132.84.245 -
Changed lines 7-9 from:
This is easily done by changing a few fields in your mobile file. Backup your files and then %newwin% [[http://www.youtube.com/watch?v=IAr8uQoDt1I | watch this]].
to:
This is easily done by changing a few fields in your mobile file. Backup your files and then %newwin% [[http://www.youtube.com/watch?v=IAr8uQoDt1I | watch this]].

You can even go further an make a new copy of gz_send based on the original auto-enter calc, and use that just to indicated if a record has been edited since the last sync. That way you can base "modified" on that new field making it pretty easy to scan the "modified" records and flag some of them as "ready to send"
.
March 29, 2013, at 07:00 PM by 50.132.84.245 -
Added lines 1-7:
!! Can I push just *some* of my mobile records back up to the hosted files?

Yes, By default GoZync will push any records that have been changed since the last sync. If there is one 1 such record you want to sync, you can use the script "Zync It - This Record ( RecordID )" to send just that one record. (This is one of the scripts you import into your file when integrating GoZync; read that script's comments for more.)

But what if you want to send just "some" of the records changed since the last sync? For example, you're making orders in the field and have started several, but only finished about ten of them. You don't want to have to manually sync those 10, one by one using "Zync It - This Record ( RecordID )". You'd rather mark those records as "ready" and just sync the "ready" records.

This is easily done by changing a few fields in your mobile file. Backup your files and then %newwin% [[http://www.youtube.com/watch?v=IAr8uQoDt1I | watch this]].
(855) SEEDCODE
[email protected]
Follow us: