Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
TeamSite
TeamSite, LiveSite and OpenDeploy
IWDatacapture.save() works for most but hangs for one
System
This is a general question but is there any reason as to why IWDatacapture.save() would work for most but not work for one particular DCT? I'm doing a CallServer the same exact way on each DCT and the script is generic enough to accept info from any type of DCT. I'm also putting alerts around IWDatacapture.save() and can safely say that it's hanging at that particular line. Here's a part of the code -- if someone thinks it's worthwhile, I'll post more:
[html]
if ($found) {
print qq^
api.alert('This DCR cannot be saved because the ^ . $cgi->param('field') . qq^ you entered already exists as a file.');
^;
} else {
print qq^
api.alert('1');
api.IWDCRInfo.setDCRName('^ . $lcl_filename . qq^',null);
api.alert('2: ' + api.IWDCRInfo.getDCRName() );
api.IWDatacapture.save();
api.alert('3');
^;
}
print qq^
^;
[/html]
alert('3') is being invoked on the others but not on the one.
Has anyone seen this?
Find more posts tagged with
Comments
There are no comments yet