Hi Experts,
I have below html code for html mashup.
<html>
<head>
<script> var init = function ()
{
var ifram = document.getElementById('Test');
if (ifram) {
ifram.src ='https://XXXXXXXXX/index.html?hc_reset=1&AccountID=1'; };
}
</script>
</head>
<body onload="init()">
<iframe height="500px" width="100%" id="Test"></iframe>
</body>
</html>
Now I have one input parameter AccountID "sap.byd.ui.mashup.context.inport.AccountID". it will come from Account Screen.
How can I pass this parameter in my html code?
I tried
'https://XXXXXXXXXXXXXXXXXXX/index.html?hc_reset=1&AccountID='+sap.byd.ui.mashup.context.inport.AccountID+';
But its not working.
How can I pass this parameter in my html code?
Thanks & Regards,
Niranjan Patel