Dashboards Filter API Behavior Discrepancy with App Studio (Removing filters)

I'm encountering an issue with the domo.filterContainer()
API in Domo App Studio. When I apply filters (Custom filter brick) using this API within my app, they work as expected. However, when I clear the filters using the UI (e.g., by clicking a "Clear All" button or removing individual filter selections), the filters are not actually cleared from the underlying data. Instead, it seems they are being set on the app's filters in App Studio, and I have to manually clear them using the page filtering options.
This behavior is different from what I observe in Domo dashboards, where clearing filters in the UI properly removes them completely without any manual update in the page filters.
Here's the relevant code snippet:
JavaScript:
function clearFilter() {
enableLogging && console.log('Clearing all filters');
selectedColumns =; // Add App Studio-specific double clear
domo.filterContainer(, "REPLACE");
setTimeout(() => domo.filterContainer(, "REPLACE"), 50);
renderSelectedFilter();
saveToLocalStorage(); } // Session cleanup for App Studio
window.addEventListener('beforeunload', () => {
domo.filterContainer(, "REPLACE");
// ...
}); // Filter sync handler
domo.onFiltersUpdate((filters) => {
if (filters.length === 0 && selectedColumns.length > 0) {
// ...
}
});
As you can see, I've already tried:
Calling domo.filterContainer(, "REPLACE")
to clear the filters.
Adding a setTimeout
to call domo.filterContainer
again, as a workaround for potential App Studio issues.
Implementing session cleanup and filter sync handlers (Gemini suggestion).
Despite these efforts, the problem persists.
Has anyone else experienced this discrepancy between App Studio and dashboards when using the domo.filterContainer()
API? Are there any known workarounds or best practices to ensure that clearing filters in the UI consistently clears the underlying data in App Studio apps?
Any insights or suggestions would be greatly appreciated!
Categories
- All Categories
- 1.9K Product Ideas
- 1.9K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 305 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 3K Transform
- 111 SQL DataFlows
- 649 Datasets
- 2.2K Magic ETL
- 4K Visualize
- 2.5K Charting
- 783 Beast Mode
- 76 App Studio
- 43 Variables
- 739 Automate
- 186 Apps
- 474 APIs & Domo Developer
- 65 Workflows
- 14 DomoAI
- 40 Predict
- 17 Jupyter Workspaces
- 23 R & Python Tiles
- 406 Distribute
- 117 Domo Everywhere
- 279 Scheduled Reports
- 10 Software Integrations
- 138 Manage
- 135 Governance & Security
- 8 Domo Community Gallery
- 44 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 113 Community Announcements
- 4.8K Archive