Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# Migrating Mapper Functions to XPath 2.0 Using the CLI

After the project is migrated to the XPath 2.0, you can use the `migrateMapperFunctions` operation of the `studio-tools` utility to fix common Mapper Function issues.

This command fixes the typecast errors, if the data type can be converted using the XSD: constructor functions. It also fixes the issues that displays the error: `XSLT is out of sync with schema component properties.`

Important: Always back up your project before running the Mapper Function Migration wizard.

Procedure
1. Navigate to BE_HOME/studio/bin/.
2. Open the `studio-tools` utility.
3. On the command prompt, run the following command:

       studio-tools -core migrateMapperFunctions -p <studioProjDir>

   ## Options

   The following table describes the command parameters:

   Studio Tools Options for Migrating Mapper Functions
   Option | Description
   --- | ---
   `-core migrateMapperFunctions` | Specifies the `migrateMapperFunction` command. The command attempts to fix all SLT and XPath mappings in the project to be XPath 2.0 compliant.
   `-p` | The file path to the TIBCO BusinessEvents Studio project to be migrated.

   Note: You cannot undo the changes after running this command.
   For example:

       studio-tools -core migrateMapperFunctions -p c:\MyWorkspace\SomeProj

Did you find this helpful?

YesNo
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO BusinessEvents® Enterprise Edition

Copyright © 2004-2024. Cloud Software Group, Inc. All Rights Reserved.