You can use custom data actions to open data files with specific applications. For
example, if you want to open all .dat files with the vi
editor in a remote console, configure the custom job data action in the
$GUI_CONFDIR/jobdataaction.xml file.
Procedure
-
Log in to the server as root and configure a new custom job data action in
$GUI_CONFDIR/jobdataaction.xml.
For example, add a custom action to open .dat files with vi:
?xml version="1.0" encoding="UTF-8"?>
<JobDataActionConf>
<JobDataActionGroup id="userAction" name="Custom">
<JobDataAction id="vi">
<Console>VNC</Console>
<Command type="CLI">xterm -e vi </Command>
<DisplayName>Open file in vi</DisplayName>
<Description>Open .dat files in vi</Description>
<MultipleFiles>true</MultipleFiles>
<Application>ALL</Application>
<FileType>*.dat</FileType>
</JobDataAction>
</JobDataActionGroup>
</JobDataActionConf>
-
Go to the Workload page.
-
Select a job that is run by any application that has output files with the extension
.dat. Choose .
A remote console is displayed and the file opens in the vi editor.