Customize API save report

Posted by: ducn on 26 January 2021, 1:43 am EST

  • Posted 26 January 2021, 1:43 am EST

    Hi Team,

    I see that when click save in report designer and it calls to api :


    Can I customize it ?

    Duc Nguyen
  • Replied 26 January 2021, 2:31 pm EST


    Could you please share the Use case and requirement to customize the service?

  • Replied 27 January 2021, 7:04 pm EST

    At the report designer : I don't want to return :
    - Dataset Query Command
    - Datasrouce connection string .
    Just provider :
    - DatasourceID --> it will mapping with my backend
    - DatasetID ---> It will mapping with my backend
    At the Report Viewer : Can I modify at the runtime for mapping DatasourceID, DatasetID

    Duc Nguyen
  • Marked as Answer

    Replied 1 February 2021, 2:24 am EST


    You can add the dataset in the WebDesigner by adding the Dataset file "WebDesigner_MVC\datasets" folder. You can refer the attachment for the sample JSON file. Also, you can show the custom dataset names via public object[] GetDataSetsList() and create(or load pre-created) datasets in public object GetDataSet(string id). Please refer to the attached sample Json.

    After that, you can use the SetLocateDataSource method of reporting service to the return the datatable at runtime.
    settings.SetLocateDataSource(args =>
    return new DataTable();



    Categories (1).zip
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels