GitHub user dosubot[bot] added a comment to the discussion: Displaying External Reports in Superset UI is possible?
<!-- Answer --> Superset does not have a built-in feature specifically for embedding or linking to external files such as PDFs or CSVs directly in the UI. However, you can customize the Superset UI to add new components or links for accessing external resources. This can be done by modifying the `superset-frontend/src/setup/setupDashboardComponents.ts` file to include custom components or links <sup>[[1]](https://github.com/apache/superset/blob/master/superset-frontend/src/setup/setupDashboardComponents.ts)</sup>. Additionally, you can customize the HTML head of every view in Superset by overriding the `superset/templates/head_custom_extra.html` file. This allows you to include custom links, meta tags, styles, or script elements, which can be used to link to external resources <sup>[[2]](https://github.com/apache/superset/blob/master/superset/templates/head_custom_extra.html)</sup>. For serving files from a local directory, Superset does not natively support this functionality, and you would need to implement a custom solution to securely expose these files. Consider using a separate file server or service to handle file storage and access, and then link to these files from within Superset. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/107455ca-f670-4c89-b1a5-b30986cbcba1?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/107455ca-f670-4c89-b1a5-b30986cbcba1?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/107455ca-f670-4c89-b1a5-b30986cbcba1?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/107455ca-f670-4c89-b1a5-b30986cbcba1?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/107455ca-f670-4c89-b1a5-b30986cbcba1?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/107455ca-f670-4c89-b1a5-b30986cbcba1?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/107455ca-f670-4c89-b1a5-b30986cbcba1?feedback_type=other)</sup> GitHub link: https://github.com/apache/superset/discussions/33528#discussioncomment-13202360 ---- 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]
