| Previous | Next |  | Contents | Index | Glossary

## GetShortBody

PL/SQL Syntax

`function GetShortBody`

    (nid in number)

     return varchar2;

Description

Returns the message body for the notification. Any message attribute in the body is token substituted with the value of the corresponding notification attribute. This function may return up to 1950 characters. This function is meant for use in view definitions and Oracle Forms Developer forms, where the field size is limited to 1950 characters. Use GetBody( ) in other situations where you need to retrieve up to 32K characters.

Note that the returned plain text message body is not formatted; it should be wordwrapped as appropriate for the output device. Body text may contain tabs (which indicate indentation) and newlines (which indicate paragraph termination).

If an error is detected, this function returns the body`` unsubstituted or null if all else fails, rather than raise exceptions.

> Note: This function is intended for displaying messages in forms or views only.

Argument (input) | nidThe notification id.

| Previous | Next |  | Contents | Index | Glossary