Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8819525
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T05:22:55+00:00 2026-06-14T05:22:55+00:00

I am trying to understand how Infolog works within Dynamics AX. I understand that

  • 0

I am trying to understand how Infolog works within Dynamics AX. I understand that the following code will display the text in the infolog window.

info(“Hello World!”);

I am aware that info is a static method on the Global class and therefore the method can be called by simply calling the name without actually specifying Global::

While looking into the method info in class Global, I noticed that it invokes infolog.add. Right-clicking on add and selecting the option Lookup Definition takes me to the method add in the class Info.

If the class in which the method add exists is named as Info, how is it being called from within Global::info() with the name Infolog?

The only logical conclusion that I can arrive at is that Infolog is an alias for the class Info. If that is correct, where is this alias defined in the AOT (Application Object Tree)?

I searched the AOT but found multiple references to the term Infolog but I couldn’t find anything that would directly relate to an Application or System class.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T05:22:56+00:00Added an answer on June 14, 2026 at 5:22 am

    The response to the same question I posted on Microsoft Dynamics communities forum helped me to understand the code better.

    Is Infolog an alias to the class Info? – Response on Microsoft Dynamics Community forum

    Below shown code is from the static method Global::info(). I failed to notice that call to method add using the object infolog is actually an instance method and not static.

    client server static Exception info(
        SysInfoLogStr txt, 
        URL helpUrl = '', 
        SysInfoAction _sysInfoAction = null)
    {
        return infolog.add(Exception::Info, 
            getPrefix()+txt, 
            helpUrl, 
            _sysInfoAction, false);
    }
    

    In other words, infolog is an instance of class Info. After looking into the class Info, I found the startup method. I kept a breakpoint to debug the code and found that this method is called whenever the AX client is opened. This method in turn calls another method named initBrowser. Within the initBrowser, the following code seems to initialize the global instance of Infolog using a windows handle.

    this.initializeInfolog(this.browser().hWnd());
    

    The above menthod initializeInfolog exists in the System class xInfo, which is the parent class of Info. Since I cannot look into the class xInfo, I assume that this is where the instance of class Info with the name infolog is being created.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

HI Trying to understand how __radd__ works. I have the code >>> class X(object):
Trying to understand Ruby a bit better, I ran into this code surfing the
Trying to understand the math of this code snippet. A token is provided which
I am trying understand how multi queries work in mysqli. But I confess that
Trying to understand how EDE works by using it to generate Makefiles for a
Trying to understand what Sql Profiler means by emitting sp_reset_connection. I have the following,
Trying to understand why this doesn't work. I keep getting the following errors: left
Trying to understand resources in java-land. I believe the following is true: Resources loaded
Trying to understand how to link a function that is defined in a struct,
Trying to understand, how to redirect program output to a file... Code : import

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.