Edit this page

Add reports to Report Server programmatically

Environment

Product Version 4.1 18.604
Product ProgressĀ® TelerikĀ® Report Server (with 15 CAL users)

Description

How to upload a report in the Report Server using the public API

Solution

A simple console application in C# demonstrating how to upload a report (Concentric_NumericalScale_test.trdx that is included in the project) programmatically using the Report Server API is available in the attached UseReportServerApi.zip file.

It is necessary to change the Log-in details to reflect your local settings, i.e. modify the following code accordingly:

class Program
{
    static void Main(string[] args)
    {
        ReportServerClient reportServerClient = new ReportServerClient(@"http://arabadzhiev:83/api/reportserver/");// Change 'arabadzhiev:83' to 'the local report server host:port'
        reportServerClient.Login("arabadzhiev", "arabadzhiev");// Specify the real 'UserName' and 'Password' in this order

        .....
    }
}
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy