on ‎2019 Nov 14 7:32 AM
Hello Experts,
I am trying to add a mashup to a standard screen but when i come to drag and drop it to a pane container it doesnt work so i taught of adding this mushap to an EC before adding it to the standard UI .
Can anyone help me what should i do in inports and outoprt so my mashup work this is the code i m putting in my mashup:
document.getElementById("demo").innerHTML = sap.byd.ui.mashup.context.inport.Parameter;
I just want a simple example so i can understand i saw some tutorial in the community but i didn't understand what should i do exactly.
Thanks,
Request clarification before answering.
Ohk Now i got it 🙂
document.getElementById("demo").innerHTML = sap.byd.ui.mashup.context.inport.Parameter;
Here "Parameter" is the name of Parameter? if yes then it should be available in document.getElementById("demo").innerHTML
for example :
var src = sap.byd.ui.mashup.context.inport.MashupURL;
document.getElementById('pricefx-mashup-frame').setAttribute('src', src);
var fetchSalesQuoteData = sap.byd.ui.mashup.context.inport.FetchSalesQuoteData; ( FetchSalesQuoteData this is something manipulated in c4c )
as u can see in our case MashupURL is something coming from binding (Dynamic) and i use setAttribute of the html code.
similarly u need to do it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Dhruvin,
Thank you very much for your help.
Well the goal is to display a standard value like Account ID or Name in a html mashup .
I tried to drag and drop the mashup directly form Pipes in the Standard UI but its not working thats why i taught of putting the mashup in an embedded component but i dont know how to use the port binding i saw some tutorials in the community but i couldn't make work.
in my html code im calling the this code:
~~~~~~~~JSCode~~~~
document.getElementById("demo").innerHTML = sap.byd.ui.mashup.context.inport.Parameter;
in the inport parameter i should bind it with the account or name from sap ui but i dont know how to do that.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sarah,
Hello again 🙂
So are you creating a PDI mash up or KUT mash up!?Based on this I can guide you through.
BR
Dhruvin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.