...
An example of the complete code for the openExternalApp function, with header and footer information, is as follows.
Code Block |
---|
<html><head><title>Example External App</title><script type="text/javascript">
function openExternalApp(rows) {
var externalAppURL="http://localhost/Test.html";
externalAppURL+="?ContFrstName="+rows[0]._2.CONTFIRSTNAME; externalAppURL+="&ContLstName="+rows[0]._2.CONTLASTNAME;
externalAppURL+="&PresRowId="+rows[0]._2.CONTTXT01; externalAppURL+="&Id="+rows[0]._2.uid;
return "[ {\"action\":\"goToURL\",\"noescape\":\"true\",\"url\":\"" + externalAppURL + "\"} ]";
}
</script></head></html>
|
In this example, note the following key points:
...