cancel
Showing results for 
Search instead for 
Did you mean: 

HTML Mashup context parameter read

pbandaru
Explorer
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

pbandaru
Explorer
0 Kudos

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