Skip to main content

Notifications

Announcements

No record found.

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

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 44,656 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)

  • Suggested answer
    Yogesh Kulkarni_ Profile Picture
    Yogesh Kulkarni_ 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.

  • Verified answer
    keoma Profile Picture
    keoma 32,675 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.

  • Luc van Vugt Profile Picture
    Luc van Vugt on at
  • Suggested answer
    Maneesha Profile Picture
    Maneesha 5,889 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

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

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

  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 60,161 Super User 2025 Season 1 on at
    RE: Filter in Nav

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

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,430 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans