4 years ago
SDT Dashboard Widget
I would like to see a dashboard widget that can display upcoming SDTs. We have multiple sites and being able to show upcoming maintenance windows for things like circuits would be useful for onsite...
You could easily make the appliesto for your datasource something like this:
lm.access.id && lm.access.key && lm.company && dashboard.id && widget.id
That would ensure that if the properties are missing, your applies to would error out, clearly indicating the problem you need to fix.
I would also recommend a best practice of specifying a unique API token/key for this datasource. Using lm.access.id and lm.access.key for every API based DataSource makes it difficult to tell which one might be causing issues when/if you run into issues like reaching your query limit. I prepend the datasource name in front of the credential properties so that each one of my datasources has a unique set of API credentials. When/if there is a failure, only that one datasource goes down and it's clear which api id is the offender.