automate export a report in pdf . is it possible?

Stimulsoft Reports.PHP discussion
wvincent
Posts: 2
Joined: Wed Jul 27, 2011 10:27 am
Location: US

automate export a report in pdf . is it possible?

Post by wvincent »

Is there a timetable for implementation of this valuable feature?

Thanks
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

automate export a report in pdf . is it possible?

Post by Vladimir »

Hello,

Unfortunately, currently support for other database types for the ExportsFx utility is not planned.

Thank you.
chopper64
Posts: 26
Joined: Mon Dec 20, 2010 2:33 am
Location: Berlin

automate export a report in pdf . is it possible?

Post by chopper64 »

Now that I have tested since May ExportsFX, I'm not very satisfied with this solution.
The program is simply not stable. Sometimes an output file is created, sometimes not. The program simply provides no feedback. Since this is a server application, the user has no control over the program.
For products that are fully assembled, there should be a complete, workable solution to the server-side exporting documents.
The approach of a console application is already the right one. It should be noted that the AIR application using the PHP command does not work properly.
I think it should be a functioning application. NET based his work as the exportsFX. This would have the advantage that stand beside the few (but perfectly adequate), all the export functions. NET version is available.

As a developer, a PHP based web application, I have no time (nor desire) to occupy myself more with the development of a FLEX or. NET application.
With the PHP solution, I am very satisfied. Even my webapp the user find the product very well. An important reason for a decision for Stimulsoft was the final solution with Web-enabled report designer, viewer, and export.

Unfortunately, I can access server-side due to the lack of export function does not improve my product and continue to finish.
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

automate export a report in pdf . is it possible?

Post by Vladimir »

Hello,

Thank you for your comment.
Unfortunately, at this moment we have only this solution for export reports on the server side without .NET libraries.

Thank you.
investor123
Posts: 24
Joined: Fri Sep 20, 2013 4:18 am

Re: automate export a report in pdf . is it possible?

Post by investor123 »

Dear Vladimir,

I am still confusing about how to passing parameter using this exportsfx.exe

Code: Select all

ExportsFx.exe report_file=Report.mrt export_file=result.pdf export_format=pdf
how to pass some variable to this exportsfx like usually i do in url address in chrome browser?

Something like this but using command line?

Code: Select all

http://localhost/stimulsoft/index.php?stimulsoft_client_key=ViewerFx&stimulsoft_report_key=SimpleListWithVariable.mrt&Variable1=Title%20From%20Variable
Thank you.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: automate export a report in pdf . is it possible?

Post by HighAley »

Hello.

You should use next command:

Code: Select all

ExportsFx.exe report_file=Report.mrt export_file=result.pdf export_format=pdf Variable1="Title From Variable"
Thank you.
investor123
Posts: 24
Joined: Fri Sep 20, 2013 4:18 am

Re: automate export a report in pdf . is it possible?

Post by investor123 »

Thx Aleksey Andreyanov

I have new problem about it. My report.mrt use sql server connection. can exportsfx.exe generate pdf for this case?
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: automate export a report in pdf . is it possible?

Post by HighAley »

Hello.

This utility support MySQL and XML data sources only.

Thank you.
jsrn
Posts: 1
Joined: Thu Jan 30, 2014 9:18 am

Re: automate export a report in pdf . is it possible?

Post by jsrn »

Hello,

I've been using the Stimulsoft Reports.Fx for PHP demo, and was disappointed with the lack of automated export until I found ExportsFx in this thread. I see above that you can pass variables to reports in the command line, but when I tried to pass a parameter to be used in an SQL query (MySQL), it didn't work.

It's not too difficult to work around, but I was wondering if there are plans to include SQL parameters in ExportsFx, or if maybe I'm just doing something wrong?

The block in question:

Code: Select all

<SqlCommand>SELECT
...
FROM table
WHERE id={ID};</SqlCommand>

Code: Select all

$ wine ExportsFx.exe report_file=Example.mrt export_file=test.pdf export_format=pdf ID=1;
Thanks.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: automate export a report in pdf . is it possible?

Post by HighAley »

Hello.

Please, download new version of ExportsFx from our Knowledge Base.

Thank you.
Post Reply