Skip to Content
1
Apr 16, 2019 at 04:33 PM

Sap Analytic Cloud Application Design - How to fill a dropdown by data source dimension?

3019 Views

Hello,

does somebody know how to fill a dropdown within SAP Analytic Cloud Analytic Application

I understand that you have to fill it on onInitialization.

My try was:

var product_list = Table_1.getDataSource().getMembers("Produkt");

Dropdown_Produkt.addItem(product_list, product_list);

How is the syntax for

addItem(key: string, text?: string);

Thank you for your support

Best regards

Michael