Implementation in Websites

Stimulsoft BI Server discussion
Anuranjani
Posts: 112
Joined: Wed Aug 27, 2014 12:36 pm

Re: Implementation in Websites

Post by Anuranjani »

Hi Andrew,

Thanks for the GUI video. Please provide the same for API.
Thank You,
Darsana.R
Andrew
Posts: 4107
Joined: Fri Jun 09, 2006 3:58 am

Re: Implementation in Websites

Post by Andrew »

Ok,

We will prepare this.
This will take a day or two.

Have a nice day!
Anuranjani
Posts: 112
Joined: Wed Aug 27, 2014 12:36 pm

Re: Implementation in Websites

Post by Anuranjani »

Ok,

Thank you.
Thank You,
Darsana.R
Andrew
Posts: 4107
Joined: Fri Jun 09, 2006 3:58 am

Re: Implementation in Websites

Post by Andrew »

Anuranjani,

We are ending testing process. The assembly with API will be available on Monday next week. Video and documentation will be available on Monday too. API is not the .NET Framework.

Documentation for the REST API will be done in 2 weeks.

In this thread, we will keep informed on this.
Have a nice day!
Andrew
Posts: 4107
Joined: Fri Jun 09, 2006 3:58 am

Re: Implementation in Websites

Post by Andrew »

Dear Anuranjani,

The assembly Stimulsoft.Server.Connect is required for this SDK. The current version of the report server does not contain this assembly but it will available in the next release on December, 1 2014. Please contact us at support@stimulsoft.com if you need the new version shortly.

Let us know if you have additional questions.
Thank you.
Attachments
Stimulsoft_Reports_Server_API_SDK.pdf
(418.38 KiB) Downloaded 622 times
Anuranjani
Posts: 112
Joined: Wed Aug 27, 2014 12:36 pm

Re: Implementation in Websites

Post by Anuranjani »

Ok,

Thank you for your response.
Thank You,
Darsana.R
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Implementation in Websites

Post by HighAley »

Hello.

We are always glad to help you.
Let us know if you need any additional help.

Thank you.
Andrew
Posts: 4107
Joined: Fri Jun 09, 2006 3:58 am

Re: Implementation in Websites

Post by Andrew »

Dear Anuranjani,

Please see the code how to generate a PDF file with help of Stimulsoft Reports.Server.

Code: Select all

// Connect to Stimulsoft Report.Server on port 40010
var connection = new StiServerConnection("http://localhost:40010/");
// User Name and Password from actions
connection.Users.Login("username", "password");

// Load Data in ByteArray
var bytes = File.ReadAllBytes("Data.xml");

// Get Item from Access Key
var dataItem = connection.Items.Get("94ebe81e880843fb899eee393397f092") as StiFileItem;
// Create Item if it does not exist
if (dataItem == null) dataItem = connection.Items.Root.NewFile("data.xml", StiFileType.Xml);
// Upload Data to Item
fileItem.UploadFromArray(bytes);

// Get PDF Item from Access Key
var pdfItem = connection.Items.Get("b17ce23f44ee411793440bceb61d4ba6") as StiFileItem;
// Create Item if it does not exist
if (pdfItem == null) pdfItem = connection.Items.Root.NewFile("report.pdf", StiFileType.Pdf);
fileItemPdf.Save();

// Get Report from Access key
var reportItem = connection.Items.Get("4cf1d78e5773470880b0145f895c7f00") as StiReportTemplateItem;
// Create Item if it does not exist
if (reportItem == null) reportItem = connection.Items.Root.NewFile("report", StiFileType.ReportSnapshot);
// Compile Report to PDF Item
reportItem.Run(pdfItem);

// Download PDF to ByteArray
var result = fileItemPdf.DownloadToArray();

// Logout User
connection.Users.Logout();
Thank you.
Anuranjani
Posts: 112
Joined: Wed Aug 27, 2014 12:36 pm

Re: Implementation in Websites

Post by Anuranjani »

Hi,

Please let me know where can i get the latest version of stimulsoft report server which includes the assembly Stimulsoft.Server.Connect
Thank You,
Darsana.R
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Re: Implementation in Websites

Post by Jan »

Hello,
Anuranjani wrote: Please let me know where can i get the latest version of stimulsoft report server which includes the assembly Stimulsoft.Server.Connect
You can get it here: http://www.stimulsoft.com/en/downloads

Please contact us if you need any help!

Thank you.
Post Reply