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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Field 'xxx' must be filled in.; Warning: validateWrite failed on data source 'DS'

(0) ShareShare
ReportReport
Posted on by

Hello,

I have a custom data entity.

When I do the "Export in Excel", I get data correctly.

I wanted to test the publish function. So I added new line in excel and filled all the data correctly. Values are correct (same values I would select on D365 form).

When I save file and click publish I get error message: Field 'xxx' must be filled in.; Warning: validateWrite failed on data source 'DS'.

Field xxx is mandatory on table, this is the referenced field, so the value I use in excel exists already in d365.

What could be the reason? How to understand this issue?

Thanks.

I have the same question (0)
  • nmaenpaa Profile Picture
    101,160 Moderator on at

    Is it a standard table and standard data entity that you use with Excel? Or a custom one?

    Do you have value in field xxx in Excel?

  • DAX Dev Profile Picture
    on at

    Hi Nikolaos,

    everyhting is custom.

    Yes, I have a value in this field in excel.

    Is there any possibility to  debug this kind of issue?

  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    Could you check if your entity key fields match an unique index on your table?

    So: does your table have some unique index that has same fields than what you have in your entity key?

  • DAX Dev Profile Picture
    on at

    This is the structure:

    Main Datasource on entity is "MySubCategoryTable" with unique index SubCategoryId.

    Related Datasource is "MyCategoryTable" with CategorId field as unique index (xxx field that I mentioned previously).

    On the DataEntity key I have only SubCategoryId field.

    So the error comes from the second (related) datasource field.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 551 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans