Skip to Content
0

HTML Mash up parameter value is not getting assigned

May 07, 2017 at 03:02 PM

55

avatar image

Hi Experts,

I am calling a HCI based web service on clicking of a tab in the customer quote TI Component, custom action triggers the webservices on clicking of the tab and sends the request parameters to the external application and we get a response as URL which is a dynamic URL which I am trying to display it on a HTML Mashup.Issue which I am facing here is the response value which I sending as a parameter to the HTMl Mashup is not getting assigned

Steps I created here is

Extended Customer Quote Object

Created Custom Action and consuming the HCI Service

Created Port Type Package with a parameter

Created Port Binding with type as Application Integration

Created HTML Mash up with type HTML Code and HTML Script is written on the code Editor

Created Embedded Component and binded the HTML Mashup and added this EC to the Quote TI UI

Is there anything else which needs on this enhancement

HTM L Script

<!DOCTYPE html>
<html>
<body onLoad>="myFunction()">
<iframe id ="myFrame" src =""height="1000" width ="100%" frameborder ="0"></iframe>
<script>
function myFunction(){
document.getElementById("myFrame").srcsap.byd.ui.mashup.conetext.inport.URL;
}

document.write(sap.byd.ui.mashup.context.inport.URL );
</script>
</body>
</html>

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers