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

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Filter in Nav

(0) ShareShare
ReportReport
Posted on by

Hi all, 

Created a field with Boolean type, If we filtered 'True' then that field should be display and as filtered 'false' then field doesn't show. Please help me.

Thanks,

Madhavi

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mohana Yadav Profile Picture
    60,991 Super User 2025 Season 2 on at
    RE: Filter in Nav

    and what did you try to achieve it and what is not working?

  • Binesh Profile Picture
    7,885 on at
    RE: Filter in Nav

    As per mohana write more, what you want and where you want.

  • Suggested answer
    Maneesha Profile Picture
    5,891 on at
    RE: Filter in Nav

    Dear  Madhavi ,

    if you make Boolean value , u have to write a constrain to get the data by "True" or "False"

    check your constrain according to your filtering

  • Luc van Vugt Profile Picture
    on at
    RE: Filter in Nav

    dynamicsuser.net/.../rtc-dynamically-hide-show-fields

  • Verified answer
    keoma Profile Picture
    32,729 on at
    RE: Filter in Nav

    create a global variable of type boolean in the page, where you want to toggle the visibility of that field and set it as value to field property "Visible" of the page field. as an example checkout field "No." in page 30 or in page 42.

  • Suggested answer
    Yogesh Kulkarni_ Profile Picture
    1,762 on at
    RE: Filter in Nav

    As per Jonathen, please set the visibility of the field to the value of your Boolean variable.

    -Yogesh Kulkarni

    Please verify, if it solves your problem.

  • Suggested answer
    Suresh Kulla Profile Picture
    50,241 Super User 2025 Season 2 on at
    RE: Filter in Nav

    Create a Boolean field as a page global variable, and set the IncludeInDataset property to YES.

    For the field you set the VISIBLE property to the Boolean variable you created.

    On the page, add the code in three places in OnAfterGetRecord trigger, OnAfterGetCurrRecord trigger, and the field you are using to control the visibility. The code will set the value for the boolean variable

    For example if you have created boolean as ShowValue then you set that as

    ShowValue := "Field Name" (Where Field name is the name of the field you will use)

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