Add Dashboards.getWebAppPath and fix queries to use it.