- 2 minutes to read

Example to find and view the Body/Payload from another BizTalk Log Event

Unlock rapid troubleshooting and seamless end-to-end tracking in your BizTalk integrations with Nodinite! This example demonstrates how to use a Search Field Link to instantly open the body of a related message using its MessageId—empowering you to correlate events and accelerate root cause analysis.

The Nodinite Web Client action /Message/FindAndView intelligently searches through the active Log Database and, if needed, older databases to locate the message body for the specified MessageId. When you expand Log Event details in a Log View, you can also see the Log Database's unique Id, which is essential for advanced troubleshooting.

Understanding the Flow

graph LR A["fa:fa-magnifying-glass Log View
MessageId value"] -->|"click the link"| B["fa:fa-link Search Field Link
URL with {value}"] B --> C["fa:fa-globe Web Client
Message/FindAndView"] C -->|"search"| D["fa:fa-database Active and older
Log Databases"] D --> E["fa:fa-file-code Message body
of the related event"] style A fill:#2678BD,color:#fff style B fill:#2678BD,color:#fff style C fill:#E47528,color:#fff style D fill:#3F827B,color:#fff style E fill:#93d16d,color:#000

Diagram: the user clicks a MessageId value in a Log View (blue); the Web Client action (orange) searches the Log Databases (teal) and opens the related message body (green).

Example API call

/Message/FindAndView?logViewId=0&messageId=7393cc8d-5bda-4194-a23f-7e027a8fd14

To set up this powerful feature:

  1. Ensure the HTTP Response Header Nodinite-LogDatabaseId is set with the Id of the relevant Nodinite Log Database.
  2. Create a new link for the Search Field that extracts the BizTalk MessageId. You configure Search Field Links in the Search Field editor, see Add or manage Search Field.
  3. Assign a clear name to the link and enter the address of the Nodinite Web Client, which runs at the root of its own web site, followed by Message/FindAndView. The host and port come from your environment's settings in the Nodinite Portal (Servers step). For external access, use the DNS or server name instead of localhost.
https://nodinite.contoso.com:40000/Message/FindAndView?logViewId=0&messageId={value}

This enables users to click directly from a Log View to the related BizTalk message or event, streamlining investigations and reducing manual effort.

Next Steps