can someone give me an idea about iwsubmit?i am writing it as my $iwhome = TeamSite::Config::iwgethome();my $pathname;$pathname = "y:\\default\\main\\WORKAREA\\abc.xml";system $iwhome.'\bin\iwsubmit -u '.$pathname;it is giving me the usage of the command iwsubmit. is anythng going wrong?also with iwcallback, i am using system $iwhome.'\bin\iwcallback '.$taskId.' 1';in this case also, it is giving me the usage of the command iwcallback. please can someone help me with this?
thanks a lot for your help. i could do callback... i am stuck up with the following code.
i need to copy the metadata from the dcr to one xml file. the path of the xml file is present in the metadata of the dcr(TeamSite/MetaData/0/PageTaxonomy). i am retrieving the metadata in an array say @arr.by using a for loop, i am getting the value of TeamSite/MetaData/0/PageTaxonomy in a variable $fragment.say value of $fragment is : \Folder A\Folder B\abc.xmli have to append the rest of the path to get the entire path of the file.hence i am writing the foll code : $path="y:\\default\\main\\Redesign\\WORKAREA\\Redesign-WA\\Home".$fragment;this is giving me the entire path in the variable $path: y:\default\main\Redesign\WORKAREA\Redesign-WA\Home\Folder A\Folder B\abc.xml$iwhome=g:\interwoven\teamsitebut when i do the foll : system $iwhome.'\bin\iwextattr -s TeamSite/LiveSite/Id=123 '.'"'.$path.'"';it doesn work.
my $cmd = join(" " , qq($iwhome/bin/iwextattr) , qq(-s TeamSite/LiveSite/Id=123) , qq("$path"));my $results = qx($cmd 2>&1);if ($?) {# most likely an error occurred - handle it}...
if instead of retrieving from the array, i assign the value :$fragment = "\Folder A\Folder B\abc.xml";then append it to "y:\....\Home" and run the above command, it works perfectly.can some one please guide me with what is going wrong. I have wasted like 5 days on this without success and i ve tried everythng possible.