Is there any way to save the notebook in the "Results Only" view?

ekdz__
Databricks Partner

Hi! I'm looking for a solution to save a notebook in HTML format that has the "Results Only" view (without the executed code). Is there any possibility to do that?

Thank you 🙂

Hubert-Dudek
Databricks MVP

Use option "+New dashboard" in the top menu (picture icon). Add results there (use display() in code to show data), and then you can export the dashboard to HTML.

image.png


My blog: https://databrickster.medium.com/

ekdz__
Databricks Partner

Actually, the provided solution wasn't helpful. I don't want to create any dashboard. I have already been able to generate an HTML report via Databricks API at the end of the notebook, but what I want to achieve is to generate this report without the code pieces.

Sivaprasad1
Databricks Employee
Databricks Employee

I believe we do not have an option to do so.

jose_gonzalez
Databricks Employee
Databricks Employee

Hi @Eryk Kądziela​,

Just a friendly follow-up. Did any of the responses help you to resolve your question? if it did, please mark it as best. Otherwise, please let us know if you still need help.

Aashu_mahesh
New Contributor II

Hello, could you please let me know to download the notebook with results and code at end of the notebook using Databricks API, I have been using export api but it’s not working as expected