i'm trying to run save dcr functionality through some dcr .can anyone put some light on it if its possible
Do you mean you want to save the DCR programatically while it's open?
If so, it's explained in the manual "FormAPI Reference Guide": IWDatacapture.save(); I suggest you read that manual.
Hello Zaarin ,
IWDatacapture.save() does not go through onSavevalid .we have some special character transformation in some fields in dcr . i I want to replicate process of manual opening and saving dcr programatically , it will save me time, instead i have to write a bunch of if else ladder in a script
If you are not planning on opening each DCR, then you need to do everything manually - from loading, parsing the DCR, validating against the DCF schema and then doing any processing you want in whatever language you've decided on using.
FormAPI is JavaScript, it needs to run within a browser. You do not have access to any of it from outside.