Hi,
We have requirement to import data from another CMS to WEM. I think vgnContentScan will help to create CI, if Data present in Database by executing command (Please correct me if I am wrong).
For Testing purpose, I added a row in MGMT CTD table and then I copied xml contents from vgnContentScanoptions.xsd and updated CTD name, WEM username & Password and executed the command like below. but i am getting Error. Please help to achieve this.
Currently ID field for GUID is not null, So I manually added value which is not present in VCM. How automatically generate IDs by executing this command?
./vgncontentscan -x /tmp/vgnContScan.xml -u otadmin -w <wem-password>
Error:
Exception occurred: unable to find FieldDescriptor for 'annotation' in ClassDescriptor of vgnContentScanOptions.
Sample XML:
<?xml version="1.0"?>
<vgnContentScanOptions>
<scan-target>
<content-type>qu_show_area</content-type>
<project-path>contentscan</project-path>
<action create='true' update='true' delete='false'>
<non-diff-create>true</non-diff-create>
<create-filter>
<table>QU_SHOW_AREA</table>
<whereclause>QU_SHOW_AREA.ID < 1000</whereclause>
</create-filter>
<update-filter>
<table>QU_SHOW_AREA</table>
<whereclause>QU_SHOW_AREA.updated_flag = 1</whereclause>
</update-filter>
</action>
<approval>true</approval>
<publish>true</publish>
<site>qu</site>
<channel>Home</channel>
</scan-target>
<user>
<name>otadmin</name>
<password><WEM-Password></password>
</user>
<appsvcsCfgDir>
/opt/apps/shared/opentext/cfgagent/vcm-vgninst/cdsvcs/stage-mgmt/cds-mgmt/as/conf/
</appsvcsCfgDir>
<chunk-size>1</chunk-size>
<sleep-interval>0</sleep-interval>
<thread-pool-size>1</thread-pool-size>
<log>
<logDir>./</logDir>
<logName>runtime.log</logName>
<logLevel>DEBUG</logLevel>
<logTemplate>./vgnlog.xml</logTemplate>
<logSize>25000000</logSize>
<logBackupCount>3</logBackupCount>
</log>
</vgnContentScanOptions>
</xsd:documentation>
</xsd:annotation>