PI 7.1 Function Library – Part II : Migrating using Tool
In PI 7.1 Function Library – Part I : Creating & Migrating of this blog we saw about creating, using Function Library and Migrating UDF of Message Mapping using standard functionality. In this part I would walkthrough on how to migrate the UDF of Message Mapping to a Function Library using My Tool : PI 7.1 Function Library Migrator.
Complexity in Using Import Source Text:
Using standard function Import source text for creating Function Library from Message Mapping would become complex if there are multiple UDF and/or multiple input parameters to it. Import source text copies only the Java code and all the remaining (like function name, parameter) has to be entered manually.
Understanding this complexity I have created a tool which doesn’t require any manual input of UDF properties in the Function Library..! The migration of Function Library from Message Mapping happens at a few mouse clicks by making use of Meta-Data files.
PI 7.1 Function Library Migrator.
Function Library Migrator is Java tool that can run in Java 1.5. This uses the Meta-data file of the Message Mapping and Function Library for UDF Migration.
Follow the below steps for migration.
1. Open the Message Mapping, press ctrl+shft+0 and click Export Meta-data in Properties. A ZIP file will be created at the selected download path.
2. Open the Tool and enter the below three information’s from the Function Library and Load the Mapping Meta-data file created in Step-1 into the tool. Click on Process button, a Metadata file for Function Library will be created.
3. Open the Function Library, Press ctrl+shft+0 and click on Import Meta-data button as shown below. Select and Load the Function Library Meta-data file created in Step-2. Now Save and Activate the Function Library.
Now you can see all the Local UDF in the Message Mapping migrated to/created in the Function Library.
More info and detail step-by-step procedure @ http://prezi.com/137626/view/