Report media mFile
Gastón Salomone
8-3-17
Hi,

When user selects File media on report specification, a SaveFileDialog allows the user to select the file name to be generated and Path.
That dialog request a name with .txt extensión, but allows the user to write any name.

I need two things, One is to know which name user write, I want to open the file after report process and generate the file. I need to execute another program once the file is generated on client pc.

The other thing is to know if there is any way to change extensión txt in that dialog, to request a name with .xls extensión for example.

Regards
Dejan R.
8-23-17
Hi,

if i understand you need correctly, you would like to add name of the user to created File name? If that is the case then it can be hardcoded using HAL functionality.

Same solution can be for second part, changing extensions txt to some other extension.

Without HAL both options can be done manually...
Erik Elmgren
8-24-17
string [WindowClass]DefaultFileName(string,record RcVc) should let you change the default filename, but I think you have to suggest a full name.

I don't think you can get the actual filename used at the moment.

Erik
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Back to the list
Latest Posts
Gastón Salomone
Hi, I cannot find any information on about this feature on hansamanual. That is the purpose, is it working, how it works or how must be configured to work ? For REST API many web request per...
23:47 3 Oct 2024
Paul Timms
Thanks Bror-Erik, it's hard to replicate so we won't know for sure until we upgrade the customer with this issue....
10:37 30 Sep 2024