Implementation in Websites
-
- Posts: 112
- Joined: Wed Aug 27, 2014 12:36 pm
Re: Implementation in Websites
Hi Andrew,
Thanks for the GUI video. Please provide the same for API.
Thanks for the GUI video. Please provide the same for API.
Thank You,
Darsana.R
Darsana.R
Re: Implementation in Websites
Ok,
We will prepare this.
This will take a day or two.
Have a nice day!
We will prepare this.
This will take a day or two.
Have a nice day!
-
- Posts: 112
- Joined: Wed Aug 27, 2014 12:36 pm
Re: Implementation in Websites
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!
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!
Re: Implementation in Websites
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.
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
-
- Posts: 112
- Joined: Wed Aug 27, 2014 12:36 pm
Re: Implementation in Websites
Hello.
We are always glad to help you.
Let us know if you need any additional help.
Thank you.
We are always glad to help you.
Let us know if you need any additional help.
Thank you.
Re: Implementation in Websites
Dear Anuranjani,
Please see the code how to generate a PDF file with help of Stimulsoft Reports.Server.
Thank you.
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();
-
- Posts: 112
- Joined: Wed Aug 27, 2014 12:36 pm
Re: Implementation in Websites
Hi,
Please let me know where can i get the latest version of stimulsoft report server which includes the assembly Stimulsoft.Server.Connect
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
Darsana.R
Re: Implementation in Websites
Hello,
Please contact us if you need any help!
Thank you.
You can get it here: http://www.stimulsoft.com/en/downloadsAnuranjani wrote: Please let me know where can i get the latest version of stimulsoft report server which includes the assembly Stimulsoft.Server.Connect
Please contact us if you need any help!
Thank you.