Hello,
We've a Frontend developed with HTML5 and we would like to execute reports from Stimulsoft Report.Server directly from our frontend.
As a perfect integrated report inside our software.
It this possible?
Cen we design the report in Report Server and load, set params, execute,... directly from then frontend?
Thank you
FrontEnd with HTML5
Re: FrontEnd with HTML5
Hello,
Thank you for your message!
Login to the server:
This command return three parameters:
ResultSuccess = true - if command execution result is fine;
ResultSessionKey - a session key which we can use to run other command.
ResultNotice - a error description if the command execution is wrong.
Logout from the server:
Logout from the server at end of our work. We need specify session key which we receive at login command.
Gets the item from the server repository:
This command returns item in ResultItem argument from the server repository with specified ItemKey.
But if you need show interactive reports then you need place our report viewer in your application. In this case we need some information about place in your application where reports should be displayed.
Let me known if you need any help.
Thank you.
Thank you for your message!
Yes of course. Both of our clients for the server communicate with server via json command. If you install server to specific address, for example "http://localhost:40010/" then you can run json command at address: "http://localhost:40010/1/command/run". Example of commands:dmaya wrote: We've a Frontend developed with HTML5 and we would like to execute reports from Stimulsoft Report.Server directly from our frontend.
As a perfect integrated report inside our software.
It this possible?
Login to the server:
Code: Select all
{
"Ident": "UserLogin",
"UserName": "test@test.com",
"Password": "123456",
}
ResultSuccess = true - if command execution result is fine;
ResultSessionKey - a session key which we can use to run other command.
ResultNotice - a error description if the command execution is wrong.
Logout from the server:
Code: Select all
{
"Ident": "UserLogout",
"SessionKey": "e103c2a1de2243908d9def9d659ccc89",
}
Gets the item from the server repository:
Code: Select all
{
"Ident": "ItemGet",
"ItemKey": "48bc05bb28514a41b8b633a4832da109",
"SessionKey": "e103c2a1de2243908d9def9d659ccc89",
}
Yes you can do this, but main question how to show reports in your html5 application. If you need provide to the customers PDF file (for example) generated on the server, its a simple task.Can we design the report in Report Server and load, set params, execute,... directly from then frontend?
But if you need show interactive reports then you need place our report viewer in your application. In this case we need some information about place in your application where reports should be displayed.
Let me known if you need any help.
Thank you.