SD
Has anyone been able to find a way to have the default name of a report in the Save output as field to be the same as the model name you are running the report for?
Thanks in advance,
Simon
Hi Simon,
In a dialog it is impossible, but in the script itself yes, you can define report name (and in this case it does not matter what is in dialog).
Sample:
if(epc_model!=null){
var oOut = Context.createOutputObject(Constants.OUTWORD,StartObject.ObjDef().Name(g_nLoc)+".doc");