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 :
Small and medium business | Business Central, N...
Suggested Answer

Make a field mandatory

(0) ShareShare
ReportReport
Posted on by 335

Hi All,

Is there any way I can make a field mandatory in business central either with AL or with some setting?

Regards,

Rupali

  • steveendow Profile Picture
    2,281 on at

    Hi Rupali,

    It looks like you can use the following properties in AL for basic mandatory settings:

    NotBlank:  https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-notblank-property

    ShowMandatory:  https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-showmandatory-property

    If you need to further validate that a user-entered value is valid, you may need to write an expression in AL. (as discussed on the ShowMandatory page)

    Thanks,

    Steve

  • Rupali Profile Picture
    335 on at

    Thanks Steve,

    can we also male the links mandatory with similar approach?

    I want to make attaching links mandatory on item card page under attachements?I am trying to do that into AL but it does not really let me do so.

    Regards,

    Rupali

  • Suggested answer
    JAngle Profile Picture
    159 on at

    Refer to this post for the other requirement: community.dynamics.com/.../make-link-attachement-mandatory

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 795 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 561 Super User 2026 Season 2

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 323 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans