Using Dashboard Preview

60 views
Skip to first unread message

Spencer Ogden

unread,
Aug 26, 2016, 8:59:42 AM8/26/16
to Project Jupyter
I've been working with the new Dashboard code, and I believe I have the first two parts setup (Dashboard Editor, and Deploy). I'm having trouble getting the Dashbaord Server going, so I've been wondering if the Dashbard Preview is a stopgap.

I'd like to provide others with a link to the Dashboard Preview, however, the display of widgets is inconsistent. If I Run All in the notebook, and then switch to the Preview, everything works fine. If I shut that notebook down, and then go directly to the Preview link, the code hasn't run yet, so the widgets do not show, and the interaction doesn't work.

Is there a way to do what I am trying? In other words, to run Dashboards with less complication than the server?

Spencer

Peter Parente

unread,
Aug 26, 2016, 12:42:18 PM8/26/16
to Project Jupyter
We intended preview mode as a way for the notebook author to see what the dashboard should look like when complete. It has a secondary benefit of letting other users who have a copy of your notebook in their notebook server view it in dashboard mode after running it.

We intentionally do not run all cells when you open a notebook with ?dashboard on the URL for security.

Pete
Reply all
Reply to author
Forward
0 new messages