Infolog message actions

There is how you can attach action to any infolog line on mouse double click:

static void testInfologLink(Args _args)
{
    SalesTable salesTable = SalesTable::find('012523');
    
    info("Click me", "And I will do something", SysInfoAction_TableField::newBuffer(salesTable));
    info("Click me 2", "And I will open sales table", SysInfoAction_Formrun::newFormname(formStr(SalesTable)));
}
Same is walid for error and warning infolog global methods.
Available actions you can find in AOT:

Search

About

DaxOnline.org is free platform that allows you to quickly store and reuse snippets, notes, articles related to Dynamics AX.

Authors are allowed to set their own AdSense units.
Join us.

Blog Tags