how to pass Contact data into application with embedded interview
Content
Hi there,
We use a login widget to redirect to an application called Form2 page in which we embedded an interview “FutureLearn_tst” using <div>:
<div style="display: inline-block; width:100%">
<div id="future_learn" style="width: 100%; display: block; margin-left: auto; margin-right:auto; float: left"></div>
</div>
<script>
var el = document.getElementById("future_learn");
var webDeterminationsUrl = "https://murdoch-opa--tst1.custhelp.com/web-determinations";
var deploymentName = "FutureLearn_tst";
function doRedirect(){
window.location = "http://www.murdoch.edu.au";
}
OraclePolicyAutomationEmbedded.StartInterview(el, webDeterminationsUrl, deploymentName, undefined, undefined, undefined, undefined, undefined, doRedirect);
</script>
Right now we would want to retrieve some user information such as surname/firstname from DB based on user’s login, so that those data can be pre-populated in the embedded interview column.