web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Unable to save 1st element of custom base enum with enum value of 0 in non mandatory table field.

(0) ShareShare
ReportReport
Posted on by

Hello folks,

I created a custom base enum with 3 elements with  enum value as

0 for element 1 ( label None),

1 for element 2 (label Internal) and

2 for element 3(label external)  and using this custom enum in custom field F1 in a OOB table extension and it is non mandatory.

I am facing a weird issue ,which is that when I am trying to save the value of F1 with element 1 I get warning "Field "myField" must be filled in.".

However when I try to save the value of F1 with other elements like 2 or 3 , it works fine. Even when I change the enum value of 0 to 3 for element 1 (None) it works fine.

I need this to be fixed, i.e. should be able to save element 1 with enum value of 0, as by default table will have 0 stored in sql db for all recs and changing enum value from 0 to 3 would mean lot of data manipulation which is negative from feasibility perspective. 

Please share a fix asap.

Thanks in advance.

Mav.

I have the same question (0)
  • Suggested answer
    Mohit Rampal Profile Picture
    12,565 Moderator on at

    Hi Mav, Please confirm that this field is not mandatory at form level. I have tested adding same enum & values in a custom table and no issues. There might be customization or property setup to validate it.

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…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
André Arnaud de Calavon Profile Picture

Liquid error: Object of type 'Adxstudio.Xrm.Web.Mvc.Liquid.EntityReferenceDrop' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. André Arnaud de Cal... 650 Super User 2026 Season 1

#2
Abhilash Warrier Profile Picture

Liquid error: Object of type 'Adxstudio.Xrm.Web.Mvc.Liquid.EntityReferenceDrop' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Abhilash Warrier 287 Super User 2026 Season 1

#3
Martin Dráb Profile Picture

Liquid error: Object of type 'Adxstudio.Xrm.Web.Mvc.Liquid.EntityReferenceDrop' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Martin Dráb 225 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans