Hi all , I am trying to set metadata on DCR from DCT field. To implement the code i am thinking of these below steps, please correct me if my approach is wrong or advise me if there is a better way to do it. 1) Get the value from the DCT field by using formAPI2) call callServer method and pass DCR field value and DCR path to my script setAttr.ipl to set metadata.
Hi all, If my metadata is a single word then it works great with my script but when it is multiple words then it does not work since my script pass it as an arguments on iwextattr CLT.I am attaching my code snippet . **************************************my $setMetaTitle = "/opt/iw-home/bin/iwextattr -s TeamSite/Templating/page_title=$metaTitle $dcrPath";************************************** $metaTitle = "University"; # works great$metaTitle = "University Of Central Atlanta"; # does not workPlease advise any better approach or solution.
...my $setMetaTitle = qq[$iwhome/bin/iwextattr -s "TeamSite/Metadata/page_title=$metaTitle" "$dcrPath"];...