Stimulsoft Viewer.Fx for PHP
Show the Viewer.Fx
To show the viewer it is necessary to call the
index.php
file with the following parameters
http://
localhost
/stimulsoft/index.php?
stimulsoft_client_key=ViewerFx
View the document SimpleList.mdc
To show a document (rendered report) in a viewer it is necessary to call the
index.php
file with the following parameters:
http://
localhost
/stimulsoft/index.php?
stimulsoft_client_key=ViewerFx&stimulsoft_report_key=SimpleList.mdc
stimulsoft_report_key
: parameter, that determines which report or document will be loaded
You can manage reports loading in the
sti_get_report
function, which is located in the
index.php
file.
View the report SimpleList.mrt
To show a report in a viewer it is necessary to call the
index.php
file with the following parameters:
http://
localhost
/stimulsoft/index.php?
stimulsoft_client_key=ViewerFx&stimulsoft_report_key=SimpleList.mrt
stimulsoft_report_key
: parameter, that determines which report or document will be loaded
The report is rendered automatically after loading. You can manage reports loading in the
sti_get_report
function, which is located in the
index.php
file.
View the SimpleListWithVariable.mrt report
You can use the variables in the report and parameters in the SQL queries. Variables and parameters can be set in the URL request with the same name:
http://
localhost
/stimulsoft/index.php?
stimulsoft_client_key=ViewerFx&stimulsoft_report_key=SimpleListWithVariable.mrt&Variable1=Title%20From%20Variable
stimulsoft_report_key
: parameter, that determines which report or document will be loaded
Also, you can use the
Request from User
option. In this case, the variables will be requested in the Viewer.Fx window.
Back