Pushing Found Sets
GoZync5.PushingFoundSets History
Hide minor edits - Show changes to output
Changed lines 3-4 from:
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.)
to:
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 mobile file when integrating GoZync; read that script's comments for more.)
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 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:
to:
• In GoZync 4 and 5 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 line 19 from:
• In GoZync 4 you'll also want to change the definition of the auto-enter calc for gz_LatestAction to this:
to:
• In GoZync 4 and 5 you'll also want to change the definition of the auto-enter calc for gz_LatestAction to this:
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:
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=GoZync5.CustomFieldMapping | here]].
• In GoZync 4 you'll also want to change the definition of the auto-enter calc for gz_LastAction to this:
• In GoZync 4 you'll also want to change the definition of the auto-enter calc for gz_LastAction to this:
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).
That makes sure newly created records are still tagged as "Modified" (and thus not deleted during a pull).
Changed line 19 from:
to:
-> Case(
Changed lines 22-23 from:
Self-]
)
)
to:
Self )
Changed line 19 from:
@@Case(
to:
@@[-Case(
Changed lines 22-23 from:
Self
)@@
to:
Self-]
)
)
Changed lines 13-17 from:
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
)@@
%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
)@@
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
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".
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
-> %center% [[http://www.seedcode.com/rootimages/stikipad/gozync/pusher.png]]
->Note that if you're round tripping your recods
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:)
(:attach pusher.png:)
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
!! 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
Changed line 9 from:
(:includeurl http://www.youtube.com/watch?v=IAr8uQoDt1I :)
to:
(:youtube IAr8uQoDt1I:)
Changed line 9 from:
to:
(:includeurl http://www.youtube.com/watch?v=IAr8uQoDt1I :)
Added lines 8-9:
<iframe width="500" height="281" src="//www.youtube.com/embed/IAr8uQoDt1I" frameborder="0" allowfullscreen></iframe>
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".
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".
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]].
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]].