web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How to split a message in the infolog between the main group and the bottom part

(0) ShareShare
ReportReport
Posted on by 1,461

Here is what I can see how infoLog is working. then below it I will show what I need to do.

The main area of the infolog shows the message in one long line.

When the user clicks on it, the same message, this time wrapped into multiple lines, will be shown in the bottom group of the infoLog.

If the screenshot is not included in this post, here is what is in the main group:

The customer has exceeded their credit limit.

The customer may need to take action on their account before you can .........

(the rest of the message cannot not be seen unless the window is dragged to be wider or the user click on the message so that it can wrap in the bottom group.

So the bottom group will show:

The customer may need to take action on their account before you can

complete this order!

Credit limit: $a

Current order: $b

Balance: $c

I added linebreaks when building the message and then use StrFmtLB when adding to infolog.

What I am tasked with, is to split the message. So the main group area of the infolog will display one part of the message and without the user clicking on the message, the second part of the message will automatically display in the bottom group.

Main group must show (as you can see the 2nd line that is too long, must automatically wrap):

The customer has exceeded their credit limit.

The customer may need to take action on their account before you can

complete this order!

The bottom group must only show:

Credit limit: $a

Current order: $b

Balance: $c

Nowhere can I find an example on how to display 2 different messages in the info log: one in the main group and the other one in the bottom group. Also how do I tell the main group to apply the line break "\n" that I have put in the message so that the too long message can wrap in the main group area.

*This post is locked for comments

I have the same question (0)
  • Chaitanya Golla Profile Picture
    17,225 on at

    Hi,

    If possible, can you provide the screenshot of the infolog as it helps us to help you better.

  • Retha Profile Picture
    1,461 on at

    InfoLog2.jpg

    Above is how infoLog is currently working.

    Below is what I need to do with the message:

    InfoLog2.jpg

  • Verified answer
    István Orosz Profile Picture
    2,137 on at

    Hi,

    May setprefix() function is what you need?

    Regards,

    István

  • Verified answer
    Vilmos Kintera Profile Picture
    46,149 on at

    Your requirements are not in line with how AX works.

    The bottom part of the infolog is just displaying the highlighted line of the top part.

    The top part is not/will not do wrapping of text for you out of the box.

    You may try to customize \Forms\SysInfoLogBrowser, which is the form behind the infolog, to try to adjust the string / text control.

  • Verified answer
    Chaitanya Golla Profile Picture
    17,225 on at

    Hi,

    As far I know, this may not be possible as infolog messages are provided in the top group and when selected it will be displayed at the bottom(by applying required formatting).
    When we write nextLine to the message it will be displayed like shown below. Another way is to write multiple info messages.

    InfoMessages.jpg

  • Retha Profile Picture
    1,461 on at

    Thank you all. You have confirmed what I have suspected.  I have forwarded your suggestions to my boss.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Andrew Jones a1x Profile Picture

Andrew Jones a1x 2

#3
Basit Profile Picture

Basit 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans