Skip to Content

HTML Mashup context parameter read


I created a HTML mashup from PDI, and trying to read the inport parameters to pass to the mashup. I just added debug script to display std parameters, but getting the error context is undefined.

<script> alert('Mashup:'+sap.byd.ui.mashup);

alert('Context:'+sap.byd.ui.mashup.context); </script>

Mashup is executing fine, it is returning object for sap.byd.ui.mashup but not for sap.byd.ui.mashup.context. I removed all custom logic and just trying with simple test, on chrome debugger, it is not showing context object under mashup. scnmashuperror.png

Any suggestions?


Praveen Bandaru

scnmashuperror.png (17.3 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Feb 13, 2017 at 06:44 PM

    Context parameters are showing up now. No changes were made from SDK side. I am not sure why it failed earlier. Closing the post.

    Add comment
    10|10000 characters needed characters exceeded