TS 732 on Windows 2008
I have a DCR, using code i have used many times before. On finish/save, it should name the DCR, create sub directories and save. It does that but hte Save As popup shows up and I cannot get rid of it. I tried a few didderent save DCR methods, including timeouts, and no luck.
I use this to catch the event:
IWEventRegistry.addFormHandler("onSaveValid", setPageName);
That funciton builds up the path, and DCRname and passes it to a callserver. The callserver makes the directories (if required) and verifies there is not an existing DCR with the same name. This all works well. The DCRName is relative to /data/. The DCR is created and saved but I see this:

The callback is kicked off and runs:
function setDcrName(myDcrName, conflictFound)
{
if (conflictFound == 1) {
alert("This DCR already exists, please edit the existing DCR");
return(false);
} else {
IWDCRInfo.setDCRName(myDcrName);
IWDatacapture.save(myDcrName);
IWDatacapture.redraw();
}
return(true);
}
Tips/Pointers/RTFMs appreciated.
Andy