Oracle Migration Tool On Demand Guide > Migrating Custom Fields > Migrating Custom Fields >

Updating or Inserting a Set of Field Definitions (Upsert)


This topic describes how to update a specific set of field definitions (if they exist) or insert those field definitions (if they do 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 specific set of field definitions (if they exist), or insert those field definitions (if they do not exist):

migrationtool -u UserID -s ServerURL Upsert FieldManagement FieldManagementXML

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.
  • FieldManagementXML is the fully qualified path name of the field management XML file, for example:

    C:\My Files\AccountContact.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 Set of Field Definitions

The following is an example of updating account contact field definitions (if they exist) or inserting the field definitions (if they do not exist) in your Oracle CRM On Demand server

migrationtool -u UserID -s ServerURL Upsert FieldManagement "C:\My Files\AccountContact.xml"

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

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