Sunday, February 28, 2016

Writing custom message on status bar

This post will show you to write custom message on AX status bar for specific user.

Write the following code in JOB and execute it.

static void Job1(Args _args)
{
    str txtSample;

    txtSample = "XXXXXXXXXXXXXXXXXXYYYYYYYYY"//Replace with you message

    xUserInfo::statusLine_CustomText(true);

    infolog.writeCustomStatlineItem(txtSample);
}

Output