Hi @Andreas_Kvale ,
Please search for the solution in the available resources before posting. This avoids duplication
I could find the resolution already available under How to use a variable in: <webctrl aaname=VARIABLE /> - #8 by Vikas.Jain
Regards,
V