web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Unhide "Departments" button in Navigation Pane

(0) ShareShare
ReportReport
Posted on by 148

Good morning everybody,

I have a question which is unanswered since I have been using Microsoft Dynamics NAV.

When you are configuring profiles, one of the first things you do is hiding "Departments" button in Navigation Pane, so that only the buttons/lists you define can be seen from the user of the specific profile.

But once you remove it, if you want to add something new, the only way to put "Departments" back is to restore defaults of the Navigation Pane, losing all the customizations of the Role Center.

Is this really the only way to do it?

Waiting for your kind replies.

Thank you very much! You all are great!

*This post is locked for comments

I have the same question (0)
  • Philipus Profile Picture
    20 on at

    anyone know the solution for this issue?

    I know a workaround to this mater, but a bit to much work in my opinion.

    In my workaround, I must have a Development database. I would do all the configuration in the development database and 'never' remove the department menu. When I'm finish the configuration, export the profile, then import the profile to Live Database. In the live database, I configure again just to remove the Department menu.

    This behavior is seems still persist in the current NAV 2017. So, any better solution or workaround?

  • Suggested answer
    Amol Salvi Profile Picture
    18,698 on at

    You can use configuration mode to hide and unhide the department menu

    msdn.microsoft.com/.../dd354992(v=nav.90).aspx

  • Philipus Profile Picture
    20 on at

    Thanks for the information sir.

    I'm aware of the configuration mode. But the question is (not only in configuration mode), how can I unhide the Department menu, without reset everything I've done (personalization) in the navigation pane?

    Regards,

    Philipus

  • Suggested answer
    The Simpsoid Profile Picture
    625 on at

    This frustrates me too.

    We had to hide Departments menu because with Expected Cost Posting turned on a number of users need greater permissions to read, insert and modify G/L Account and G/L Entry tables than should really have been necessary.  That meant with Departments menu those users could navigate to very sensitive areas of NAV and even potentially cause quite serious problems.

    I raised the query with Microsoft through my NAV partner and they did respond saying it is possible to edit the profile XML file but that would be "unsupported."  If you've even glanced at the profile XML files you'll appreciate why that for me was a non-starter, especially after they use the word, "unsupported."

    My solution, I'm afraid is develop the profiles in the test database, export them, import into live database (you have to delete the old version first as it won't overwrite - at least in NAV 2013 R2) and then remove the Departments menu from live.

    From my point of view, I have managed to get permissions to those tables added to (hopefully) all the relevant Codeunits so should now be able to let people have the Departments menu, knowing permissions will (or at least should) prevent them getting to areas for which they're not cleared.  Those who do need to post shipments, etc.,, affecting G/L can get by with just Indirect permissions now.

    Sorry it may not be very much help, depending on your reason for removing "Departments" and is no doubt not what you wanted to hear.  If anyone knows better I'd still be keen to hear it too.

    P.S.  I think most people leave Departments there, to be honest - in fact, the basic role centre training guide pretty much encourages all users to configure everything about the role centre to suit their individual needs.  If we didn't use Expected Cost Posting, I would never have needed to remove it in our environment as permissions would have sufficed.

  • Philipus Profile Picture
    20 on at

    Paul, I believe this is the best workaround so far. I'd do the same to.

    I've been doing my research on the profile xml file to. export the same profile with and without modification, then compare both using text comparing tools. it seems possible to do manual trial and error editing the profile xml, then import it to test if it works. From this point, my target is only to Unhide the Department menu. Any other customization, I'd prefer using the configuration using NAV Client.

    Cheers.

  • ManishS Profile Picture
    86 on at

    Why not use the standard role center page with super permission.

  • AndreaNardiello Profile Picture
    148 on at

    I tried with Scooter Beyond to compare XML with Departments and XML without Departments.

    There is a very big piece of text missing in the second XML but there are also other lines which are not the same between the two files.

    Too hard to understand the code.

    I think that one should use two environments (dev and prod) in order not to lose Departments and risk to start user personalization from scratch.

  • Suggested answer
    Maneesha Profile Picture
    5,891 on at

    yep this is very known issue but its applicable as a feature

    for you best way is you can create a new few role centers and do your customization for that

    but other thing is what is the purpose of hiding department ???

    even if you hide it users can access those programs via search bar

    so your purpose to hide department as the reason of security , you should control via permissions

  • The Simpsoid Profile Picture
    625 on at

    Actually, that's not correct. At least on NAV 2013 R2, once the Departments menu is removed anything not specifically included in the role centre is removed from search also.

  • Srini Profile Picture
    100 on at

    Hi,

    After removing the department, it won't be available on search options. But one issue the user can restore the menus by using "Restore Default settings" which brings back the department.  Better to use the Permission set for the required functional roles.

    if some can provide how to disable the Restore Default Settings option will take care of the requirement.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans