Skip to Content
0
Jun 21, 2023 at 01:24 PM

DS.getDimensions() has no return values

85 Views Last edit Aug 21, 2023 at 08:27 AM 2 rev

Dear experts,

I'm working on a Story (of the newer type, OEM, with scripting) with live a connection and try to retrieve Dimensions of a Datasource.

so I have this code:

var arrDim = Chart_1.getDataSource().getDimensions();

The goal would be to loop on dimension filters and pass them as URL Parameters to another story, but that comes later.

My problem is that getDimensions() is underlined in red and shows "This function has no return value.", so I'm stuck. I can remember that this used to work fine in Applications. Is that a limitation/bug of the new story type?

I have the same error with getDimensionFilters.

Thanks for your answers, and Best regards,

Stéphane