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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

How to set filter on page user not clear this filter

(1) ShareShare
ReportReport
Posted on by 99

How to set filter on page user not clear this filter

I have the same question (0)
  • Suggested answer
    Jeffrey Bulanadi Profile Picture
    8,760 on at

    Hi Sejal ,

     

    What you can do is to use a what we called FILTERGROUP.

     

    First add a FILTERGROUP(2) before the actual filter as the below example followed by your filtering then enclose using the FILTERGROUP(0) to make the clear filter disabled to the user.

     

    Rec.Reset();

    Rec.FilterGroup(2); // add this

    Rec.SetRange(Status, Job.Status::Open); // your actual filter

    Rec.FilterGroup(0); // finally disable the clear filter for every user

     

    You can check the whole documentation here

    https://docs.microsoft.com/en-us/dynamics-nav/filtergroup-function--record-

    pastedimage1657974986106v2.png

    with FILTEGROUP applied
    001-_2D00_-FILTEGROUP-Applied.png

    without FILTERGROUP (Standard)
    pastedimage1657975100904v4.png

     

    If you find this useful please give it a like or verify the answer. By this way you can help other members know that the topic has been answered. Have a nice day. Thank you.

     

    Cheers,

  • Verified answer
    YUN ZHU Profile Picture
    95,331 Super User 2025 Season 2 on at

    Hi, hope the following helps.

    How to make some filters mandatory on the list page (users can not change or remove)

    https://yzhums.com/8427/

    Thanks.

    ZHU

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,143

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,694 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans