...
- Save the Rich Display File to the IFS File System (the default location is shown below):
- Create the helloworld.php script below. You can place it in the following location on the IFS: /www/<YOUR SERVER INSTANCE NAME>/htdocs/profoundui.
Code Block | ||||
---|---|---|---|---|
| ||||
<?php
header("Content-Type: application/json");
if (isset($_POST['btnExit']) && $_POST['btnExit'] == '1') {
return;
}
$view = '/profoundui/userdata/dspf/HelloWorld.json';
$output = array('view' => $view, 'screen' => 'HELLO');
echo json_encode($output);
?>
|
...