Use Project Variables in Applications (HTML tile)
VFL
Registered Posts: 11 ✭✭✭
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 ?
Best Answer
-
Hi @VFL
,does it work with the following link ?
<a href = "server/projects/${projectKey}/notebooks/jupyter/my_notebook">Open the notebook</a>
Answers
-
Yes ! I tried it earlier and it did not work, I must have done something wrong.
Thanks a lot