Monday, October 27, 2014

Expanding favorites node on startup

My Favorites node is collapsed while AX environment workspace is created, which is the out of box functionality. However, with small code hookup you can make the My Favorites node as expanded when workspace window is created.

In order to apply the tweak follow the following steps.

Step 1

Add the following code line in Info -> workspaceWindowCreated function after super call.

if (infolog.navPane())
{
    infolog.navPane().expandFavoriteNode('My favorites');
}


Step 2

Compile the class and Generate Incremental IL

Step 3


Now open a new workspace.

After

Before

No comments:

Post a Comment