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

Announcements

No record found.

News and Announcements icon
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
    61,186 Super User 2026 Season 1 on at

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

  • Binesh Profile Picture
    7,887 on at

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

  • Suggested answer
    Maneesha Profile Picture
    5,891 on at

    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
  • Verified answer
    keoma Profile Picture
    32,729 on at

    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

    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,269 Super User 2026 Season 1 on at

    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans