Jump to content
We've recently updated our Privacy Statement, available here ×

Customaized Name of document


dusttinxd2

Recommended Posts

Hello, 

Is there any property to dynamically define output file name ?

The file is generated in FSM SAP with automatic name, we want to customized that name in Jaspersoft, is it possible? 

The type of file are: .pdf, .docx, .xls 

For exemple:

$F{activity.code} + ${person.code}.pdf 

Thank

 

 

 

 

 

 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Personnaly i use JasperServer with a Powershell script that calls the API. This way i rename the file during the download  with :

$client.DownloadFile("Source URL", "Destination_pathfilename.pdf")[/code]

The powershell file is generated by a python user interface so i can parameter the filename and the url to get the right report.

You does not specifies how you generates your report but hope this may help.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...