Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

how to do file field mandatory ?

Posted on by Microsoft Employee

there is a new file field in Dynamics, but if try to use ind on a form, it's not possible to change it to : "required".

My main objective is to have a file field required if another field contains data.

if someone has a tips or a small piece of code to do that, it can help me a lot.

thanks. 

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: how to do file field mandatory ?

    Hi Partner,

    None of the normal requirement tools can work with file fields. This is likely due to the file being stored in Azure Blob. You can’t require it at the field level, and you cannot require it with a business rule, and you cannot check if it contains data via workflow.

    Use business process flow and make the field required in the process flow.

    Tip #1366: Make file type field required | Power Platform & Dynamics CRM Tip Of The Day

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans