Skip to Content
0

HTML Mashup context parameter read

Feb 09, 2017 at 10:57 PM

65

avatar image

Hi,

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?

Thanks,

Praveen Bandaru

scnmashuperror.png (17.3 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

praveen bandaru Feb 13, 2017 at 06:44 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded