Hi GOS. The second link is exactly what I am looking for.
I tried to implement it exactly as shown but get an error (as per attached) and it does not work
Do you know what could be wrong?