Showing results for 
Search instead for 
Did you mean: 

How to Pass Dynamic Input parameter in HTML Mashup?

Former Member
0 Kudos

Hi Experts,

I have below html code for html mashup.



<script> var init = function ()


var ifram = document.getElementById('Test');

if (ifram) {

ifram.src ='https://XXXXXXXXX/index.html?hc_reset=1&AccountID=1'; };




<body onload="init()">

<iframe height="500px" width="100%" id="Test"></iframe>



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


But its not working.

How can I pass this parameter in my html code?

Thanks & Regards,

Niranjan Patel

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Niranjan,

I need to know which method you are using for creation of mashups.

1) From Front end than they have already given standard Inport Parameters and just you need to select Copy option in it under Parameters

2) If you are using SDK than you need to create custom binding and Port Type Package and you can create and pass dynamic value in your mashups.

Kindly refer this blog :


Mithun Suthar

Former Member
0 Kudos

Hi Experts,

Did anyone face same issue?