Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Favorites in Navigation pane

(0) ShareShare
ReportReport
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,391 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,391 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!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans