Making exported user data compatible for partial user import

Last Updated : Nov 19, 2012 |

Use this section to update user attributes partially. XML file format contains the user records that System Manager exports. You must update selected user attributes in the exported XML file and then import the XML file. You require this procedure because export users generate XML file conforming to this XML Schema Definition. For more information, see XML Schema Definition for bulk import of users. Partial import type uses a different XML schema definition, for more information, see XML Schema Definition for partial import of user attributes.

Before you begin

Export the users in bulk and generate the XML file.

About this task

For partial import of users, make the following changes in the user export XML file. You can generate the XML file by exporting users in bulk.

Procedure

  1. Perform the following steps:
    1. Locate the following content in the generated XML file:
      <tns:users xmlns:tns="http://xml.avaya.com/schema/import" 
      xmlns:ns3="http://xml.avaya.com/schema/import1" 
      xmlns:ns4="http://xml.avaya.com/schema/deltaImport" 
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
      xsi:schemaLocation="http://xml.avaya.com/schema/import userimport.xsd">
      
    2. Modify tns:users to tns:deltaUserList.
    3. Remove tns="http://xml.avaya.com/schema/import".
    4. Modify ns4="http://xml.avaya.com/schema/deltaImport" to tns="http://xml.avaya.com/schema/deltaImport"
    5. Modify xsi:schemaLocation="http://xml.avaya.com/schema/import userimport.xsd"> to xsi:schemaLocation="http://xml.avaya.com/schema/deltaImport userdeltaimport.xsd ">

    After you modify the XML file as instructed in Step b through Step e, the content in Step a changes to:

    <tns:deltaUserList xmlns:ns3="http://xml.avaya.com/schema/import1" 
    xmlns:tns="http://xml.avaya.com/schema/deltaImport" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:schemaLocation="http://xml.avaya.com/schema/deltaImport userdeltaimport.xsd ">
    
    
  2. Replace all instances of:
    • <tns:user> with <tns:userDelta>

    • </tns:user> with </tns:userDelta>

    • <tns:users> with <tns:deltaUserList>

    • </tns:users> with </tns:deltaUserList>

Next Steps

You can now make the updates in the XML file and import the changes to update the user attributes in the database.