Comments RG by Robert Goldenbaum Posted on 2021-02-01 Hi Simon, I don't think that is possible - but you can set the output file name whatever the user has entered to any value you want to... Regards, Robert Log in or register to post comments by Alexander Cherednichenko Posted on 2021-02-02 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"); Log in or register to post comments LZ by Libor Zvalo Posted on 2021-04-01 Hello, if you want to get the report name within the code just use: Context.getScriptInfo(Constants.SCRIPT_TITLE)); Log in or register to post comments
Hi Simon,
I don't think that is possible - but you can set the output file name whatever the user has entered to any value you want to...
Regards,
Robert
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");
Hello,
if you want to get the report name within the code just use: