How do I update XML parameters in this situation...?

I have a table called Users that has an XML column, xmlSettings, that I store various data about the user's last session.  Here is a snippet of a typical xmlSettings doc:
<Forms>
   <Form name="InvoiceList">
      <Grid name="dbgInvoices">
        <GridLayout>
          <Columns>
            <Column key="field1" />
            <Column key="TableName.ID"/>
            <Column key="field2" />
            <Column key="TableName.SomeOtherField" />
            <Column key="field3" />
          </Columns>
        </GridLayout>
      </Grid>
   </Form>
   <Form name="SomeOtherForm">...</Form>
<Forms
Now in this document, there will be settings for many forms.  I need to change "TableName" to "SomeTable".  I need to go through all the forms of the <Forms> node, and for the node that has name=InvoiceList, I need to go
into the <Columns> nodes and change any mention of "TableName" to "SomeTable".  I only have to do this for the InvoiceList form.  Also, there will be a row in this table for each user, and each row has its own xmlSettings
column that will contain settings for many forms.  I need to do this for all rows in the table.  I'm assuming I need to use .nodes() somehow, but I can't quite figure it out.
I can probably do this with a sproc of some sort, but I'm guessing there's a query that will do it.

Saurabh
Your approach is correct but suggestion wont give the exact output what poster is looking at
The reason is since the update happens inside loop it will replace all the instances of key with your first replace value itself and will exit loop.
See the output for your illustration
<Forms>
<Form name="InvoiceList">
<Grid name="dbgInvoices">
<GridLayout>
<Columns>
<Column key="field1" />
<Column key="TableName.ID" />
<Column key="field2" />
<Column key="TableName.SomeOtherField" />
<Column key="field3" />
</Columns>
</GridLayout>
</Grid>
</Form>
<Form name="SomeOtherForm">...</Form>
</Forms>
The above xml would get replaced as
<Forms>
<Form name="InvoiceList">
<Grid name="dbgInvoices">
<GridLayout>
<Columns>
<Column key="field1" />
<Column key="SomeTable.ID" />
<Column key="field2" />
<Column key="SomeTable.ID" />
<Column key="field3" />
</Columns>
</GridLayout>
</Grid>
</Form>
<Form name="SomeOtherForm">...</Form>
</Forms>
If you see part in bold you can find that it will end up replacing all occurances with first key_val value from @table1
So the solution would be to do something like below
DECLARE @UserTable TABLE
userId INT IDENTITY(1, 1) ,
sUserName NVARCHAR(150) ,
xmlSettings XML
INSERT INTO @usertable
SELECT 'saurabh' ,
'<Forms>
<Form name="InvoiceList">
<Grid name="dbgInvoices">
<GridLayout>
<Columns>
<Column key="field1" />
<Column key="TableName.ID"/>
<Column key="field2" />
<Column key="TableName.SomeOtherField" />
<Column key="field3" />
<Column key="TableName.SomeOtherField2" />
<Column key="field3" />
</Columns>
</GridLayout>
</Grid>
</Form>
<Form name="SomeOtherForm">...</Form>
</Forms>'
UNION ALL
SELECT 'test' ,
'<Forms>
<Form name="InvoiceList">
<Grid name="dbgInvoices">
<GridLayout>
<Columns>
<Column key="field1" />
<Column key="TableName.ID"/>
<Column key="field2" />
<Column key="TableName.SomeOtherField" />
<Column key="field3" />
<Column key="TableName.SomeOtherField3" />
<Column key="field3" />
</Columns>
</GridLayout>
</Grid>
</Form>
<Form name="SomeOtherForm">...</Form>
</Forms>'
SELECT *
FROM @usertable
WHILE EXISTS ( SELECT 1
FROM @UserTable
WHERE xmlSettings.exist('//Grid[@name="dbgInvoices"]/GridLayout/Columns/Column[ contains(@key , "TableName")]') = 1 )
BEGIN
UPDATE m
SET xmlSettings.modify('replace value of (//Grid[@name="dbgInvoices"]/GridLayout/Columns/Column[ contains(@key , "TableName")]/@key)[1] with sql:column("replaceval") ')
FROM
(SELECT xmlSettings,REPLACE(t.u.value('./@key[1]','varchar(100)'),'TableName.','SomeOthertable.') AS replaceval
FROM @UserTable p
CROSS APPLY p.xmlSettings.nodes('/Forms/Form/Grid[@name="dbgInvoices"]/GridLayout/Columns/Column[ contains(@key , "TableName")]')t(u)
)m
END
SELECT *
FROM @usertable
Now check the output and you will see it will do replacement correctly
<Forms>
<Form name="InvoiceList">
<Grid name="dbgInvoices">
<GridLayout>
<Columns>
<Column key="field1" />
<Column key="SomeOthertable.ID" />
<Column key="field2" />
<Column key="SomeOthertable.SomeOtherField" />
<Column key="field3" />
<Column key="SomeOthertable.SomeOtherField2" />
<Column key="field3" />
</Columns>
</GridLayout>
</Grid>
</Form>
<Form name="SomeOtherForm">...</Form>
</Forms>
Please Mark This As Answer if it solved your issue
Please Mark This As Helpful if it helps to solve your issue
Visakh
My MSDN Page
My Personal Blog
My Facebook Page

