Change Spotfire document property (label) value using R

Hello everyone,


I have an input field who must be completed by a user. I have also a label (it's a document property : $label). 

I would like to change the value of this label (which is included in a R script) to alert the user if he has forgotten to complete the input field.

I have try the following line in my script : ${label}="alert"

But it's not functionning...


Can someone help me please?


Thank you in advance!

(1) Answer