So to create a global variable it has to be done in the HE console -> settings -> Hub variables
ie you cannot create one just by assigning it. This is an HE decision, and it is to avoid some errant application from creating a bunch of global variables by accident.
Once it is created, webcore should be able to use it