Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
DCR delete is not happening
ramam77
Hi,
I m working on Solaris with Teamsite 5.5.2 installed and datadeploy 5.6 and database is oracle 8i. i have created a standalone datadeploy script and it is working fine when it comes to inserting new records/updating records. but when i delete the DCR from the data folder and run the script from the command propmt dcr is not getting deleted from the Database.
the following is my dd script:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<data-deploy-configuration>
<client>
<deployment name="Language">
<source>
<teamsite-templating-records options="wide" area="/default/main/test/WORKAREA/test"
base-area=".*" >
<path name="templatedata/starhub/ContentLanguage/data" visit-directory="deep"/>
</teamsite-templating-records>
<!-- <teamsite-templating-records
options="full"
area="/default/main/test/WORKAREA/test/templatedata/starhub/ContentLanguage">
<path name="." />
</teamsite-templating-records> -->
</source>
<destinations>
<database db="10.25.2.22:1521:WPDEV" user="interwoven" password="inter_mig1" vendor="oracle" update-type="standalone" state-field="state" delete-tracker="yes" enforce-ri="no">
<dbschema>
<group name="CONTENT_LANGUAGE" table="CONTENT_LANGUAGE" root-group="yes">
<attrmap>
<column name="LANGUAGE_ID" data-type="DECIMAL(10)" value-from-field="LanguageID" allows-null="no" is-url="no"/>
<column name="LANGUAGE_SUB_TITLE_FLAG" data-type="DECIMAL(1)" value-from-field="SubTitleFlag" allows-null="yes" is-url="no"/>
<column name="LANGUAGE_NAME" data-type="VARCHAR(200)" value-from-field="Name" allows-null="yes" is-url="no"/>
<column name="LANGUAGE_PICTURE" data-type="VARCHAR(100)" value-from-field="Picture" allows-null="yes" is-url="no"/>
<column name="LANGUAGE_SUBTITLE_PICTURE" data-type="VARCHAR(100)" value-from-field="SubTitlePicture" allows-null="yes" is-url="no"/>
<column name="LANGUAGE_PICTURE_CN" data-type="VARCHAR(100)" value-from-field="PictureforChineese" allows-null="yes" is-url="no"/>
<column name="LANGUAGE_SUBTITLE_PICTURE_CN" data-type="VARCHAR(100)" value-from-field="SubTitlePictureChineese" allows-null="yes" is-url="no"/>
</attrmap>
<keys>
<primary-key>
<key-column name="LANGUAGE_ID"/>
</primary-key>
</keys>
</group>
</dbschema>
</database>
</destinations>
</deployment>
</client>
</data-deploy-configuration>
Find more posts tagged with
Comments
sunil_j
Hi,
In your script ..
<!-- <teamsite-templating-records
options="full"
area="/default/main/test/WORKAREA/test/templatedata/starhub/ContentLanguage">
<path name="." />
</teamsite-templating-records> -->
Please specify areas as "/default/main/test/WORKAREA/test" and path as "/templatedata/starhub/ContentLanguage/data"
I hope this should solev ur problem.
Regards
Sunil
TeamSite Consultant
Migrateduser
For deletes to work make sure you use a filelist or specify the relative path of the file to be deleted.
Arabind
Would u mind to be a little bit more clear on filelist & relativepath .
I have done my configuration as told by sunil. Still if am deleting the dcr from datafolder, after deployment the records are still presnt in the database.