D365 CE: Error while importing solution “The datafieldname attribute ‘FieldName’ for control is not valid for create”

Recently, while importing a solution to target instance, we got an error saying “The datafieldname attribute sab_disablerecordon for control is not valid for create” and the solution import failed.

After investigating this issue, we figured out that in the source environment, the field ” sab_disablerecordon ” was used on Quick create form for that entity. Also, this field is a calculated field which doesn’t make sense to be put on a quick create form.

Removing this field from the quick create form, exporting the solution and importing it again to target instance worked this time.

Hope it helps!!

3 thoughts on “D365 CE: Error while importing solution “The datafieldname attribute ‘FieldName’ for control is not valid for create”

Leave a Reply to Ajit Patra Cancel reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.