Announcements
No record found.
Hi All,
Is there any way I can make a field mandatory in business central either with AL or with some setting?
Regards,
Rupali
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
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.
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 795 Super User 2026 Season 2
YUN ZHU 561 Super User 2026 Season 2
Grigorios Mavrogeorgis 323 Super User 2026 Season 2