I am trying to find a way to allow the users to make a copy of an existing report and save it on the server with a different file name with the file name entered by the user.
I have tried to modify the code in the index.php file and handler.php but I am not able to capture the new file name by the user.
Saving a copy of a report on server
Re: Saving a copy of a report on server
Hello,
We have added a new parameter $report_file_name for the function of saving the report. The update will be available in the prerelease build 2015.1.4 today.
Thank you.
We have added a new parameter $report_file_name for the function of saving the report. The update will be available in the prerelease build 2015.1.4 today.
Thank you.
Re: Saving a copy of a report on server
Thank you verify much for your quick response, help and action to have a solution. I will look for the pre-release build.
Re: Saving a copy of a report on server
I have tried the pre-release build and it is still show the Save As dialog box to save on PC. Do I need to set something else in the config file?
Re: Saving a copy of a report on server
Hello,
Yes, you should set the ShowSaveFileDialog property to True.
After that, when you use Save button (not SaveAs button) will be displays a dialog for entering the file name. The file name will be passed to the sti_save_report() function in the $report_file_name parameter.
Thank you.
Yes, you should set the ShowSaveFileDialog property to True.
After that, when you use Save button (not SaveAs button) will be displays a dialog for entering the file name. The file name will be passed to the sti_save_report() function in the $report_file_name parameter.
Thank you.
Re: Saving a copy of a report on server
Thanks I got it to work.
Re: Saving a copy of a report on server
Hello.
We are always glad to help you.
Let us know if you need any additional help.
Thank you.
We are always glad to help you.
Let us know if you need any additional help.
Thank you.