Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Unhide "Departments" button in Navigation Pane

Posted on by 115

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

  • Suggested answer
    Darshana Profile Picture
    Darshana 15 on at
    RE: Unhide "Departments" button in Navigation Pane

    Thank you very much. This is the solution that I was looking for.

  • Bodhi Profile Picture
    Bodhi 554 on at
    RE: Unhide "Departments" button in Navigation Pane

    wonderful

  • Suggested answer
    Daniele Lixi Profile Picture
    Daniele Lixi on at
    RE: Unhide "Departments" button in Navigation Pane

    I managed to make it work, the instruction from @Nabil BA-MOH pointed me in the right direction.

    Here are the steps:

    1. Export the profile with the hidden "Department" button using “Profiles => Import/Export” (ID 9170)

    2. Open the exported profile (xml file) with your favorite text editor

    3. Search for the value: Attribute value=”Departments”, you can also find it by ID {7AA351B2-CC3E-479f-9A0B-6BC0DD7A3158}

       That's what it looks like:

        <add id="{7AA351B2-CC3E-479f-9A0B-6BC0DD7A3158}" destination="{6135288E-4232-4bd4-A595-CAD8F5D49D48}">
          <Node name="Actions" uri="urn:schemas-microsoft-com:dynamics:NAV:MetaObjects" id="{7AA351B2-CC3E-479f-9A0B-6BC0DD7A3158}">
            <Nodes />
            <Attributes>
              <Attribute value="ActionContainerPlaceHolder" name="xsi:type" uri="www.w3.org/.../XMLSchema-instance" />
              <Attribute value="{7AA351B2-CC3E-479f-9A0B-6BC0DD7A3158}" name="ControlGUID" uri="" />
              <Attribute value="Departments" name="ContainerType" uri="" />
            </Attributes>
          </Node>
        </add>

    4. Select and delete the whole "add" node.

    5. For good measure also delete the order node (I am not 100% sure that this is needed)

        <order id="{6135288E-4232-4bd4-A595-CAD8F5D49D48}" sequence="{5B86FE4D-D9D6-4dd4-831E-4EDE7B1AA32A}; {9C26C298-C800-48dc-857F-9702F9CB017C}; {7AA351B2-CC3E-479f-9A0B-6BC0DD7A3158}" />

    5. Save the modified xml file.

    6. Delete the previously exported profile from NAV

    7. Import the modified xml file to NAV,

    8. Check and enjoy your “restored” Departments button.

    Hope this helps

  • AndreaNardiello Profile Picture
    AndreaNardiello 115 on at
    RE: Unhide "Departments" button in Navigation Pane

    Unfortunately, this trick is not working.

    I tried to export a modified and also a standard profile but I got no "Department" node in my XML.

    I did this with NAV 2016, NAV 2017 and BC without success (Italian Version NAVIT).

    Maybe with W1 or other localization the Export Profile XMLport is different?

    Please let me know.

    Regards.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Unhide "Departments" button in Navigation Pane

    Hi,

    I wrote a blog, a while ago, about this subject: navnab.com/.../how-to-remove-restore-departments-button

    I hope this will help someone.

  • Suggested answer
    Pranavi Kota Profile Picture
    Pranavi Kota 30 on at
    RE: Unhide "Departments" button in Navigation Pane

    You can add the "Departments" button in Navigation Page back without losing other customization by following process..

    1. Export Profile to xml file using "Export Profiles" action in Profiles list.

    2. find the  following node

    "<Attribute value="Departments" name="ContainerType" uri="" />" in xml file and remove that line and save the xml file.

    3. Delete the profile from Profile list in Nav

    4. Import the edited profile using "Import Profiles" action from Profiles list.

    this will add Departments back without losing other customizations.

  • Philipus Profile Picture
    Philipus 20 on at
    RE: Unhide "Departments" button in Navigation Pane

    You can disable personalization from the Profile card. I also suggest you to use Configuration Mode while doing the changes to the navigation pane, so not only a user affected but all user that use the same profile (User Personalization Page).

  • Srini Profile Picture
    Srini 100 on at
    RE: Unhide "Departments" button in Navigation Pane

    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.

  • The Simpsoid Profile Picture
    The Simpsoid 625 on at
    RE: Unhide "Departments" button in Navigation Pane

    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.

  • Suggested answer
    Maneesha Profile Picture
    Maneesha 5,889 on at
    RE: Unhide "Departments" button in Navigation Pane

    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

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 Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans