Pages

Tuesday, September 09, 2014

UDML Command - Convert RPD to XML and XML to RPD

Lets start with an example to export an RPD to XUDML.
Make a copy of the original RPD in below path BI_Home/bifoundation/server/bin

Eg: c:/obi/Oracle_BI1/bifoundation/server/bin


Generate the XUDML by executing the command biserverxmlgen
In command Prompt, Go to BI_Home/bifoundation/server/bin directory

Command Converts RPD to XML:


Method 1:

biserverxmlgen -R <Path of RPD File> -P <rpd Admin Password> -O <Path to Output UDML file> -8

Eg: biserverxmlgen -R main.rpd -P Admin123 -O Main.xml -8

The parameters for the biserverxmlgen command are as follows:

-P repository_password
-R     repository_pathname
-O     output_script
-8     UTF-8

When this step is successful the XUDML is generated. Open the XUDML file named “main.xml” and check the content of the file.

<?xml version="1.0" encoding="UTF-8" ?>

Method 2:

Generate the XUDML by executing the command nqudmlgen

nqudmlgen –P <rpd Admin Password> -R <Path to RPD File>  -O <Path to Output UDML file>

Eg: nqudmlgen –P Admin123 -R main.rpd  -O main.xml

Command Converts XML to RPD:

nqudmlexec -P <rpd Admin Password> -I <Path to Output UDML file> -O <Path to RPD File>


Eg: nqudmlexec -P Admin123 -I main.xml -O main.rpd


Try this...