Use Project Variables in Applications (HTML tile)

Solved!
VFL
Level 2
Use Project Variables in Applications (HTML tile)

Hello,

I am building an application, and part of the process is for the user to visit a particular notebook (to look at plots and choose parameters).

I am trying to build a simple "url link" message in the Application UI, but I can't find how to use variables in it.

  • I chose the "Variable Display" tile
  • Then in HTML, I was looking for something like this :

 

<a href = "server/" + ${projectKey} + "/notebooks/jupyter/my_notebook">Open the notebook</a>

 

But it does not work.

Any idea of I could manage to display such link ?

0 Kudos
1 Solution
Marine
Dataiker

Hi @VFL , 

does it work with the following link ? 

<a href = "server/projects/${projectKey}/notebooks/jupyter/my_notebook">Open the notebook</a>

 

View solution in original post

0 Kudos
2 Replies
Marine
Dataiker

Hi @VFL , 

does it work with the following link ? 

<a href = "server/projects/${projectKey}/notebooks/jupyter/my_notebook">Open the notebook</a>

 

0 Kudos
VFL
Level 2
Author

Yes ! I tried it earlier and it did not work, I must have done something wrong.

Thanks a lot