Dear All,
Following is my TeamSite EA-to-XML configuration file for metadata deployment.
<!-- This configuration file requires 3 variables to be passed as arguments with the iwdd.ipl command
$area, $filelist and $XMLdumpFile
eg
iwdd.ipl cfg="this_dd_cfg_file" deployment="ea-to-xml" area="/default/main/dev/EDITION" EA_XML="xml_output_filename"
-->
<data-deploy-configuration>
<client>
<deployment name="ea-to-xml">
<source>
<!--Pull data tuples from TeamSite EA's -->
<teamsite-extended-attributes
options="wide"
area="$area">
<path filelist="$filelist" />
</teamsite-extended-attributes>
</source>
<filter>
<!-- Ignore templatedata files -->
<discard>
<or>
<field name="path" match="templatedata/*"/>
<field name="path" match="titlecopy.html"/>
<field name="path" match="titlecopya.html"/>
<field name="path" match="titlecopyb.html"/>
<field name="path" match="SL3/(.*)/*.pdf"/>
</or>
</discard>
</filter>
<substitution>
<field name="subjectMetadata0" replace="IGNORE"/>
<field name="subjectMetadata1" replace="IGNORE"/>
</substitution>
<destinations>
<xml-formatted-data file="$XMLdumpFile"/>
</destinations>
</deployment>
</client>
</data-deploy-configuration>
I want to
discard (i.e filter out) all the "pdf" files for one workarea but would like to
keep all the "pdf" files from other workareas ( see bolded text above).
as per my understanding ,the current settings will discard all the "pdf" files from metadata deployment which certainly, i don't want.
The path for files within the filelist , for all the workarea starts with "^SL3/..." .
I would like to know , any configuration needed in above DD config file to accomplish my objective.
Any quick help/suggestions will be appreciated.
Thanks,