Sample Migration Definition Files

The product code used in the migration definition files for Shared Services is HUB. All sample migration definition files for Shared Services are provided in EPM_ORACLE_HOME/common/utilities/LCM/11.1.2.1/Sample.

Exporting to the File System

<?xml version="1.0" encoding="UTF-8"?>
<Package name="web-migration" description="migrating product to product">
    <Connections>
        <ConnectionInfo name="MyHSS-Connection1" type="HSS" description="Hyperion Shared Service connection" user="" password=""/>
        <ConnectionInfo name="FileSystem-Connection1" type="FileSystem" description="File system connection" filePath="/HSS security"/>
        <ConnectionInfo name="AppConnection2" type="Application" product="HUB" project="Foundation" application="Shared Services" HSSConnection="MyHSS-Connection1" description="Source Application"/>
    </Connections>
    <Tasks>
        <Task seqID="1">
            <Source connection="AppConnection2">
                <Options>
                    <optionInfo name="userFilter" value="*"/>
                    <optionInfo name="groupFilter" value="*"/>
                    <optionInfo name="roleFilter" value="*"/>
                </Options>
                <Artifact recursive="false" parentPath="/Native Directory" pattern="Users"/>
                <Artifact recursive="false" parentPath="/Native Directory" pattern="Roles"/>
		<Artifact recursive="true" parentPath="/Native Directory/Assigned Roles" pattern="*"/>
		<Artifact recursive="false" parentPath="/Native Directory" pattern="Groups"/>
                <Artifact recursive="false" parentPath="/Native Directory" pattern="Delegated Lists"/>
                <Artifact recursive="true" parentPath="/Taskflows" pattern="*"/>
            </Source>
            <Target connection="FileSystem-Connection1">
            </Target>
        </Task>
    </Tasks>
</Package>

Importing from the File System

<?xml version="1.0" encoding="UTF-8"?>
<Package name="web-migration" description="migrating product to product">
    <Connections>
        <ConnectionInfo name="MyHSS-Connection1" type="HSS" description="Hyperion Shared Service connection" user="" password=""/>
        <ConnectionInfo name="AppConnection1" type="Application" product="HUB" description="Destination Application" HSSConnection="MyHSS-Connection1" project="Foundation" application="Shared Services"/>
        <ConnectionInfo name="FileSystem-Connection2" type="FileSystem" filePath="file:/C:\Oracle\Middleware\user_projects\epmsystem1\import_export\admin@Native Directory\HSS security" HSSConnection="MyHSS-Connection1" description="Source Application"/>
    </Connections>
    <Tasks>
        <Task seqID="1">
            <Source connection="FileSystem-Connection2">
                <Options/>
                <Artifact recursive="false" parentPath="/Native Directory" pattern="Users"/>
                <Artifact recursive="false" parentPath="/Native Directory" pattern="Roles"/>
                <Artifact recursive="false" parentPath="/Native Directory" pattern="Groups"/>
		<Artifact recursive="true" parentPath="/Native Directory/Assigned Roles" pattern="*"/>           
		<Artifact recursive="false" parentPath="/Native Directory" pattern="Delegated Lists"/>
                <Artifact recursive="true" parentPath="/Taskflows" pattern="*"/>            
	    </Source>
            <Target connection="AppConnection1">
                <Options>
                    <optionInfo name="operation" value="create"/>
                    <optionInfo name="maxerrors" value="1000"/>
                </Options>
            </Target>
        </Task>
    </Tasks>
</Package>