FrontEnd with HTML5

Stimulsoft BI Server discussion
Post Reply
dmaya
Posts: 1
Joined: Fri Nov 28, 2014 10:10 pm

FrontEnd with HTML5

Post by dmaya »

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
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Re: FrontEnd with HTML5

Post by Jan »

Hello,

Thank you for your message!
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?
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:

Login to the server:

Code: Select all

{  
  "Ident": "UserLogin",
  "UserName": "test@test.com",
  "Password": "123456",
}
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:

Code: Select all

{  
  "Ident": "UserLogout",
  "SessionKey": "e103c2a1de2243908d9def9d659ccc89",
}
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:

Code: Select all

{
  "Ident": "ItemGet",
  "ItemKey": "48bc05bb28514a41b8b633a4832da109",
  "SessionKey": "e103c2a1de2243908d9def9d659ccc89",
}
This command returns item in ResultItem argument from the server repository with specified ItemKey.
Can we design the report in Report Server and load, set params, execute,... directly from then frontend?
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.
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.
Post Reply