I have an extension which is trying to get the value set by setVariableContent in another extension. When I use getContent or getByName it returns the initial value of the variable and not the value used by the set function. If I put the variable in a a text box it shows the new value. How do I capture the new value using the APIs?
Also I need the extension to refresh when the variable value changes. The variable could be set by another extension so how do I register/ capture this event in an AngualrJS erxtension