Edit a data app's queries and controls while it runs
Chart and dashboard builders can now change or remove a data app's queries, filters and date drills while it runs.
Call update() with what changes, or remove():
byRegion.update({ aql: newAql }) // swap the query in place
region.update({ label: 'Market' }) // keeps the reader's choice
oldChart.remove() // takes its links with it
await app.execute() // runs every edit togetherA query keeps its name, links and results on screen until it reruns. Names never change: remove and recreate instead. Learn more (opens in a new tab)