All,
I'm trying to get a list of keywords from the multiple selection list of DCR and attach that as extended attribute in a presentation template...but my file properties shows just "|||"....nothing got attached...I know iam missing some thing...any help is appreciated
#Get an array of references to the keyword Nodes on the DCR
@DCRKeywords = iwpt_dcr_list('dcr.Keyword');
#If any keywords were retrieved from the DCR
foreach my $index (
@DCRKeywords) {
my $keyword = iwpt_dcr_value('$index.Keyword');
if (defined($keyword)) {
$keyword =~ s/\s*$//;
$IFSstring .= $keyword."|";
}
}
thanks
if (defined($IFSstring) && ($IFSstring ne '')) {
chop($IFSstring);
$args[2] = "Description/Keywords=\"$IFSstring\"";
system(
@args) == 0 or iwpt_output("Failed Writing extended attributes \<br\> \n");
}