How to export witwidget as an HTML

101 views
Skip to first unread message

Nam Desembrana

unread,
Sep 21, 2020, 8:54:44 AM9/21/20
to What-If Tool
Trying to export the witwidget as standalone to be added on a webapp and not converting the whole notebook. An inquiry was already sent about this last 2019 but the link of the github where the codes can be found doesn't work. Thank you for any of your help.

jwe...@google.com

unread,
Sep 21, 2020, 10:45:19 AM9/21/20
to What-If Tool
Hi Nam. I see the thread you reference is probably https://groups.google.com/g/what-if-tool/c/qgchOhnf05M/m/UKUKxt62BAAJ, but that was made when the code lived in its old location.


But WIT isn't developed in a way where exporting it as a standalone webapp is simple. You would need to write a wrapper that calls to your webserver to do actions like loading the data and querying the model, in the same way that demo code does.
Reply all
Reply to author
Forward
0 new messages