UsingSaved views & listsConcept
Deleting something others depend on
What depends on a saved view, list or scorecard, what a delete takes with it, and why you sometimes can't delete one.
Some things in CapitolMath are built on others. Before you delete one, CapitolMath checks what depends on it and asks what to do about them, so nothing is left pointing at something that's gone.
What depends on what#
| This | Depends on |
|---|---|
| A widget | The saved view, list or scorecard it shows |
| A webhook | The saved view or list it watches |
| A scorecard | The saved view or list its bills came from |
| A calendar view | The bill views chosen under Legislation Views |
| A Tracked items view | The bill view chosen under Legislation saved view |
| An officials view | Each scorecard it filters by under Scorecard rating |
| A triage source | The saved view whose new matches it sends to an Inbox (Triage sources) |
| A report | The saved view its bills come from (Reports); a report on every tracked item depends on nothing |
Dependencies can chain. Deleting a bill view can take a scorecard built from it, and the scorecard can take the widget that publishes it and an officials view that filters by it.
Starting a scorecard with Reuse earlier rules doesn't make a dependency on the earlier scorecard. The copy stands on its own.
When you delete something others depend on#
Select Delete on a saved view, list or scorecard. If anything depends on it, the dialog lists every item, however far down the chain, with whether you can delete each one. Select an item's name to open it in a new tab and see what it is before you decide.
- If you can delete them all, the button says how many go with it, as in Delete view and 3 more. Select it to delete the item and everything that depends on it. Each deletion is recorded in the organization's activity log.
- If there's even one you can't delete, the item can't be deleted either, and the button is unavailable. For each of those items, the dialog shows why, for example that only its owner or an Admin can delete it, or that it isn't shared with you. It also shows who to ask: the owner of a saved view or scorecard, or whoever created a widget or webhook. Items you can't see are listed without their names.
To keep the things that depend on it, cancel and change each of them so it no longer uses the item. For example, point the widget at another view, or take the scorecard rating out of the officials view. Then delete the item.
Who can delete what#
You can delete a saved view or scorecard you own, if you have a Full license. Owners and Admins can delete any of them. Widgets are deleted by Owners and Admins. Webhooks are deleted by members with a Full license, and by Owners and Admins. A triage source is deleted with its view by members with Manage triage sources; the bills it sent stay in their Inboxes. A report is deleted by its owner or by someone with Manage All on Reports; the links it already sent keep working until they expire. See Sharing a saved view and Roles and licenses.