Deserialise a JavaBean using a modified version of its class

Hi,
When I serialize an object, then modify its class (add a new field), then unserialize this object. It takes into account the new field and set it to null even if I haven't serialized this object again using it's modified class.
How does the java.io.ObjectInputStream class know the class has been changed?
For example I have this class Person:
import java.io.Serializable;
public class Personimplements Serializable {
  private static final long serialVersionUID = -7463768285847981313L;
     private String lastName;
     private String firstName;
     public Person(String firstname, String lastname) {
          lastName = lastname;
          firstName = firstname;
     public String toString(){
          return "Person " + firstName + " " + lastName;
}Then I create an instance of this class and serialize it, and store it to text file, with the following class:
public class WriteInstance {
     public static void main(String[] args) {
          Person me = new Person("John", "Smith");
          try{
               FileOutputStream fos = new FileOutputStream(args[0]);
               ObjectOutputStream oos = new ObjectOutputStream(fos);
               oos.writeObject(me);
          }catch (FileNotFoundException e){
               System.out.println("Error: " + e);
          }catch (IOException e){
               System.out.println("Error: " + e);
}If I deserialize this object using the following class:
public class ReadInstance {
     public static void main(String[] args) {
          try{
               FileInputStream fis = new FileInputStream(args[0]);
               ObjectInputStream ois = new ObjectInputStream(fis);
               Person me = (Person)ois.readObject();
               // print out the instance of Person created in writeInstance.java
               System.out.println(me.toString());
               // print out the result returned from Humanoid.getHeadCount()
               System.out.println(me.getHeadCount());
          }catch (FileNotFoundException e){
               System.out.println("Error: " + e);
          }catch (IOException e){
               System.out.println("Error: " + e);
          }catch (ClassNotFoundException e){
               System.out.println("Error: " + e);
}I got printed out: Person John Smith
Now I modify the class Person and I add a new field private String middleName and add this field to show in my toString() function like this:
public String toString(){
     return "Person " + firstName + " " + middleName + " " + lastName;
}If I deserialize this object again without serializing it first, I got printed out:
Person Charles null Bernard.
Why is that? How does it know the class Person has been modified?
Thanks.
Edited by: Charles60 on Apr 8, 2008 2:56 AM

How does the java.io.ObjectInputStream class know the class has been changed?It doesn't, unless you've altered the serialVersionUID.
So any new fields are set to their default values: zero, boolean, or null.

Similar Messages

  • Wanted: a modified version of PlaceMultipagePDF -- to impose

    SCRIPT TO IMPOSE AN INCOMING PDF
    I need a script that uses a modified version of the sample script supplied with CS4 (called PlaceMultiPagePDF.jsx, or the Applescript equivalent). Instead of placing the pages sequentially:
    1 –> 1
    2 –> 2
    3 –> 3...
    the script would place the PDF pages in 2-Up Perfect Bound imposition order. The arrangement is outlined in the attached document. It would be very flexible to allow for any combination of signature lengths. As a simple example, for a 8-page booklet, the script would place the pages from the PDF in this order in InDesign:
    1 –> 2
    2 –> 3
    3 –> 6
    4 –> 7
    5 –> 6
    6 –> 5
    7 –> 4
    8 –> 1
    I have written a Pidgin BASIC code that handles the page sequencing (see attached document), but I have to steer clear of actually scripting it -- my programming skills end at MS BASIC ca 1986 (which I still use occasionally on my 512k Fat Mac as I can't get anything out of modern BASIC). Why did they ever complicate things with Java and the like?
    Anyway, I have manually stepped through my flowchart several times and haven't come across an error, so all that is required ("all" he says, in hope) is to interrupt the pages coming from the PDF, and instead of 1 -> 1, 2->2... the script steps in and says "Whoa there... you're not going to page 315, you're going to page 297. Would it be that simple? As simple as inserting a bit of renumbering code as per my flowchart?
    I hope so.
    If anyone is interested, please let me know.

    Thanks for the script, Jongware, but it is not quite what I need.I think yours generates one huge saddle-stitch arrangement, whereas I want the ability to generate a group of smaller ones (effectively a variable-length perfect-bound arrangement), thus my listing of "numbers of sheets" in each signature as the input.
    Someone has been kind enough to write an Applescript that does the job. I haven't fully tested it, but really, what is there to test? It seems to work for me. One problem: it can't handle InDesign page numbers other than plain numbers, but I can work around that if I need to. Imposition from InDesign here I come -- run the script, paste the output into Page Range of the Export dialog box, and stand back while the bytes fly.
    If a script could be run from the open Export window (to allow setting up of the various options), this script (or a JS version) could be carried one step further, not that I'm wanting to at this stage. The start page and the various signature lengths could be entered; options set up in the Export window; then the script could:
    1. Generate the imposed number sequence and place them into the Page Range field of the active document;
    2. Export the PDF;
    3. Call on PlaceMultipagePDF, set to automatically create a new InDesign document and place the PDF pages.
    It would be a very flexible, simple way of obtaining variable-length, 2-Up imposition from InDesign.
    SCRIPT TO IMPOSE VARIABLE-LENGTH 2-UP SIGNATURES
    set start to 1 -- overwrite with your starting page number
    set s to {8, 1, 0} -- overwrite with the number of pages in each signature; any number of signatures allowed; must have 0 at end to stop.
    set n to 1
    set begin to start
    set _end to start - 1 + 4 * (item n of s)
    set outputStr to ""
    repeat
    set a to _end
    set b to begin
    set c to begin + 1
    set d to _end - 1
    set halfway to (begin + _end) / 2
    repeat while b < halfway
    set outputStr to outputStr & a & ","
    set outputStr to outputStr & b & ","
    set outputStr to outputStr & c & ","
    set outputStr to outputStr & d & ","
    set a to a - 2
    set b to b + 2
    set c to c + 2
    set d to d - 2
    end repeat
    set n to n + 1
    if item n of s = 0 then exit repeat
    set begin to _end + 1
    set _end to _end + 4 * (item n of s)
    end repeat
    set the clipboard to outputStr
    return outputStr

  • Is it possible to change iWork files on your iMac without having to upload the modified version to iCloud and downloading it again for the next use ?

    Recently I am getting more and more familiar with Numbers, Pages, KeyNote and I have to acknowledge they look smart in many aspects compared to Office for Mac programs ( ..only a bit of time to learn some minor things..). But what really surprises me is that while shifting from MobileMe to ICloud, Apple is not providing a real , full-service, cloud-computing platform for those who , like me, makes use of it mostly for work or business purposes.. I mean, you can do whatever from your Ipad or Iphone ( besides clearly ignoring the necessity one may build up folders with any kind of file in it, not just one categoory..) and every file you manage from these mobile devices, get saved and stored in the new modified version.. But try doing the same form your Imac or McBook Air and you wil have to download from Icloud your file, work on it and having to re-upload onto Icloud back again ==> syncing is not authomatic as it used to be by Idisk in MobileMe  !!.. A real nightmare for those who work with Apple, in my opinion.
    One last thing.. I am having trouble at dragging and dropping PDF files onto Icloud, doesn't accept its format.. Although PDF files are mentioned as acceptable at Pages , for example...
    I can't see the reasons for all this.. At first I thought this was all being done in order to move more and more users from Windows office to IWork programs, if it were for this, I'd be keen on changing, also because I love Iworks programs.. But I found out it's not !.. Unless people at Apple think that all business driven users of former MobileMe should quit their Imac and start working 8-10 hrs a day with the Ipad   :-) !!
    No fear, I know there are plenty of cloud-computing services doing the same as IDisk, but I can't understand why Apple has given so little attention to such needs, that , I guess, are probably the same by many other Mac users..
    Thankful for any help-support-opinion on this,
    Maurizio

    m,
    You can submit Feedback to Apple from the Numbers menu. That's the official channel for comments about the app and suggestions for improvement. The Apple officials don't visit these discussions except to maintain the decorum.
    Jerry

  • I am using the latest version of Mozilla Firefox for 64 bit Windows 7 in Verizon Yahoo Mail. My problem is that when I click on an email and scroll through it to read it the whole screen below the tool bars scrolls together. This is wrong.

    I am using a Beta version of Firefox.

    You can modify the pref <b>keyword.URL</b> on the <b>about:config</b> page to use Google's "I'm Feeling Lucky" or Google's "Browse By Name".
    * Google "I'm Feeling Lucky": http://www.google.com/search?btnI=I%27m+Feeling+Lucky&ie=UTF-8&oe=UTF-8&q=
    * Google "Browse by Name": http://www.google.com/search?ie=UTF-8&sourceid=navclient&gfns=1&q=
    * http://kb.mozillazine.org/keyword.URL
    * http://kb.mozillazine.org/Location_Bar_search

  • Saving original and modified versions

    Hey all,
    Can someone tell me how to stop iphoto from saving both an original and modified version of my photos? It's very confusing when I try to access the photos to upload onto flickr, or to burn dvds etc.
    I can't believe how much time I've wasted on this program--and now have had to start all over from scratch.
    LH

    Hello.
    You do have a choice. Use a file browser. There are many available. They let you simply store the photos on your hard drive, in your folders, how you want them. Easy.
    Why does iPhoto behave as it does? Because it offers much more complex features than any file browser. iPhoto is not a file browser. It is a database application with non-destructive editing. You import a photo. iPhoto creates a thumbnail version, linked to your original, for efficient presentation of your library on screen. You edit, and it creates a full-sized copy, which you then modify. It keeps track of the edited version, linked to your original. Your thumbnail is also located and updated to match the edited version. If you ever wish to go back, you can always Revert to Original. The edited version will be deleted, and your thumbnail will again reflect the change. All before you can blink your eyes.
    So, yes, the way to get your files for uploading or burning to DVD is to select from iPhoto, then export. Because iPhoto will be sure to export the full-sized, most recent version of your photos. You never need to root around its library folders to find them yourself. Exporting gives you the additional ability to rename the copies. And, even better, to resize the copies, since smaller files work better for viewing on most websites. After you finish with the upload you can trash the exported copies.
    Then consider the Albums and Folders in your Source Pane. With a file browser, you'd have to duplicate your files to display them in more than one album (because album = folder). With iPhoto's database, albums never create duplication; they are virtual arrangements which have no presence in your folder structure. The benefit - you can have a photo in 100 albums, with very little increase to the size of your library.
    Play with other search features, and iPhoto becomes very powerful indeed. Smart Albums can be created to compile photos based on many criteria, and they stay current with your library. With the calendar tool you can pull up photos from any year, month, and/or date with just a few clicks. Keywords can be used to include or eliminate (Option-click a keyword) groups of photos until you have just the grouping you want. [Ex: I can find all photos of my daughter, with my in laws, at a festival, NOT at Christmas, with animals....]
    It is a shift in thinking to leave the iPhoto Library alone and let iPhoto deal with the file management. As long as it works, why does it matter how it's done? You have all of its tools at your disposal.

  • How to delete modified version datasource

    I have a datasource in M version and A version. I am getting datasource activation error in BI 7.0
    Please let me know how to delete Modified version.
    Thanks
    Liza

    I removed a field from LO datasource 2LIS_11_VAITM , activated, tested  successfully in R/3.
    I replicated the datasource successfully in BW. But when activate the data source I am getting short  dump ST22 ,the error message is  "  The ASSERT condition was violated".  I am BI 7.0.
    BW side in datasouece I found a not equal to sign ( which means M version is not equal to A version) and datasource is inactive.
    ST22 -
    Short text
        The ASSERT condition was violated.
    Error analysis
        The following checkpoint group was used: "No checkpoint group specified"
        If in the ASSERT statement the addition FIELDS was used, you can find
        the content of the first 8 specified fields in the following overview:
        " (not used) "
        " (not used) "
        " (not used) "
        " (not used) "
        " (not used) "
        " (not used) "
        " (not used) "
        " (not used) "
    Thanks
    Liza

  • Is it possible to recover an original pdf document from a modified version??

    I received a court document in pdf thats internal content was modified, is it in anyway possible to recover the original from the modified version?

    It is possible they did a quick save to preserve the file identity, the metadata shows the program used was to modify the document was 'tx11 pdf version 11.0.111.501. Are either of you familiar with such a program?
    I am on xp, when I right click properties there is a separate pdf tab. Indicating: The file was created jan 2012 and modified August 2013. The pdf producer is tx11 pdf 11.0.111.501.
    I had a friend of a friend look at it and he said "the content was modified, not the file container itself, August 1st 2013, 5:13 a.m. according to its meta data the modification was made by tx11 pdf version 11.0.111.501". He gave me a printout of the metadata but I dont know the program used.
    Whats interesting is the modification date is the same in pdf properties tab but the modification time is 9 am a 4 hour difference. 5 am is before office hours 9 am is shortly after arriving. The august date was a week after a court order.
    So it is possible the file was taken home modified then replaced on the office computer. I am suspecting by a paralegal.

  • LR HTML Web Gallery -- modified version with great features is available

    For anyone using the default Lightroom HTML Web Gallery, one of our associates here has offered a modified version with some great added features.
    John Beardsworth's site -- Lightroom Solutions - http://lightroomsolutions.com/ -- is a wonderful resource for LR tips, plug-ins, information, etc. 
    The default HTML gallery is fine, but I always found it lacked features.  I mentioned this to Ian Lyons (http://www.computer-darkroom.com/) a couple of years ago, and he sent me a modified version with the ability to specify up to 100 rows by using sliders instead of the grid.  When I tried John's modified version, it had some other good features.  I thought.... what if the two modified versions could be combined?  So, I shot John an email, and low and behold, he uploaded a new version of the gallery to his site.  Thank you, Ian and John!
    Here is the link:
    http://lightroomsolutions.com/my-tweaked-built-in-html-gallery/
    Here are the added features that I find most useful:
    Number of rows (up to 100) and columns can be specified using sliders rather than the grid
    Thumbnail images can be sized to your specification
    Filename can be placed on each thumbnail, and you specify size of text
    Clicking the large image advances to the next image rather than returning to the top of the thumbnail page (no need to use the 'next' link)
    See the site for other added features.  (If you already have John's version, the newer version has the same file name and went online April 17, 2013.)
    PLEASE NOTE:  John Beardsworth's HTML gallery is NOT supported by John or Adobe, and is offered "as-is."
    I hope others will find this as useful and I have.
    John

    I've done a version of this where the large file links to the medium and it works no problem. code is based on tutorial code I've already written..
    I'd need to see more code to see where the issue might be..
    Here's what I have:
    (I opted not to put the files in "content", also ignore margin-top, it's not relevent to this)
    AddGridPages {
    template='grid.html',
    rows=model.nonCSS.numRows,
    columns=model.nonCSS.numCols,
    AddCustomCSS {
    filename='resources/css/custom.css',
    AddResources {
    source='resources',
    destination='resources',
    AddPhotoPages {
    template='detail.html',
    variant='_large',
    destination="",
    AddPhotoPages {
        template='medium.html',
        variant='_medium',
        destination="",
    In medium.html
    <div id="detailContainer">
    <div style="margin-top:<%= margintop %>px;">
    <img src="bin/images/med/<%= image.exportFilename %>.jpg" alt="$image.metadata.description"/></div>
    </div>
    in detail.html
    <div id="detailContainer">
    <div style="margin-top:<%= margintop %>px;">
    <a href="<%= image.exportFilename %>_medium.html"><img src="bin/images/photo/<%= image.exportFilename %>.jpg" alt="$image.metadata.description"/></a></div>
    </div>

  • Modified version of the GL2DW extension

    Hi everyone (and especially MenuMachine users),
    After looking at the problems on this forum I have looked at the code of the GL2DW extension and have modified/fixed it in a couple of ways in order to address some issues:
    1) the extension is now tolerant of any errors copying components or templates. If these errors occur, you will still see an error message but the conversion process will not abort. The extension will also use the Library folder if it can't find the Snippets folder.
    2) the extension will no longer modify any MenuMachine code. This is important if you are still using MenuMachine to manage your menus in the converted site.
    I have posted the patched extension here:
    http://menumachine.com/download/GL2DW.zip
    Hopefully this helps many of you.
    As far as I can tell there is no official license or copyright notice for the GL2DW software so I think it's OK for me to post a modified version. If anyone at Adobe objects please contact me directly at [email protected] and hopefully we can work something out.

    I was giving the GL2DW extension a try while trying to write up a step-by-step tutorial, and ran into a problem. Does the extension (this one, or the original from Adobe) not allow for editable template content in the head section? I know DW assumes the whole head section is locked unless an editable region is defined, but GoLive assumes the head section is editable, with head locked regions defined instead.
    If I export a site from GL to DW, then make a change to a template file, the page-specific head content is lost. Is that the case for others too? Page-specific head content isn't supported?
    If that's the case, the best solution I've come up with involves a relatively complex find and replace that gets rid of the head lock comments and wraps head editable comments around any head content above and below the template's head content. Seems like a pretty big problem though that could result in losing a good bit of site code if you weren't looking for it.

  • More modified versions of one object in BW

    Hello,
    is it possible to save more modified versions of any object in BW(InfoObject, InfoCube,...) and then activate one of them? I know it is possible by ABAP programs, but in BW?
    Example: I want to try some settings. But if they are wrong, I have to change it back manually. If I could save the old version and restore later it would be very helpful.
    Thanks for your answer!
    Regards,
    Radek

    Ahoj Radek,
    BW has no such a sophisticated version-ing system as common ABAP/DDIC objects are having.
    This is still area for improvement. Hope people in SAP AG are aware of that.
    Also I'm not aware of any 3rd party custom tool that would allow that.
    Field RSOBJVERS used mostly in all BW tables for identifying version of objects can have only following values, so this is a limit as well:
    A     Active
    M     Revised
    N     New
    D     Content
    H     Historic
    T     Transport
    BR
    m./

  • Can't open iphoto: but I never used a later version?

    Hi everyone,
    I can't open iphoto now, it gives me some message about how I've edited my photos in a more recent version and thus need to update the software on my computer. The odd thing is that I've not been working in any other versions of iphoto or updated my computer in any way. It's like iphoto was working one day and not the next. I'm really scratching my head, now. Any ideas would be appreciated.

    Try these in order - from best option on down...
    1. Do you have an up-to-date back up? If so, try copy the library6.iphoto file from the back up to the iPhoto Library allowing it to overwrite the damaged file.
    2. Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    3. If neither of these work then you'll need to create and populate a new library.
    To create and populate a new *iPhoto 6* library:
    Note this will give you a working library with the same Rolls and pictures as before, however, you will lose your albums, keywords, modified versions, books, calendars etc.
    Move the iPhoto Library to the desktop
    Launch iPhoto. It will ask if you wish to create a new Library. Say Yes.
    Go into the iPhoto Library on your desktop and find the Originals folder. From the Originals folder drag the individual Roll Folders to the iPhoto Window and it will recreate them in the new library.
    When you're sure all is well you can delete the iPhoto Library on your desktop.
    In the future, in addition to your usual back up routine, you might like to make a copy of the library6.iPhoto file whenever you have made changes to the library as protection against database corruption.
    Regards
    TD

  • I have firefox 7 and still get warnings "You are using an old version of Firefox which Gmail no longer supports or Google Plus incompatible. How can I fix?

    When I tried to join Google Plus I get the message Browser no longer supported. First Happened when using firefox 6.0.2 and still happens now with FF 7.
    Also Gmail shows "You are using an old version of Firefox which Gmail no longer supports. Some features may not work correctly"
    and at the bottom of this page the "educated guess" about my browser shows 3.0.15

    Your about:config has been modified with the lines
    general.useragent.extra.microsoftdotnet
    ( .NET CLR 3.5.30729)
    general.useragent.override
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.15; .NET CLR 2.0.50727; ffco7) Gecko/2009101601 Firefox/3.0.15 …
    That is why Google is reporting old version.
    You need to ether find out why or create a new profiles and see if this line is gone. [[Profiles]]
    There is some verbose about MS, but I don't know of any MS add-on that would do this.

  • Changing Datasource modified version to active version

    Hi all,
            Datasource 2LIS_02_ITM is in modified verison in BW production,After transporting the datasource in R/3 side and replicating  in production ,the datasource is showing still in modified version.Any idea to solve this problem.
    Thanks
    Rabi

    Hi,
    First make sure your datasource is active in R/3 production. You can check this in transaction - LBWE and in RSA3 extraction. If the datasource is inactive, RSA3 extraction gives 0 records.
    If everything is in place in R/3, try to replicate in BI using transaction - RSDS.
    You can also try activating your datasource using the below programms
    RSDS_DATASOURCE_ACTIVATE_ALL
    RS_COMSTRU_ACTIVATE_ALL
    RS_TRANSTRU_ACTIVATE_ALL

  • Can't able to syn own videos iPhone using the new version of iTunes 12.0.1

    Can't able to syn own videos to iPhone using the new version of iTunes 12.0.1

    Hi Hamedkhan,
    Happy New Year!  The resources below will show you how to sync your home videos to your iPhone using iTunes 12 for Windows:
    iTunes 12 for Windows: Syncing overview
    http://support.apple.com/kb/PH20342?viewlocale=en_US
    Do I have to sync?
    If you have iPod classic, iPod nano, or iPod shuffle: You have to sync your device with iTunes. There’s no other way to add content to it. 
    If you have an iOS device (iPod touch, iPhone, or iPad): You only need to sync your device with iTunes if you want to: 
    Add your iTunes playlists to your device (unless you subscribe to iTunes Match) 
    Add your own videos to your device
    Add photos, contacts, and calendars to your device (if you don’t use iCloud) 
    Remove previously synced items from your device
    If you prefer not to sync, you don’t have to: you can download items from the iTunes Store directly to your device, and—if you have a free iCloud account—use iCloud to make sure items like your photos, contact, and calendars are on both your computer and device.
    iTunes 12 for Windows: Sync iPod, iPhone, or iPad
    http://support.apple.com/kb/PH20343?viewlocale=en_US
    iTunes 12 for Windows: Sync iPod, iPhone, or iPad
    To add items on your computer to your iPod, iPhone, or iPad, you sync them using iTunes. You can have iTunes sync items automatically (which is the quickest option), or drag items to your device manually (which gives you more control)—or you can do both. You can also remove items from your device automatically or manually. 
    For more information about syncing, see Syncing overview. 
    Select items to sync automatically
    Connect your device to your computer and click the device button near the top left of the iTunes window.
    Select the type of content you want to sync (for example, Music or Apps) in the sidebar on the left.
    Select the Sync checkbox, then select the items you want to sync automatically each time you connect your device.
    Repeat steps 2 and 3 for each type of content you want to include on your device.
    The bar at the bottom of the window shows how much space will remain on your device after you sync.
    By default, iTunes syncs your device whenever you connect it to your computer. If you want to have iTunes ask you before syncing, do one of the following: 
    Require a prompt before syncing this device: Click Summary, then deselect “Open iTunes when this [device] is connected.” 
    Require a prompt before syncing all devices: Choose Edit > Preferences, click Devices, and select “Prevent iPods, iPhones, and iPads from syncing automatically.” 
    When you’re ready to sync, click Apply.
    Tip:    To automatically sync a connected device at any time, choose File > Devices > Sync [device name]. 
    WARNING:    If you delete an automatically synced item from your iTunes library, the deleted item is removed from your device the next time you sync. 
    Add items to your device manually
    You can manually add music, movies, TV shows, apps, podcasts, and iTunes U lessons to your device. You can’t manually add photos, books, contacts, or other info. 
    Make sure your device is connected.
    From anywhere in your iTunes library, begin dragging the items you want to add.
    A pane with a list of connected devices appears on the left.
    Drag the items to your device in the list until a blue border appears.
    The items are added to your device.
    Keep items from being automatically synced
    If there are some items you never want synced (for example, if they’re too big to fit on your device), you can keep them from being synced. 
    You can also turn off automatic syncing for music, movies, and TV shows. You must do this if you want to sync iPod classic, iPod nano, or iPod shuffle with more than one iTunes library, or automatically fill your device with songs using Autofill (see the next task, below). 
    Connect your device to your computer.
    Click the device button, then click Summary.
    Do any of the following:
    Keep individual items from being synced: Select “Sync only checked [items].” Then, deselect the checkbox next to any items in your iTunes library that you don’t want synced. 
    Turn off automatic syncing for music, movies, and TV shows: Select “Manually manage music and videos.” 
    Click Apply.
    Fill your device with a random selection of songs using Autofill
    If you don’t want to always hear the same music on your device, you can have iTunes fill it with a random selection of songs by using Autofill. 
    To use Autofill, you must turn off automatic syncing for music and videos (see instructions above).
    Connect your device to your computer and click the device button near the top left of the iTunes window.
    Click On My Device.
    Select Music in the sidebar on the left.
    Choose which songs you want to sync from the Autofill pop-up menu at the bottom of the Music pane.
    To adjust Autofill settings, click Settings.
    When you’re done, click OK.
    Click Autofill, then click Sync.
    Each time you use Autofill, iTunes adds different songs to your device.
    Remove items from your device
    Make sure your device is connected, then do one of the following:
    Remove an item that was synced automatically: Do any of the following, then sync your device: 
    Deselect the checkbox for the item in your iTunes library, and select “Sync only checked [items]” in the Summary pane. 
    If the item was added because it’s part of a synced playlist, remove the item from the playlist. 
    Change your sync settings to keep the item from being synced.
    Remove an item that was added manually or using Autofill: Click On My Device, select an item (or items), press the Delete key, and click Delete. 
    The types of content you can sync depends on your device. For more information, see the documentation for your device.
    You can sync multiple devices with your iTunes library, and use different settings for each device.
    Important:    Before disconnecting iPod classic, iPod nano, or iPod shuffle from your computer, click the Eject button . 
    Sync and organize iOS apps
    Add photos to iPod, iPhone, or iPad
    Sync contacts, calendars, and other info with iPod, iPhone, or iPad
    Last Modified: Dec 23, 2014
    I hope this information helps ....
    - Judy

  • Error while saving a workflow via sharepoint designer: Server-side activities have been updated. You need to restart SharePoint Designer to use the updated version of activities.

    While saving a workflow using SharePoint designer on a SharePoint site, I get the following error: 
    Server-side activities have been updated. You need to restart SharePoint Designer to use the updated version of activities.
    Steps to recreate error:
    Login to the WFE server hosting IIS and workflow manager, open SharePoint Designer 2013 and login to a SharePoint site.
    Access the list using SharePoint Designer 2013, in the workflow section, click new workflow. 
    In the new workflow dialog, enter workflow details, click save (see screenshot below).
    Error message is displayed as below:
    After restarting SharePoint Designer, the saved workflow is not seen in the site/workflows or list/workflow section.
    Workaround
    When the above steps are repeated while accessing the site via SPD from any other box besides the WFE/Workflow manager host server, the error is not encountered and its possible to save/publish workflows.
    Notes
    Workflow Manager 1.0 is installed.
    The site has been registered with Workflow manager using Register-SPWorkflowService
    cmdlet.
    Any clue on why is this happening?

    Hi Vivek,
    Please close your SharePoint Designer application, clear/delete the cached files and folders under the following directories from your server installed SharePoint Designer, then check results again.
    <user profile>\appdata\roaming\microsoft\SharePoint Designer\ProxyAssemblyCache
    <user profile>\appdata\local\microsoft\websitecache\<sitename>
    http://www.andreasthumfart.com/2013/08/sharepoint-designer-2013-server-side-activities-have-been-updated/
    Thanks
    We are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

Maybe you are looking for

  • My laptops Screen kees flickering (Anyone who works for lenovo read this please)

    Hey guys i have had this laptop for 1 yr and 3 months and i think my screen is goind blufffff lol wtf It keeps flickering a lot of times in a day. Wot a waste of money huh how on earth could a screen of a new laptop stop workin after a year never hea

  • How does one Rewire Reason 4 into Logic Express 7.3?

    I've been trying to help a friend do this over the phone. I used to have Reason 3 and never had a problem with it, but when I have my man boot up Reason 4 after Logic Express, it does not go into slave mode. I don't know why, or how to tell him what

  • Automatic Event Fire on every entry in Input Field

    Dear All, Here i have a scenerio, I am using barcode reader application. After reading the barcode from barcode machine, , numeric value eg  '1234567890' is automatically displaying in my input field. After that I have to call my RFC according to eve

  • Query rewrite clause getting error

    Hi all; I did not complete Query rewrite clause (M.view) , when trying to enable i am getting error and i have asked this question " https://forums.oracle.com/forums/thread.jspa?threadID=2543789 " Question wrongly posted under data communication mode

  • Upgrade and Employer Discount?

    This has probably been asked before but I want to be sure before I change my plan. If I change my plan will my discount automatically apply to the new plan or do I have to go to the store with a pay stub to make sure that the discount applies?