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 :
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 2

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,172 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
    2 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,172 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
    2 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 591

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 550 Super User 2026 Season 1

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 543 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans