Previous Topic: Adding Field-Specific Help Buttons

Next Topic: Scripting

System Request Functionality

System is available in the web option runtime as follows:

This functionality is made available by a user-defined field called W2E_SYSREQ, which must be added to skeletons either through element customization or manually post-generation. The easiest way is to use element customization and add the shipped customization element *SYSRQS to a screen element on the function Header, which ensures the W2E_SYSREQ field is added to the generated skeleton.

The W2E_SYSREQ field can be defined as either a text field or (ideally) as a select box drop-down list. The W2E_SYSREQ field can take any valid value from the System Request menu or the special value *, which causes the System Request menu to be displayed. If W2E_SYSREQ field exists on a page that has a blank value, it is ignored.

An example of element customization to display an abbreviated System Request menu is as follows:

<select name="W2E_SYSREQ" onchange="document.submit();"> <option value=" ">Option...<option value="*">Menu<option value="3">Display job<option value="4">Messages<option value="90">Sign off</select>

This element customization has been added to the shipped YELMCSTRFP file in Y2WEBVENG, with a CSTID value of *SYSREQ.