We have embedded Telerik report designer in our angular web application. Reports which we have designed has web api datasources in it which requires authorization token. All the reports have a parameter named token defined in it in which we need to pass on the value of latest token when designer opens up. But not able to figure out the way to pass/update the parameter value when I'm opening the report designer. Following is the code we have to open report designer.
this.designer = $('#webReportDesigner')
.telerik_WebReportDesigner({
serviceUrl: `${environment.apiUrl}/reportdesigner/`,
report: reportName != null ? `${reportName}` : false,
parameterAreaPosition: 'left',
parametersAreaVisible: true,
interactive: true,
tools: [
{ name: 'openReport' },
{ name: 'save' },
{ name: 'undo' },
{ name: 'redo' },
{ name: 'preview' },
],
documentMapAreaPosition: 'left',
})
.data('telerik_WebReportDesigner');