One way Sync , ie Trigger Sync In and Sync Out  separately.

Hi All,
I understand when we click on the link Sync(which is there in the top right corner of the client loged in page)
the data will come from server's OutQueue and data from client will be uploaded to server's InQueue.
Is there any standard link or option to
to do only Sync In(upload the client data to server)
to do only Sync Out (download the data from server).
I am looking for controlling the In and out separately.
If not what is the other workaround to do the same.
With Regards,
Kali.
OSSI.

import oracle.lite.mSync.*;
public class JavaSyncClient{
    String user = "SALES1";
    String password = "MANAGER";
    //Set the Sync params
    //Set syncParam to fullrefresh
    String syncParam = "";//fullrefresh;
    // Set the Transport params
    String transportType = "HTTP";
    String trasportParam = "server=localhost";
     * Constructor
    public JavaSyncClient() throws Exception{
        //Create the SyncOption class
        SyncOption syncOpt = new SyncOption(user, password,
            syncParam, transportType, trasportParam);
        syncOpt.setSyncFlag("MYORDERS", "", (short) 0);
        //Save the options before the sync
        syncOpt.save();
        //Create the Sync class
        Sync mySync = new Sync(syncOpt);
        //Perform the synchronization
        mySync.doSync();
     * main
    public static void main(String[] args)  throws Exception {
        JavaSyncClient JavaSyncClient = new JavaSyncClient();
}Here is the example the documentation has.
String trasportParam = "server=localhost;reset;pushOnly;tableFlag[TestApp.Emp]=disable;tableFlag[TestApp.Dept]=enable;";

Similar Messages

  • I now have 5 devices that access the "cloud" via Match. I also have 3 computers that need to be authorized. Is there a way to authorize all these computers/devices in such a way to allow everything to access and sync to the cloud?

    I now have 5 devices that access the "cloud" via Match. I also have 3 computers that need to be authorized. Is there a way to authorize all these computers/devices in such a way to allow everything to access and sync to the cloud?

    I had a problem with a 5.0.3 project that would cause 5.0.4 to crash. Apple asked for a copy of the project and later told me it was because there were some empty text layers. Apple is aware of the issue and is working on a fix.
    In my case I still had 5.0.3 on another Mac and could clean up the project. If empty text layers might be the problem, do you know someone with an earlier version who could open it and remove the empty layers? I'd be willing to give it a try if you'd want to send me the project.
    Ross Hunter

  • TS4062 my old laptop died.  i want to sync with new one.  itunes says it will erase and sync onlnew.. i dont want to lose stuff from old computer. help?

    my old laptop died.  i want to sync with new one.  itunes says it will erase and sync onlnew.. i dont want to lose stuff from old computer. help?

    Copy everything from your old computer, or your backup copy of your old computer, to your new one.

  • End of my tether trying to sync 4S after using remove and sync - help?

    Ok so this could have been caused by 2 things - firstly my dad managed to create a new library when he was trying to save a new folder for his photos to go into therefore I had to track down the new library delete it and then reimport our old library from our external hard drive. Since then my 4S keeps saying "erase and sync" which I have done numerous times and still can't sync to this 'new' (even though it's the one we were using three days ago) what can I do other than throw my phone at the wall lol.
    Strangely enough i did the erase ot remove whatever it an sync on my ipad 2 and it worked however im a bit scared to use it on my mums new 5 or ipad mini so I am waiting for some sort of help before trying it.
    Open to anything so even if it means restore to factory settings that's fine.
    But of course secondly it could be a iOS 7 issue which hasn't shown up till now.
    Oh and ps even though my iPad is synced it's suddenly decided to stick on the syncing screen

    http://www.calengoo.com/Start.html
    http://www.busycal.com/
    CalenGoo and BusyCal get good reviews, and claim to keep the colours the same.  I haven't used them myself; I don't need that level of detail.  iCal on your Mac will sync with Google, but only in one colour, so far as I can tell.  
    If you can wait a few months, it will be interesting to see what iCloud is like.  Hopefully it should be seamless and invisible, like you'd expect.

  • I recently gave my old iPod touch someone after restoring it Etc.   the iPod was completely cleared off.  However it's only taking some of their music. How do I get it to sync with their iTunes account and sync all their music ?

    I recently restored my iPod and gave it to my mom.  It accepted some of her music but not all of it synced. How do I get all of her music to sync

    1) You asked "Does she need to reconnect to that itunes/computer and if so what do we need to do to remove this folder of pics from her ipod?" Yes, you have to connect the iPod to that computer and go to the Photos pane for the iPod in iTunes and uncheck sync photos and the click on synce/apply. In the future do not check sync photos.
    iOS and iPod: Syncing photos using iTunes
    2)
    Create a NEW account for using these instructions. Make sure you follow the instructions. Many do not and if you do not you will not get the None option. You must use an email address that you have not used with Apple before.
    Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
    Then on the iPod go to
    - Settings>Messages>Send and receive and sign out your ID and sign into hers. Make sure that only her ID email address is listed.
    - Settings>FaceTime sign out of your ID and sign into hers. Make sure that under You can be reached at only her ID email address is listed
    - Settings>iCloud and sign out and sign in with hers
    Contnue to use the commpn ID/account for Settings>iTunes and App stores.

  • Why can't I transfer my iTunes from my old laptop to new?  Only way seems to sync iPod to new laptop and wipe out all the stored stuff!

    Why can't I transfer my purchased downloads from iTunes from my old laptop to new?  The only option seems to be sync my iPod to the new playlist, and sacrifycing everything that's already stored on it.

    Have a Look Here   iTunes: How to move your music to a new compute
    Also, See Here...  http://support.apple.com/kb/HT2519

  • Weird .Mac sync error -- cannot reset calenders and sync broken

    When I try to sync my desktop I get the following error:
    [ISyncConcreteSession pushChange:]: you can't modify a record that doesn't exist: <ISyncChange 0x3c5d5f0>{ modify record id '8C584579-8929-46A8-AE28-345C91E131DD'
    set title = Unfiled
    set com.apple.ical.type = local }
    I have no idea what this means.
    Moreover, I cannot sync the calendars on my machine with .Mac. I have tried resetting them with .Mac but this does not work, either. It generates the above error message.
    Any ideas here? Since resetting does not work, is there any way that I can throw out all of the calendar information on my desktop and start fresh from .Mac? I know that .Mac is up to date since I since my laptop and Treo to it.
    Thanks,
    mh

    You do not have to toss everything and start again: the Unfiled calendar resides on your machine to support the synchronization of a Palm device.
    If you don't synchronize a Palm device, simply highlight that calendar and press the delete key. If you do, consider moving all of the Palm-created events and tasks in it to one or the other of the several other calendars in iCal.
    Or, if you are using Mac OS X 10.4.3 or later and synchronize with a Palm device, ditch iSync and the iSync Palm Conduit and use the Missing Sync for Palm OS instead:
    http://www.markspace.com/missingsync_palmos.php
    It's helpful to those of us who regularly post here to have you describe your configuration as completely as possible on your specific My Settings page, and supplement that when necessary with additional descriptive language.

  • I am trying to sync my new iPod classic and "Sync" is grayed out

    I have tried everything. Updated iTunes, verified my User id and password, nothing is recognizing the "new" used iPod. When I plug it in to the PC, iTunes is not automatically turning on. When I open iTunes, I go to Devcies, but "Sync" is grayed out. Also, the iPod has started to "Connect" to PC and then automatically starts the "OK to Disconnect" without me doing anything at all. I am floored at this point and don't know what else to try. My old iPod was the original Classic from like 2005ish and it's hard drive just went wonky. I never had an issue with it and iTunes at all.

    Hello Aerogenous,
    I know having a device you can't use can be frustrating. I have located an article that will walk you through a series of troubleshooting steps:
    Restoring iPod to factory settings
    http://support.apple.com/kb/ht1339
    Warning: Because restoring erases all the songs and files on iPod, back up any files you've saved on the iPod disk. All of your songs, videos, podcasts, audiobooks, and games can be loaded back to your iPod provided that you have them stored in your iTunes Library. If you use the Nike + iPod Sport Kit, see this document for more information.
    After you perform the restore, you should attempt to sync your content again. Keep in mind that iPods are meant to sync with one computer and one iTunes library. 
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

  • Sync interface as container element, And Sync Rec in BPM

    Hi Everyone,
                I am trying to implement a scenario with sync RFC to Sync SOAP using BPM.
      RFC <- -> BPM <- -> SOAP
    How do I implemnt this scenario, cause if I am not mistaken the first receive step in the BPM can only be asynchronous.
    Also when I declare container variables in BPM, it lets me choose only from async interface and does not display synch interfaces. So iam only able to create container variables of abstract asynch type.
    Please advice.
    Regards,
    Ashish

    Guys here's why I  want to use BPM:
    I am implementing a scenario wherein:
    1) Data is passed from R/3 to xi and then to a web server.
    2) From webserver the updated data is sent back to xi.
    3) A particular field is boolean checked in XI, if true the data is sent back to webserver.
    4) and then again the updated data is sent back to r/3 via xi.
    R/3 ---> XI ---> Web Server ---> XI -(If condition true)-> Web Server ---> XI ---> R/3
    R/3 ---> XI ---> Web Server ---> XI -(If condition false)-> XI ---> R/3
    Start > Receive (Async) > Send (Sync) > Send (Sync. This step only if boolean true) > Send (Async) > Stop.
    Also i am using BPM because I am implementing double mapping, i.e Message1>Message2>Message3.
    Regards,
    Ashish

  • I have CS 5.  I will be upgrading my Mac to Yosemite.  How do I update my CS 5 (suggested as one way to avoid the CS 5 and Yosemite problems)?

    I have CS 5 installed on my MacBook Air.   I will be upgrading to Yosemite.   It is suggested to update
    my Adobe CS 5 first.   How on earth do you upgrade Adobe CS 5 when you can't even get Adobe.com
    to answer this question?   thanks for any help.

    Yosemite is now up to 10.10.1  Don't forget that update.
    First after the install, Photoshop may ask for a particular brand of Java.
    If so, get it here: Java for OS X 2014-001
    If you are  lucky CS5 will run normally. If not, you will have to reinstall it and all the updates.
    CS5 is a discontinued product, there are no further updates.
    Photoshop CS5 Installer is here: Download CS5 products   Help > Updates should take care of the rest.
    Your serial number should under the account you registered it under. Click the triangle next to Photoshop CS5 to reveal it.
    https://www.adobe.com/account/my-products-services.html
    Gene

  • Clean install of Lion, sync iPhone: had to "Erase and Sync" - folders gone :@

    Is there a fix for this, I cannot be bothered going through them manually and organising them again

    I think I may have realised why the folders have gone. When restoring from my backup hard drive, instead of going through migration assistant, I just dragged the apps, songs, etc... from the backup hard drive onto the iTunes icon in my dock.

  • How do I remove one of the calendars from iCloud but keep it on the iPhone to sync with Outlook by USB and keep the other calendars synced on iCloud ?

    iPhone 5, Macs and iPads at home, Windoze7 system at work. 
    Using iCloud to sync calendars, contacts, etc on all the home devices.  Used USB cable to sync at work with the Windows system, with the Outlook 2010 corporate account (corporate server).  I need only the Outlook calendar to be synced, syncing the contacts created too many problems with duplication, etc.  No need for that.  Worked fine until the latest upgrate to iOS7 and iTunes 11.1.  Used to have a calendar that was not on iCloud and was simply and exclusively syncing between the iPhone and the Windows computer at work. The other 3 calendars synced fine with the macs and iOS devices via iCloud but not with the machine at work - keeping private records private.
    Upon the iOS upgrade, all calendars are now on iCloud.  I am no longer able to remove one - for security too - from the iCloud and sync it with the Windows computer exclusively.  I managed to sync it once on the PC with iTunes by switching iCloud off on the iPhone before connection by USB cable.  Trying it again, it tells me that it will erase all items on the Outlook account (the "more than 25% of your records are going to change" alert) and won't add or modify any.  I stopped the sync in time...
    Tried on the iCloud site for a solution to remove the calendar, nothing.
    There is no iCloud setup on this corporate computer - no access permitted. The USB cable connection is the only solution and up to the upgrade of the iOS this went seamlessly.
    Any solution out there?
    Thanks
    Vladski

    I share a similar situation (usb iTunes sync with Outlook with my corporate laptop; personal calendar on icloud).
    With IOS7, at first, iTunes/Windows does not propose Outlook sync anymore. I need to switch off calendar from iTunes to enable usual usb sync with Outlook. I had to sync it twice while checking "replace iphone data" to get a stable behaviour (like before) IOS7.When I try to re-enable icloud calendars, it proposes me to merge them...
    I did not test merging so far...
    IOS7 and iTunes 11.1 are not completely polished ;-)
    PY

  • Multiclip multi questions (audio question and syncing question)

    I have two questions concerning multiclip editing:
    1. How do you select the audio from one angle to remain the audio throughout as opposed to the audio track changing every time you select a different video source?
    2. If one camera in a three camera set-up stops recording for a technical issue and then goes back up, is there a way to sync both of those files to one angle of a multiclip? If not, is there a way to make them separate angles and sync via input on three angles and on output for the fourth angle?
    Thanks in advance.

    1. In the Viewer's Playhead Sync Menu (upper center), select "Video"
    instead of "Video + Audio".
    2. Sorry, neither of your ideas will work. Multiclips work with actual media
    clips, so two clips will be two angles; and the sync method (in, out, timecode)
    is the same for all clips.
    I suggest you assemble the two files from the camera in a sequence (using
    identical settings as the clips), sync them up exactly (with a little space
    between them), and export them using the same settings to make a new clip,
    which you can then import and use for your multiclip.
    Have fun!
    Les

  • Every time i plug my iphone into computer it wants to erase and sync

    iphone was originally linked to my laptop... however i never transferred anything from the laptop to the iphone.  i now want to use my desktop to transfer music.  so i plug in the iphone, click the checkmark next to sync music. it says that the iphone is currently synced to another library and do i want to erase and sync?  so i erase and sync and pick the music i want and transfer it to my phone.  I unplug the phone, plug it back in again. in itunes it shows the music sync as unchecked... so i click the box to sync music and it says its associated with another library and it needs to erase and sync.
    i have done this 4 times now. and everytime it wants me to erase and sync even though i just did it on the same computer with the same i phone 3 times in a row.  i don't get it, why won't itunes/iphone sync with the new itunes library on my desktop??? what can i do to fix this issue?
    i'm using newest itunes 11 on windows 8.1 computer.  the computer has not been authorized... does this make a difference as to why the sync won't stick?
    BTW i also hate how apple makes you sync your phone, android is so much easier to just plug the phone in and transfer your music/videos manually.  never have a problem doing that.  Only when apple tries to make it so easy it gets way more complicated than it needs to be!

    Hi joy145,
    If you are having issues syncing and would like to manually manage your content, you may find the following article helpful:
    Apple Support: Managing content manually on iPhone, iPad, and iPod
    http://support.apple.com/kb/HT1535
    If you are still having issues or continually prompted to erase and sync, you may want to try restoring your iPhone to factory settings before moving your data over (either via syncing or manually):
    Apple Support: Use iTunes to restore your iOS device to factory settings
    http://support.apple.com/kb/ht1414
    (Note: Restoring iOS software deletes all your data and content from your device, including songs, videos, contacts, photos, and calendar info.)
    Regards,
    - Brenden

  • Ipod is synced with another itunes library"erase and sync"!!

    im trying to convert all my music on a different computer on a new itune but this message comes up (the ipod is synced with another itunes library. an ipod can be synced with only one itunes library at a time) "erase and sync replaces the contents of this ipod with contents of this itunes library". i need to find out if i do a "erase and sync" will my music library from my ipod be automatically deleted and replaced with and empty itunes library ???

    Yes it will be erased and the empty library will replace it. So first thing is you want to say NO to that question. For information/help on getting the stuff into your new computer...
    How to use your iPod to move your music to a new computer using iTunes7
    http://docs.info.apple.com/article.html?artnum=300173
    How to use your iPod to move your music to a new computer using iTunes6
    http://docs.info.apple.com/article.html?artnum=304304
    Copying from iPod to Computer threads...
    http://discussions.apple.com/thread.jspa?threadID=776996&tstart=0
    http://discussions.apple.com/thread.jspa?threadID=805256&tstart=0
    http://discussions.apple.com/thread.jspa?messageID=797432&#797432
    http://discussions.apple.com/thread.jspa?threadID=809624&tstart=0
    Also these useful internet articles...
    http://www.engadget.com/2004/11/02/how-to-get-music-off-your-ipod/
    http://playlistmag.com/help/2005/01/2waystreet/
    iPod: Frequently Asked Questions
    http://docs.info.apple.com/article.html?artnum=60920
    Patrick

  • I created a sync account in 2012 and synced it periodically. In January 2014, my hardrive was reset- how do I pull in my synced info/acct on reset pc?

    I created a sync account in June 2012 and synced it periodically. In early January 2014, I was having some pc issues so I backed up all my data on my pc and dropped it off to Best Buy/Geek Squads. My pc has been repaired and returned back to me today. However, it has been reset to factory settings, which meant I had to reinstall Firefox. Of course I no longer had my original recovery key so I had to choose the "no longer have my device" option so that I could recover the recovery key code. So now I am trying to pull in my synced data from the synced Firefox account and I see nothing. I know I am not doing something right. I am not trying to sync on a second device- it is technically the same device. I am just trying to pull in what was previously synced. I feel like a lot of the other forums are for pairing. It's almost as if once I logged into my Firefox account today and recovered the code- like there is a new account. I need to access my bookmarks- they are very important. Thanks!

    Does your backup contain your entire old Firefox profile folder? This is a hidden folder under
    C:\Users\''username''\AppData\Roaming\Mozilla\Firefox\Profiles
    To ensure that you can view the full contents of your backup, you may need to turn on viewing of hidden files. This article has the steps: [http://windows.microsoft.com/en-us/windows/show-hidden-files].
    If you find the folder, one option would be to set it up as a second profile on your new installation of Firefox to access the old information. That's probably easier than fishing around among the files if it works.

Maybe you are looking for