Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8291581
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T13:10:49+00:00 2026-06-08T13:10:49+00:00

I have my account entity linked to a custom entity called inspections, I only

  • 0

I have my account entity linked to a custom entity called inspections, I only want these inspections to be created for accounts of a certain type. So when it isn’t that type I want the left hand navigation to this entity to be hidden away. I’ve seen some code that says will hide it away, as long as you have the navID of the item.

I’ve had a crack at hiding it using what i thought could be the ID but it hasn’t worked, so I’m wondering if anyone knows how to get this ID, or if there is another way to do this?

The code I’m using to hide the navigation is below:

var navitem = Xrm.Page.ui.navigation.items.get("nav_ts_inspection"); 

    if (navitem != null)  
    {           
        navitem.setVisible(false);
    } 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T13:10:51+00:00Added an answer on June 8, 2026 at 1:10 pm
    • Load the form
    • Press F12 to show IE Developer’s Toolbar

    From here you can use CTRL+F to search for the display name of the item you’d like to hide. This will give you a link that is generated. The Id of this element is what you need to use to show/hide the link.

    As an example, you can see results of searching for ‘Sub Accounts’ on the Account screen for an installation I am working on at the moment. The Id can be seen and is ‘navSubAct’

    enter image description here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this type of data: entity, account, month1, month2, ..., month12 abc, 2000.02,
I have a simple base entity type called EntityBase that implements IEquatable<EntityBase>. I've used
I have a JPA entity called ParentAccount that extends an abstract Account entity (see
I have an entity called Account and I have given this entity a class
I have an Account entity which has all fields in UpdateCheck = Never except
Let's say I have an Account entity, and an AccountData entity (which stores some
I have an entity named 'account' which will have a username column and I
I have some entities created with LINQ-to-SQL. Six of these entities (representing values primarily
I have an object - Config . I want to know if the Account
I have the following jpa entity inheritance hierarchy: abstract Account ChildminderAccount extends Account ParentAccount

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.