Hello community
I am wondering if we can make the favorite tree expanded all the time? even when user switches between screens.
*This post is locked for comments
Yes, but it doesn't work when you switch modules within a session.
Hi,
I just added this code to classes>application>startupPost method
and it does the magic of keeping "My favorites" open when you open AX :
str path;
TreeNode treeNode;
TreeNodeIterator iterator;
UserMenuList userMenu;
;
infolog.navPane().favPaneVisible(true);
treeNode = infolog.userNode();
iterator = treeNode.AOTiterator();
treeNode = iterator.next();
if (treeNode)
{
userMenu = treeNode;
// find 'My Favorites' user menu;
treeNode = userMenu.AOTfindChild("@SYS95713");
path = treeNode.treeNodePath();
}
infolog.navPane().setSelectedFavoriteNode(path);
Happy Daxing :)
~Suchitra
Thanks
I have not tried to do some code change for the navigation pane, but I do think this is also not possible.
Thanks Andre for confirming this. So by setting you mean no code modification is possible right?
Hi Samy,
There is no setting for this. Unfortunately you have to expand it again and again. I'm also disliking this.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,188 Super User 2024 Season 2
Martin Dráb 230,030 Most Valuable Professional
nmaenpaa 101,156