adding custom api #43738
Replies: 1 comment
|
There's no plugin system for adding a download menu item purely from config — it requires touching both the frontend menu code and the backend API. Here's the concrete path based on how the existing download items are built: 1. Add the menu item (frontend) The chart's dropdown menu on a dashboard is defined in SliceHeaderControls/index.tsx. The download entries live inside a
2. Where to put the new endpoint (backend) Superset's REST APIs are Flask-AppBuilder
In summary: add a Want me to dig into the exact To reply, just mention @dosu. Share context across your team and agents. Try Dosu. |
Uh oh!
There was an error while loading. Please reload this page.
i need to add another button in the menu download as csv , download as pivot , downloas as image , custom download ,
this button will call a endpoint (where should I write this) and the endpoint will go to a python file which will do something
@dosubot
All reactions