Hi
I am using IPL file to set the external attribute and using call server to invoke IPL file. like below
IWEventRegistry.addFormHandler("onSave", metadata);
function metadata(){
IWDatacapture.callServer("/iw-bin/metadata.ipl");
return true;
}
/**** IPL file****/
#!__IW_HOME__/iw-perl/bin/iwperl
use TeamSite::Config;
my $iwhome = TeamSite::Config::iwgethome();
my $iwextattr = "$iwhome/bin/iwextattr";
my $file = "<filepath>";
#my $EA_xml = qq("TeamSite/Metadata/Title" "metadata");
if (open(PIPE, "|$iwextattr -s TeamSite/Metadata/Title=testing $file")){
print PIPE $EA_xml;
close(PIPE);
} else {
exit;
}
When i run the ipl file from iwperl, i can see the external attribute setting to the file, but it is not calling from the callserver.
Please help