GitHub user dosubot[bot] added a comment to the discussion: Does Superset 6.0.0 officially support the Extension Framework (.supx)?
<!-- Answer --> A few things to check: **1. Ensure the feature flag is enabled** - Extensions are [disabled by default](https://github.com/apache/superset/issues/34162). Confirm you have this in `superset_config.py`: ```python FEATURE_FLAGS = { "ENABLE_EXTENSIONS": True, } ``` **2. Check your registration timing** - The `views.registerView()` call must happen at [module-level in your `index.tsx`, not inside async functions or React components](https://github.com/apache/superset/pull/38346): ```typescript // ✅ Correct - at module level views.registerView(myView, 'sqleditor.extension.form', provider); // ❌ Wrong - inside async/component async function init() { views.registerView(...); // Too late! } ``` **3. Verify upload method** - `.supx` files should be uploaded via the API endpoint `/api/v1/extensions/import/`, not just placed in a directory. Or use `LOCAL_EXTENSIONS` config for development. **4. Debug steps:** - Check your browser console for JavaScript errors - Look at Superset backend logs for extension loading errors - Verify your `manifest.json` is properly formatted in the `.supx` package Which specific Community example are you using? And do you see any errors in the console or logs? <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=brand-link).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/466d2994-1b62-4072-b77e-03666c3257ac?feedback_type=great_response&utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/466d2994-1b62-4072-b77e-03666c3257ac?feedback_type=irrelevant_answer&utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/466d2994-1b62-4072-b77e-03666c3257ac?feedback_type=incorrect_sources&utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/466d2994-1b62-4072-b77e-03666c3257ac?feedback_type=too_verbose&utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/466d2994-1b62-40 72-b77e-03666c3257ac?feedback_type=hallucination&utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/466d2994-1b62-4072-b77e-03666c3257ac?feedback_type=bug_report&utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-bug_report) | [Other](https://app.dosu.dev/response-feedback/466d2994-1b62-4072-b77e-03666c3257ac?feedback_type=other&utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=chat-badge) [](https://cursor.com/link/prompt?text=A%20few%20things%20to%20check%3A%0A%0A%2A%2A1.%20Ensure%20the%20feature%20flag%20is%20enabled%2A%2A%20-%20Extensions%20are%20%5Bdisabled%20by%20default%5D%28https%3A//github.com/apache/superset/issues/34162%29.%20Confirm%20you%20have%20this%20in%20%60superset_config.py%60%3A%0A%60%60%60python%0AFEATURE_FLAGS%20%3D%20%7B%0A%20%20%20%20%22ENABLE_EXTENSIONS%22%3A%20True%2C%0A%7D%0A%60%60%60%0A%0A%2A%2A2.%20Check%20your%20registration%20timing%2A%2A%20-%20The%20%60views.registerView%28%29%60%20call%20must%20happen%20at%20%5Bmodule-level%20in%20your%20%60index.tsx%60%2C%20not%20inside%20async%20functions%20or%20React%20components%5D%28https%3A//github.com/apache/superset/pull/38346 %29%3A%0A%0A%60%60%60typescript%0A//%20%E2%9C%85%20Correct%20-%20at%20module%20level%0Aviews.registerView%28myView%2C%20%27sqleditor.extension.form%27%2C%20provider%29%3B%0A%0A//%20%E2%9D%8C%20Wrong%20-%20inside%20async/component%0Aasync%20function%20init%28%29%20%7B%0A%20%20views.registerView%28...%29%3B%20//%20Too%20late%21%0A%7D%0A%60%60%60%0A%0A%2A%2A3.%20Verify%20upload%20method%2A%2A%20-%20%60.supx%60%20files%20should%20be%20uploaded%20via%20the%20API%20endpoint%20%60/api/v1/extensions/import/%60%2C%20not%20just%20placed%20in%20a%20directory.%20Or%20use%20%60LOCAL_EXTENSIONS%60%20config%20for%20development.%0A%0A%2A%2A4.%20Debug%20steps%3A%2A%2A%0A-%20Check%20your%20browser%20console%20for%20JavaScript%20errors%0A-%20Look%20at%20Superset%20backend%20logs%20for%20extension%20loading%20errors%0A-%20Verify%20your%20%60manifest.json%60%20is%20properly%20formatted%20in%20the%20%60.supx%60%20package%0A%0AWhich%20specific%20Community%20example%20are%20you%20using%3F%20And%20do%20you% 20see%20any%20errors%20in%20the%20console%20or%20logs%3F) [](https://go.dosu.dev/discord-bot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=join-discord) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/38607) GitHub link: https://github.com/apache/superset/discussions/38607#discussioncomment-16101574 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
