- 4 minutes to read

View the Message Body of a Log Event

The message body is the business document itself: the order, the invoice, the EDI interchange. In a Nodinite Log View, users read it exactly as it was logged, and render it in whatever form makes it readable, without changing what is stored.

  • ✅ The payload byte for byte, with size, position, and selection like a file editor
  • ✅ Pretty print, word wrap, hidden characters, and line break markers for EDIFACT and X12
  • ✅ Re-render in any supported encoding, decode Base64 or MIME mail
  • ✅ A business-friendly view through a Stylesheet

This page is a spoke of What is a Log View?. The other actions on a Log Event are on View Log Event Details and Repair and Resend and Download Log Events.

Understanding the Two Message Views

A Log Event's body can be shown two ways from the Actions menu. Both need a permission from the Permission Set for Log Views of the user's Role.

View Shows Needs
View message body The raw payload, with editor options and encodings View Body
View message formatted as… The payload transformed by the Stylesheet of its Message Type View Transformed, and a Stylesheet on the Message Type

View Message Body

Click 'View message body' to open a modal with the payload in its original format, showing size, position, and selection like a file editor.

The view message body option is available to users with permission to view the message body.

View message body modal showing a raw logged message payload
Example: A logged message in its raw format.

On the modal, advanced options are available depending on your permissions and role membership:

  • Download - Download the original message, byte for byte.

  • Download converted to - Download the message converted to a target encoding you choose. See Download. New 7.11

  • Open in a new window - Open the message in a separate window.

  • Word wrap - Toggle word-wrap for easier reading.

  • Pretty print - Beautify the message for readability.

  • Show hidden characters - Display hidden characters (e.g., whitespace, tab) with special markings. New 6.0 With a with BOM encoding selected, a leading byte order mark shows as a red BOM marker. New 7.11

    Red BOM marker shown by Show hidden characters (7.12)
    A message read as UTF-8 (with BOM) with Show hidden characters on.

  • Linebreak marker - Insert line breaks at specified content. Reload the payload to revert changes. Especially useful for reading EDIFACT/X12 messages. New 6.0

  • Encoding - Re-render the message with the selected encoding. From 7.11, the dropdown opens on the message's resolved encoding, and its tooltip says where that came from, such as From the Message Type. New 7.11

    Encoding dropdown preset from the Message Type (7.11)
    The encoding dropdown preset to UTF-8 (without BOM), with a tooltip naming the Message Type as the source.

The dropdown offers every supported encoding, including UTF-8 (with BOM) and one Base64 Decode into … option per encoding (earlier versions had a single Base64 Decode, now Base64 Decode into UTF-8 (without BOM)), plus Base64 Encode, Mime Mail to Text, and None (Binary).

Important

Rendering a message with a different encoding changes only what you see. The stored message is not changed.

Mime Mail to Text

The 'Mime Mail to Text' encoding option shows MIME-encoded messages in readable form. For the sample below, it decodes the base64-encoded part.

MIME-Version: 1.0
Content-type: text/plain; charset="utf-8"
Content-Transfer-Encoding: Base64
Content-ID: {749803BA-3A65-4A8F-1337-65125988BBF3}
Content-Description: body

Tm9kaW5pdGUgaGFzIGl0IGFsbCE=

The base64-encoded part decodes to:

Nodinite has it all!

View Message Formatted as 'Name of the Stylesheet'

Click View message formatted as... to open a modal with the message payload styled using a stylesheet. From 7.11, Nodinite converts the body from its resolved encoding to UTF-8 before inserting it into the stylesheet, so characters such as Å and é display correctly. New 7.11

Note

Needs View Transformed; see Permission Set for Log Views.

Next Steps