Can't access the inport parameter at sap.byd.ui.mashup.context.inport
I am trying to create a mashup in Cloud for costumer that loads the account id from the current costumer and using that variable load an url.
When I test the script using the Preview button Everything works but when loading the mashup in the regular interface I get the error undefined while accessing any object further down than: sap.byd.ui.mashup.context.inport
What do I need to change to be able to access the objects?
Yes, the problem was that not all portbindings work on all objects.
Once that was changed the code was working.