dusttinxd2 Posted October 20, 2021 Share Posted October 20, 2021 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 More sharing options...
razorvla Posted October 21, 2021 Share Posted October 21, 2021 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now