registerFunction("testEdlmAction"); $in_xAjax = false; $xAjax_objResponse; function testEdlmAction($idx, $id) { global $in_xAjax; $user = $_SESSION['user']; $xAjax_objResponse = new xajaxResponse(); $in_xAjax = true; CheckLoggedOut(); $result = edlm_test_external_app($user, $id); if($result == "80000000") // Success { $xAjax_objResponse->assign("diag_status_".$idx, "innerHTML", "OK" ); $xAjax_objResponse->assign("diag_status_".$idx, "style.color", "green"); } else { $xAjax_objResponse->assign("diag_status_".$idx, "innerHTML", "Failed [?]" ); } $xAjax_objResponse->script("document.getElementById(\"diag_button_".$idx."\").disabled = false;"); $in_xAjax = false; return $xAjax_objResponse; } $xajax->processRequest(); if ($_SERVER[REQUEST_METHOD] == "POST") { $operationInProgress = true; $status = new ReturnStatus(); error_log("POST data:".print_r($_POST,true)); if($_POST["op"] == "update") { $id = intval($_POST["action_id"]); $name = db_escape($_POST["name"]); $plugin_id = intval($_POST["action_type_id"]); $host = db_escape($_POST["host"]); $port = intval($_POST["port"]); $failover_host = db_escape($_POST["failover_host"]); if($failover_host != "") { $failover_port = intval($_POST["failover_port"]); } $protocol_id=intval($_POST["protocol_id"]); $wsusername=db_escape($_POST["wsusername"]); $wspassword=db_escape($_POST["wspassword"]); error_log("params: id=".$id." name=".$name." plugin=".$plugin_id." host=".$host." port=".$port." protocol_id=".$protocol_id." username=".$wsusername); edlm_update_external_app($user, $id, $name, $plugin_id, $host,$port, $failover_host, $failover_port,$protocol_id,$wsusername,$wspassword); } else if($_POST["op"] == "delete") { $id = intval($_POST["action_id"]); edlm_delete_external_app($user, $id); } print $status->out(); return; } $apps = edlm_get_external_apps(); error_log("External apps: ".print_r($apps,true)); $plugins = edlm_get_plugins(); // Create a mapping of id -> plugin name for the plugins $pluginMap = array(); foreach($plugins as $plugin) { $pluginMap[$plugin->id] = $plugin->name; } ?> EDLM - Configure StorNext Settings printJavascript(); ?>

Tools - EDLM StorNext Configuration

Create or modify the settings that EDLM can use to communicate with external StorNext servers.

There are no StorNext configurations created yet.

Before StorNext can be configured to use the Plug-In option. The necessary Plug-In must be installed. WebServices StorNext configuration can be done without any Plug-Ins being installed.

$app) { ?> failover_host != "") { ?>
 NamePrimary HostSecondary HostEDLM Plug-inIn UseDiagnostics
name ?> host ?>:port ?> failover_host ?>:failover_port ?> Not Configured action_type_id] ?> in_use ? "Yes" : "No" ?>

Tools - EDLM StorNext Configuration

Enter the following information for the StorNext host: