0

Iam using SAP Lumira Designer. I want to set the name of the datasource dynamically. Therefore I add the count in loop to the database name at the end. There are Datasources with the following names:

  • DS_AW_CHART_LVL2_01
  • DS_AW_CHART_LVL2_02
  • DS_AW_CHART_LVL2_03 ...
var dbsource_name = 'DS_AW_CHART_LVL2_0'+index;
TILES.loadCharts(2, index, currentChildNode);
KPI_TILE_LVL2.as(ComponentType.LUM_ASF_TILE_OVERVIEW).setChartConfigAnwesenheit(dbsource_name);

But Iam getting the error Cannot convert from "String" to "DataSourceAlias". How can I solve it?

Maco-ic
  • 99
  • 1
  • 7

0 Answers0