Skip to content

Change in SummaryDataAsync when no data in sheet behavior changed #339

@merlijnbuit

Description

@merlijnbuit

Hi guys,

Below piece of code was working perfect until recent updates to the extensions API. This behavior is taking place on Tableau Server and not on Desktop.

What we discovered recently?
When there is no summary data found in the sheet we normally would get an object with rows (0) and columns (0) meaning there is no data found in the sheet. But now we do not get anything anymore resulting in a crash and very ugly error message on server when certain filters or dashboard actions result in a empty sheet (which provides data to the extension). The 'then' in below example is not returning a single thing.

return settings.selectedSheet .getSummaryDataAsync() .then(({ columns, data: rows }) => { if (columns.length === 0 && rows.length === 0) { throw new Error( "Summary data is empty. A filter is probably excluding all data." ); } });

Can you have a look at this please?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions