Advanced Designer Learning Path is now live! Read More

Multiple page Flask WebApp

Level 1
Multiple page Flask WebApp

Hi All - I was wondering if anyone had any experience of making a multi-page webapp in dataiku. 

I have had a look at the tutorials and they show examples of simple one page applications. using the html tab.

How would one go about creating additional pages/ page templates as is common in a normal flask application?

Thanks,

Nin 

0 Kudos
2 Replies
Dataiker
Dataiker

Hi @ninguem ,

One of the ways to create a webapp that is more complex than just a single html+js+css is to create a dev plugin. It will allow you to organize your application using multiple files (es6 modules are also supported).

One thing to note is that webapps in DSS live inside iframes, so even if you create routing withing your app the main DSS URL still wouldn't change and thus you won't be able to navigate directly to a specific page within your webapp.

That being said I can propose you to have a look at this tutorial:

https://community.dataiku.com/t5/Knowledge-Base/Use-a-React-Frontend-to-Create-a-Web-App/ta-p/9880

 

It explains how to create a simple webpack webapp (but you can adapt it to any framework).

 

Regards

Andrey Avtomonov
R&D Engineer @ Dataiku
0 Kudos
Level 1
Author

Thanks @Andrey! I'll give that a try.

0 Kudos
Labels (1)
A banner prompting to get Dataiku DSS