Similar Messages

  • How do you configure the server in this situation?????????????

    Hi,
    We have Oracle 10.2 and Windows 2003.
    We have Oracle on Cluster (with Windows software).
    When the System are without cluster all it’s OK!!!!!!
    We have 2 Resources Cluster Group: Oracle and Applications.
    We have Oracle in Oracle cluster group.
    We have “W” Drive and a ftp program in Application cluster group.
    We have C drive in both nodes. We have installed Oracle in both nodes but we have “W” drive only associate to the Active Node because is a Cluster resource (Application cluster group).
    All days we receive text files by ftp and we put it on W Drive. This text files are readen with external tables in Oracle.
    We have a problem when oracle fails and it goes to the another node (for ex. node2) because the external tables fail because the files are on Node1 on W Drive. If we move manually Applications cluster resource to Node2 then all it is OK.
    We think to put UNC pathes instead of “W” but it’s not possible (Metalink: Note:290703.1)
    How do you configure the server in this situation?????????????
    Thanks!

    We run a similar configurations and i doubt you have a chance other then reconfigure your setup. The way we do it is to have an ftp client in our database group and periodically transfer the files a second time (not elegant but it's working).
    If that's not an option you might be able to use unc names in your ftp server and set the ftp root to a directory hosted on a disk which is part of the database group.
    Or move to unix (that's what we do now). Than you don't have to bounce your server once in a month to apply security patches...

  • How can I simplify the code in this situation?

    I want to create some interaction about ABCDEFGHIJKLM objects. If I l click A and B, the screen will show F. If I click A and C, it will show G.  If I click A and D. it will show F..etc.  When I mouseove A , it will show only L. If I mouseover B, it will show M only. In this situation, I need to create each eventListener (MouseoverA MouseOverB CLICK A, CLICK B, bothAandBClick, bothAandCClick, bothAandDclick......) Can I use other method to simplify the code?
    import flash.display.MovieClip;
    import flash.events.MouseEvent;
    import flash.events.Event;
    import flash.ui.Mouse;
    var redbtn:MovieClip=new Redbtn();
    redbtn.x=321;
    redbtn.y=13;
    addChild(redbtn);
    var yellowbtn:MovieClip=new Yellowbtn();
    yellowbtn.x=130;
    yellowbtn.y=106;
    addChild(yellowbtn);
    var bluebtn:MovieClip=new Bluebtn();
    bluebtn.x=726;
    bluebtn.y=89;
    addChild(bluebtn);
    var blackbtn:MovieClip=new Blackbtn();
    blackbtn.x=236;
    blackbtn.y=479;
    addChild(blackbtn);
    var greenbtn:MovieClip=new Greenbtn();
    greenbtn.x=590;
    greenbtn.y=457;
    addChild(greenbtn);
    var page1:MovieClip=new relationship();
    var redBtnClicked:Boolean;
    var blueBtnClicked:Boolean;
    redbtn.addEventListener(MouseEvent.CLICK, onRedBtnClick);
    redbtn.addEventListener(MouseEvent.ROLL_OVER, onRedOver);
    redbtn.addEventListener(MouseEvent.ROLL_OUT, onRedOut);
    bluebtn.addEventListener(MouseEvent.CLICK, onBlueClick);
    bluebtn.addEventListener(MouseEvent.MOUSE_OVER, onBlueOver);
    function onRedOver(evt:MouseEvent):void{
              trace("redover");
              redbtn.gotoAndStop(2);
    function onRedOut(evt:MouseEvent):void{
              trace("redout");
              redbtn.gotoAndStop(3);
    function onBlueOver(evt:MouseEvent):void{
              trace("blueover");
    function onRedBtnClick(evt:MouseEvent):void{
              redBtnClicked=true;
              bothClickedF();
    function onBlueClick(evt:MouseEvent):void{
              blueBtnClicked=true;
              bothClickedF();
    function bothClickedF():void{
              if (blueBtnClicked&& redBtnClicked){
                        trace("two buttons are clicked");
                        addChild(page1);
                        redBtnClicked=false;
                        blueBtnClicked=false;
    page1.trailer_sex.addEventListener(MouseEvent.CLICK, page1Click);
    function page1Click(evt:MouseEvent):void{
       removeChild(page1);

    I means  this
    Click
    A and B  go to C
    A and D go to E
    A and F go to G
    A and I go to J
    A and N go to O
    B and D go to K
    B and F go to L
    B and I go to M
    B and N go to P
    F and I go to Q
    F and N go to R
    MouseOver
    A  over then appear S
    B  over then appear T
    D  over then appear U
    F  over then appear V
    I  over then appear W
    N  over then appear V
    There is not time limit.

  • Interactive Gantt chart - how to receive updated XML after user changes

    Hello,
    I failed to receive changed XML after user updates.
    I've constructed following example:
    Created context attribute of type XSTRING, binded it to the "dataSource" property of the Gantt chart control.
    I pass following XML to the control:
    <?xml version="1.0" encoding="iso-8859-5" ?>
    <SAPJNetData version="1.0">
    <Application type="GANTT" version="1.0" />
    <TypeRepository version="1.0" href="/SAP/BC/WebDynpro/SAP/ZT_INV_WDR_TEST_GANTT/gantPR02P00086_3_tr.xml" />
    <UserInterface version="1.0" href="/SAP/BC/WebDynpro/SAP/ZT_INV_WDR_TEST_GANTT/gantPR02P00086_3_ui.xml" />
    <Graph type="Gantt.Graph" version="1.0">
    <rows>
      <row id="001" />
      <row id="002" />
      <row id="003" />
      </rows>
    <dates timeZone="GEurope/Berlin" locale="de_DE" format="dd.MM.yyyy" dateEnd="20.01.2010">
      <section date="01.01.2010" unit="DAY" unitSize="20" />
    <calendarItem id="Cal.1stDayInMonth">
      <repetition unit="MONTH" />
      </calendarItem>
    <calendarItem id="Cal.1stDayInWeek">
      <repetition unit="WEEK" />
      </calendarItem>
      </dates>
    <view>
      <viewpos date="01.01.2010" />
      </view>
    <chart id="Dummy">
    <timeScale>
    <section index="0">
      <ribbon type="Gantt.CProjects.Ribbon.Month" />
      <ribbon type="Gantt.CProjects.Ribbon.3Days" />
      </section>
      </timeScale>
      <grid type="Grid.CProjects.Gantt.TimeLine" calendarIDs="Cal.1stDayInWeek" />
    <table type="Gantt.Table" id="CProj-Table">
      <defaults typeCell="L.Table" typeHeader="L.Table" />
      <tree showRootIcons="TRUE" />
    <cols showInitially="4">
      <ids>TREE,ID2,ID3</ids>
      </cols>
    <header>
      <header width="30" />
      <label colid="TREE" width="250">Этап</label>
      <label colid="ID2">Дата с</label>
      <label colid="ID3">Дата по</label>
      </header>
    <rows>
      <ids>001,002,003</ids>
      </rows>
    <row>
      <header>1</header>
      <tree>Top Item</tree>
      <label>01.01.2010</label>
      <label>20.01.2010</label>
      </row>
    <row>
      <header>2</header>
      <tree parentRow="001">Subitem 1</tree>
      <label>01.01.2010</label>
      <label>10.01.2010</label>
      </row>
    <row>
      <header>3</header>
      <tree parentRow="001">Subitem 2</tree>
      <label>11.01.2010</label>
      <label>20.01.2010</label>
      </row>
      </table>
    <graph>
    <view>
      <backColor type="White" />
      </view>
    <node id="001" type="Gantt.CProjects.SummaryNode" rowID="001">
    <dates>
      <date>01.01.2010</date>
      <date>20.01.2010</date>
      </dates>
      </node>
    <node id="002" type="Gantt.CProjects.Node" rowID="002">
    <dates>
      <date>01.01.2010</date>
      <date>10.01.2010</date>
      </dates>
      </node>
    <node id="003" type="Gantt.CProjects.Node" rowID="003">
    <dates>
      <date>11.01.2010</date>
      <date>20.01.2010</date>
      </dates>
      </node>
      </graph>
      </chart>
      </Graph>
      </SAPJNetData>
    Then I run my example application, press standard "Save" button in Gantt chart control.
    After that my XML in context changes, but it's incorrect. There is no <graph> tag at all - this tag should contain all significant parameters of the chart.
    The resulting XML below:
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <SAPJNetData build="9295" date="04-Aug-2010 10:19:13" host="localhost" version="1.1247">
    <Application type="GANTT" version="1.0"/>
    <TypeRepository href="/SAP/BC/WebDynpro/SAP/ZT_INV_WDR_TEST_GANTT/gantPR02P00086_3_tr.xml" version="1.0"/>
    <UserInterface href="/SAP/BC/WebDynpro/SAP/ZT_INV_WDR_TEST_GANTT/gantPR02P00086_3_ui.xml" version="1.0"/>
    <GraphGantt version="1.1247"/>
    </SAPJNetData>
    All the chart in fact has completely disappeared. There is nothing left but file header.
    The question: How to get XML with all user changes back from the Gantt chart control?

    Long time, hah..
    Anyways thanks to behave like a responsible person on SCN and taking care of your threads..
    Liked.

  • How to automatically update xml data for xml connector

    I suspect the answer to this is simple because I am a real novice when it comes to ActionScript.
    I have a project with an XML Connector that goes out and gets data from an xml file and displays it in a label in my flash.
    It does this when the swf file loads using ActionScript in frame 1.
    The ActionScript is simply:
    this.labels_xc.trigger();
    This is great. It loads the data from the XML file no problem.  But the data in the XML file changes every so often.  How do I get the swf file to go out and get the new data on a regular interval (say every 2 minutes or so)?  I've looked at scripts with timers and I can't figure it out.
    Here is the url to the page I'm testing it on:
    http://www.timescapemedia.com/uptake/text.html

    My lack of experience here is showing.
    I tried putting the following, but neither work.
    this.labels_xc.trigger();
    setInterval(f, 30000);
    function f() {
    this.labels_xc.trigger();
    and
    this.labels_xc.trigger();
    setInterval(f, 30000);
    function f( ) {
    this.labels_xc.trigger();
    Obviously I'm not putting this together correctly.
    I appreciate your patience and help.

  • HT4623 my phone does not have the software update option on it, how do I update my phone without this?

    My phone is saying that I need the iOS 4.3 update but I do not have the software udate option available to me on my phone.  How do I still update my phone?

    If you have an iPhone 3G then iOS 4.2.1 is as high as it goes...

  • HT1222 How do i update my mobile on this version?

    This is wasting of time, i just wanna update my mobile version and then lots of questions?

    What mobile verions what questions?

  • Any ideas on how to do a local mirror for this situation?

    I'm starting a project to allow ArchLinux to be used on a Cluster environment (autoinstallation of nodes and such). I'm going to implement this where I'm working right now (~25 node cluster). Currently they're using RocksClusters.
    The problem is that the connection to internet from work is generally really bad during the day. There's a HTTP proxy in the middle. The other day I tried installing archlinux using the FTP image and I took more than 5 hours just to do an upgrade + installing subversion and other packages, right after an FTP installation (which wasn't fast either).
    The idea is that the frontend (the main node of the cluster) would hold a local mirror of packages so that when nodes install use that mirror (the frontend would use this also, because of the bad speed).
    As I think it should be better to only update the mirror and perform an upgrade not very often (if something breaks I would leave users stranded until I fix it), I thought I should download a snapshot of extra/ and current/ only once. But the best speed I get from rsync (even at night, where an HTTP transfer from kernel.org goes at 200KB/s) is ~13KB/s this would take days (and when it's done I would have to resync because of any newer package that could have been released in the meantime).
    I could download extra/ and current/ at home (I have 250KB/s downstream but I get like ~100KB/s from rsync), record several CDs (6!... ~(3GB + 700MB)/700MB) but that's not very nice. I think that maybe this would be just for the first time. Afterwards an rsync would take a lot less, but I don't know how much less.
    Obiously I could speed things a little If I download the full ISO and rsync current using that as a base. But for extra/ I don't have a ISOs.
    I think this is a little impractical (to download everything) as I wouldn't need whole extra/ anyways. But it's hard to know all packages needed and their dependencies to download only those.
    So... I would like to know if anyone has any ideas on how to make this practical. I wouldn't wan't my whole project to crumble because of this detail.
    It's annoying because using pacman at home, always works at max speed.
    BTW, I've read that HOWTO that explains how to mount pacman's cache on the nodes to have a shared cache. But I'm not very sure if that's a good option. Anyway, that would imply to download everything at work, which would take years.

    V01D wrote:After installation the packages that are in cache are the ones from current. All the stuff from extra/ won't be there until I install something from there.
    Anyway, if I installl from a full CD I get old packages which I have to pacman -Syu after installation (that takes long time).
    Oh, so that's how is it.
    V01D wrote:
    I think I'm going to try out this:
    * rsync at home (already got current last night)
    * burn a DVD
    * go to work and then update the packages on DVD using rsync again (this should be fast, if I don't wait long time after recording it)
    And to optimize further rsync's:
    * Do a first install on all nodes an try it out for a few days (so I install all packages needed)
    * Construct a list of packages used by all nodes and frontend
    * Remove them from my mirror
    * Do further rsync updates only updating the files I already have
    This would be the manual approach of the shared cache idea I think.
    Hmm... but why do you want to use rsync? You'll need to download the whole repo, which is quite large (current + extra + testing + community > 5.1GB, extra is the largest). I suggest you to download only those packages and their dependencies that you use.
    I have similar situation. At work I have unlimited traffic (48kbps at day and 128kbps at night), at home - fast connection (up to 256kbps) but I pay for every megabyte (a little, but after 100-500 megabytes it becomes very noticeable). So I do
    yes | pacman -Syuw
    or
    yes | pacman -Syw pkg1 pkg2 ... pkgN
    at work (especially when packages are big), then put new downloaded files on my flash drive, then put them into /var/cache/pacman/pkg/ at home, and then I only need to do pacman -Sy before installing which takes less than a minute.
    I have 1GB flashdrive so I can always keep the whole cache on it. Synchronizing work cache <-> flash drive <-> home cache is very easy.
    P.S.: Recently I decided to make complete mirror of all i686 packages from archlinux.org with rsync. Not for myself but for my friends that wanted to install Linux. Anyway I don't pay for every megabyte at my work. However it took almost a week to download 5.1 GB of packages.
    IMHO for most local mirror solutions using rsync is overkill. How many users are there that use more than 30% of packages from repos? So why to make full mirror with rsync when you can cache only installed packages?

  • How to control the step motor in this situation?

    I have a PHI TRIFT3 ToF-SIMS instrument. The instrument comes with a default
    software. However, the software don't offer fine step motor control. I want to control
    the step motor using Labview.
    I got some info from a Japanese engineer of the company.
    The step motor controller is connect to a card in ISA slot. In the default software, I
    can send command like D2000(distance 2000) and A100(acceleration 100) to "port 2"
    to control the motor. I have a manual of the commands.
    However, I don't know how to send command from Labview. Here is a joysticker
    connected to COM1, COM2 is used for other vacuum control. The joysticker can also
    control the motor..Here are some reply from the company about the control.
    "We do not use special driver for control the step motor.
    This is just sending the serial command via RS232C per command instruction I
    sent you before. The only difference is, to simplify the hardware, we just talk to data acq
    module(wave form card) via PAHOST card(installed in ISA bus slot of the PC)
    to passthru the RS232C command to stepper motor control unit.
    If you try to talk to step motor. just send the RS command from Labview
    platform. (of course need to connect the step motor controller from PC,
    default TRIFT PC does not have a spare COM channel, might be need to add
    serial etension card or add the computer for Labview control)
    "TRIFT PC passthru the RS232 command throught ISA bus to PHI data
    acquisition box to stepper motor control.
    Joystick handled by default software , convert to stage movement
    command X and Y then send thru to ISA. "
    I tried to use the Basic Serial Write and Read.vi to send command to COM1 but I always
    get an error"1073807246 ocurred at property node(arg 1) in VISA configure Serial prot(Instr).vi->
    Basic Serial Write and Read.vi  Possible reason: VISA: the resource is valid, but VISA cannot access
    it."   I think this happens because the default software is also open and trying to control COM1.
    What should I do to accomplish the step motor control? Thanks a lot

    Just to start from scratch, have you verified that you can do basic communication with your serial port, ie successfully perform a loopback test?  Please let me know, and we will go from there.
    Logan S.

  • How to load the xml from swf

    Hi,
    I have one intro.swf from that am loading one interface.swf by using loader.In interface i am loading some of the swf and xml am getting the swf but the xml files are not loading.When i run from interface file it is loading fine. only when i load the intro file the xml files are not loading. can any one tell me what is the problem how to access the xml content.
    This is the code am using in interface.swf to to get the xmlpath
    MovieClip(root).param1 = xmlPath;
    to access the xml content i have written the code
    var xmlPath:String=MovieClip(stage.getChildAt(0)).param1;
    I am using one moviclip in interface to load the other swf and xml. I am not using any moviclip in intro file to load the interface swf for that i am using only the loader.

    Where are the files located relative to each other?  If the intro and interface are in different folders then the problem could be that you need to adjust the path the interface uses for targeting the files it loads.

  • Updating XML content

    Please, I would to know how I could update XML content from
    Spry... I need a dbless system (i means, without convencional db
    engine, with XML only). Could someone help me?
    Thanks in advance

    John:
    I need to:
    - Load an XML file
    - Modify or insert a node
    - Store the results in the XML file loaded no beginning. (I
    can do it through server side code, as Slade said)
    I need to know if Spry offer a support to do the second
    feature (modify or increase a XML file).
    Thanks for the responses; if Spry have not that features I
    think that I will use Sarissa to do that; I´m really looking
    for a unique library-framework that cover all features for XML
    treatments, but I think that doesn´t exists.

  • HT4623 My phone does not have the Update SOftware option between About & Usage in General under Settings. How do I update it then?

    My phone does not have the Update SOftware option between About & Usage in General under Settings. How do I update it then?

    This is called Support a Community of users who are helping each other. Save the sarcasm or smart remarks. I read must of your answers to other people as well and you seam to have a pattern like a bully. Sorry that our questions are above you. If you have no helping comments save them for yourself. READ what support means, you should try it once in awhile.

  • HOw to update XML file residing in DAM by component JSP in run-time?

    i have made a component which reads xml file residing in DAM.
    Content Author can fill some values in dialog of this component, as soon as author provide the values,i have to update these values in XML file and component reloadsby reading the updated xml file.
    i am trying to achieve this by making object of XML file and giving it's path., but i ma unable to access the XML file.
    Can anyone help me out to how to update XML file by component JSP in run-time?

    Now the changed data must be exported back into the XML file, meaning that the content of certain elements must be updated. How can this be done with XSLT?
    XSLT approach:  check these online tutorial
    http://www.xml.com/pub/a/2000/08/02/xslt/index.html
    http://www.xml.com/pub/a/2000/06/07/transforming/index.html
    ABAP approach:
    for example you have the xml (original) in a string called say xml_out .
    data: l_xml  type ref to cl_xml_document ,
            node type ref to if_ixml_node  .
    create object l_xml.
    call method l_xml->parse_string
      exporting
        stream = xml_out.
    node = l_xml->find_node(
        name   = 'IDENTITY'
       ROOT   = ROOT
    l_xml->set_attribute(
        name    = 'Name'
        value   = 'Charles'
        node    = node
    (the above example reads the element IDENTITY and sets attribute name/value to the same)
    like wise you can add new elements starting from IDENTITY using various methods available in class CL_XML_DOCUMENT
    so how do I access the XML file in order to update it?
    you have already read this XML into a ABAP variable right?
    Sorry couldnt understand your whole process, why do you need to read local XML file?
    Raja

  • Steps to put itunes (50 gb) on external drive and delete from imac.  How would I update my ipods and ipad from the external drive if I do this

    I am planning to put itunes library on external hard drive. My Imac is running out of room and itunes is 50+ gb of music.
    What steps do I take to do this.  Also, if I do so, how do I update my ipods and my ipad 2.  I do back up my files with time machine.  This would be a completely separate new external hard drive.  Thanks in advance for any help.

    Two ways:
    1. After transferring to the external drive create an alias to the iTunes Music folder on the external drive.  Copy the alias into your Home folder.  Rename the alias to "iTunes Music."  Delete the alias from the external drive.
    2. In the iTunes preferences click on the Advanced icon in the toolbar.  You should see a field labeled, "iTunes Media Folder Location."  Click on the Change button and select the /iTunes Music/ folder on the external drive.

  • HT3576 Ok so i have this iPod touch (3rd gen) and i'm trying to update it through iTunes and when i click  check for update it keeps saying this version of iPod software (2.2.1) is your current version. what do i do? how do i update it?

    Ok so i have this iPod touch (3rd gen) and i'm trying to update it through iTunes and when i click  check for update it keeps saying this version of iPod software (2.2.1) is your current version. what do i do? how do i update it?

    You have a 1st generation iPod Touch. It can not be upgraded beyond iOS 3.1.3, it is available at the link below.
    http://support.apple.com/kb/HT2052

Maybe you are looking for

  • What have they done to my Iphone and Itunes (7.7.1.11)

    Has anyone else experienced the following and if so, what was the fix? I have had little or no issues with my iphone until the 2.0 upgrade, version 7.7.1.11 of itunes and the Apps I've added. Suddenly the phone will lock up when exiting a call. The s

  • Listener and gsd are unknown, what is the reason

    I just install 10g RAC on linux, everything was good. However, I shutdowned the whole system and started it again, my listener and gsd are unknown, what is the reason? rac1-> crs_stat -t -v Name Type R/RA F/FT Target State Host ora.devdb.db applicati

  • Error Message: Not enough memory for operation.

    Hi All, I'm having problem when try to connect to Oracle DB, check my details as below : Connector : Microsoft ODBC for Oracle Database Expert : Using Stored Procedure to populate data to excel. Server Used: DBCCSWST125.reportjobserver  Error Message

  • Images Jump Around in Book Module - Has anyone seen this happen?

    I have about 45 tiff files in a book collection saved in the Book module.  Once I added the last few pages, images on one page swapped with images on another page.  In addition, an extra page (images on each side, really two pages)  with the same pho

  • Inbound Deliveries without reference configuration

    All, currently we are creating outbound deliveries (VL01N and VL01NO) to transit materials to our offshore plants, we now have a requirement to switch on inbound deliveries in MM but be visible in RLM. the inbound deliveries we want to create will be