Does anyone know if the Dashboard ‘Run on Load’ setting can be manipulated via the API?
I was unable to locate it in the API. But I wanted to check in case I missed it somewhere.
TIA!

Does anyone know if the Dashboard ‘Run on Load’ setting can be manipulated via the API?
I was unable to locate it in the API. But I wanted to check in case I missed it somewhere.
TIA!
Hi
We can set run on load via the load_configuration parameter which is an argument in the WriteDashboard object. To set a dashboard to use run on load set load_configuration to equal “cache_run”, if we want to toggle this off we want to set load_configuration to “wait”
from looker_sdk import methods40, models40
sdk = looker_sdk.init40()
me = sdk.me()
sdk.update_dashboard(dashboard_id="1016", body=models40.WriteDashboard(load_configuration="cache_run"))
Please let me know if you have any questions!
Thanks,
Eric
Hi Eric, similar question but for embeded URL construction - is there a way to specify a URL parameters for a dashboard in such a way that it runs on load? Thank you!
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.