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!!
Hi, thanks a lot for your post!
I faced a similar issue but with a different field. Even tough I found your post, I had a hard time finding the entity and form where the field was located. Therefore I documented the steps I took to resolve the issue:
https://svenvervynckt.com/uncategorized/dynamics-365-the-datafieldname-attribute-createdon-for-control-is-not-valid-for-create/
LikeLiked by 1 person
Thanks Sven for documenting the steps in your post!! It’s helpful when we have lots of entities and it complains about OOB fields.
LikeLike