Shimoku docs
Search…
⌃K

Erase pages and components

1. Deleting reports

Deleting reports in Shimoku is very straightforward:
You just need to specify where in your URL the report is, the grid position (row, column) and what sort of report it is (which is the one that follows plt when you create it).
For instance if you create a table that you want to delete it goes as follows:
shimoku.plt.table(
data=data_,
menu_path='test/table-test',
order=0,
filter_columns=filter_columns,
)
shimoku.plt.delete(
menu_path='test/table-test',
component_type='table', # plt.table --> 'table' is the component type
order=0,
)

2. Deleting menu_path

When you have a menu_path like(menu_path='audrey/table-test') for example, that you want to remove, you can use this method.
Suppose you have this path:
In the left panel, there is the table test path.
Removing this path is achieved using:
shimoku.plt.delete_path(menu_path='audrey/table-test')
Running this method, removed the table-test path, it was between bar test and horizontal bar test. I will not appear anymore in the left side navigation panel:
You can use this method to remove any path that you have created.
And If you want to delete a whole app (suite) like https://staging.shimoku.io/john, you can use this:
shimoku.plt.delete_path(menu_path='john')
The app will be removed.