Skip to content

Web Application Helper Functions

Function Overview

Function Name Description
ConvertFromClient In a web application, this function converts a typed value from the generic format appropriate for transfer (e.g., as XML or JSON data) to the DataFlex format for that type.
ConvertToClient In a web application, this function converts a DataFlex format value into a generic format appropriate for transport to the client (e.g., as XML or JSON data).
HTMLEncode Returns a string encoded so that its content will not be interpreted by a web browser as special HTML formatting characters.
HTMLEncodeNoCRLF Returns a string encoded so that its content will not be interpreted by a web browser as special HTML formatting characters. This function also filters out carriage return and line feed characters.
WMLEncode Returns a string encoded so that its content will not be interpreted by a WAP browser as special WML formatting characters.
WMLEncodeNoCrLf Returns a string encoded so that its content will not be interpreted by a WAP browser as special WML formatting characters. This function also filters out carriage return and line feed characters.
_wp The _wp function is a special debugging function that can be typed as an expression in the Studio's Watches Panel to watch the value of a web property. This function retrieves the web property value without going through the usual error trapping and, therefore, without disturbing your running application.