Oracle Migration Tool On Demand Guide > Migrating Customized Record Types > Migrating Customized Record Types >

Updating or Inserting a Customized Record Type (Upsert)


This topic describes how to update a customized record type (if it exists) or insert a customized record type (if it does not exist) on your Oracle CRM On Demand environment (customer test environment or production).

Syntax

The following is the syntax for using the Oracle Migration Tool On Demand client to update a customized record type (if it exists) or insert a customized record type (if it does not exist):

migrationtool -u UserID -s ServerURL Upsert CustomRecordType CustomizedRecordTypeXML

where:

  • UserID is the user sign-in ID that has the appropriate privileges to run the Oracle Migration Tool On Demand client commands.
  • ServerURL is the URL for the Oracle CRM On Demand server where your company resides.
  • CustomizedRecordTypeXML is the fully qualified path name of the customized record type XML file, for example:

    C:\My Files\MyAccount.xml

NOTE:  The Oracle Migration Tool On Demand client requests your Oracle CRM On Demand password, which can be redirected (using the pipe command) to the client program from standard input; that is, from a file, from the command line, or from another program.

Example of Updating or Inserting a Customized Record Type

The following is an example of updating an Account customized record type (if it exists) or inserting an Account customized record type (if it does not exist) in your Oracle CRM On Demand server:

migrationtool -u UserID -s ServerURL Upsert CustomRecordType "C:\My Files\MyAccount.xml"

NOTE:  Quotation marks are required only if the name contains spaces.

Oracle Migration Tool On Demand Guide, Release 33 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Legal Notices.