Code Block Response For ParseValue Requests

Top  Previous  Next

If a clipboard or title button is configured with the parsevalue option, DTC will submit that value to the server for parsing.

 

The following values are available in the cgi$ template:

 

cgi.button$

Contains the button title, indicating which button contains the parsevalue option.

cgi.panel$

Contains the name of the active panel, or "*" if no panels are defined.

cgi.parsevalue$

Contains the value of the clipboard or window title in cases where the parsevalue option is specified.

 

 

Use the prejob code block to interpret these items, and generate a cgiresponse$ string value.  This value is returned to DTC for processing.  DTC interprets the response in these ways:

 

error: message text (use \n for CRLF) displays an error style message box

other text is used to replace the original value from the clipboard or window title