Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Favorites in Navigation pane

Posted on by 455

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

  • Samy123 Profile Picture
    Samy123 455 on at
    RE: Favorites in Navigation pane

    Yes, but it doesn't work when you switch modules within a session. 

  • Suggested answer
    Suchitra Profile Picture
    Suchitra on at
    RE: Favorites in Navigation pane

    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

  • Samy123 Profile Picture
    Samy123 455 on at
    RE: Favorites in Navigation pane

    Thanks

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,188 Super User 2024 Season 2 on at
    RE: Favorites in Navigation pane

    I have not tried to do some code change for the navigation pane, but I do think this is also not possible.

  • Verified answer
    Samy123 Profile Picture
    Samy123 455 on at
    RE: Favorites in Navigation pane

    Thanks Andre for confirming this. So by setting you mean no code modification is possible right?

  • Verified answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,188 Super User 2024 Season 2 on at
    RE: Favorites in Navigation pane

    Hi Samy,

    There is no setting for this. Unfortunately you have to expand it again and again. I'm also disliking this.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,188 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,030 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans