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...
Suggested answer

How to make a request filter field mandatory in request page?

(0) ShareShare
ReportReport
Posted on by 479

Pretty much the question in the title. I have a custom report that has a request filter field but it not mandatory to be filled in at the moment. I would like to change that.

Thanks.

  • Suggested answer
    Shathika Karunaratne Profile Picture
    on at
    RE: How to make a request filter field mandatory in request page?

    Hi,

    You have to check whether the request filter field is empty or not in the OnAfterGetRecord() trigger inside main dataitem as below.

    pastedimage1669088104420v1.png

    pastedimage1669088136034v2.png

    Thanks.

    Please do verify if this answer helps you.

  • Suggested answer
    YUN ZHU Profile Picture
    82,945 Super User 2025 Season 1 on at
    RE: How to make a request filter field mandatory in request page?

    Hi, There are two examples below, you can refer to it.

    Standard Sales - Order Conf. (1305): Filtering is required in Dataitem.

    pastedimage1669075758670v1.png

    pastedimage1669075768119v2.png

    Calculate Inventory (790): Filtering is required in Request page fields.

    pastedimage1669075984837v3.png

    pastedimage1669075993147v4.png

    Hope this helps.

    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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 691

#2
YUN ZHU Profile Picture

YUN ZHU 646 Super User 2025 Season 1

#3
Mansi Soni Profile Picture

Mansi Soni 495

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans