Try OpenEdge Now
skip to main content
Messaging and ESB
ABL - JMS API Reference : getTextPartByID function
 

getTextPartByID function

Retrieves a text part and returns the content type as a CHARACTER string.

Syntax

FUNCTION getTextPartByID RETURNS CHARACTER
(INPUT contentID AS INTEGER, OUTPUT partBody AS CHARACTER).

Applies to

Message objects

Notes

*This function converts the text part from UTF-8 to the SESSION:CPINTERNAL code page.
*If the message body exceeds 32K, this function raises an error. To avoid this, use getBytesPartByID function.

See also

getBytesPartByID function, getMessagePartByID function, getTextPartByIDfunction
For more information, see MultipartMessage