Pass value to ui_template in dashboard 2.0

I do not understand how to pass a value from my incoming message into this code... Can someone please help?

This causes the page to crash