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

Ajit PatraDyn365CE4 years ago235 Views

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!!

Original Post https://ajitpatra.com/2021/04/23/d365-ce-error-while-importing-solution-the-datafieldname-attribute-fieldname-for-control-is-not-valid-for-create/

0 Votes: 0 Upvotes, 0 Downvotes (0 Points)

Leave a reply

Follow
Search
Loading

Signing-in 3 seconds...

Signing-up 3 seconds...