I would like to create a data form extension for an existing edit form. In truth I would ideally like to simply display some information about the data but I figured that I get it onto the form I can create my own UI model that would make the field read only. These values get set when the user runs an addin on the data on the form or when the form is saved.
As a proof of concept I have managed to get the data onto the corresponding add form (even though the fields will never be populated or will never need to be populated at this stage) but I am struggling to get the fields onto my edit form.
Whenever I load the spec I get the error message:
This form is not a valid extension of data form
5909a7f4-8428-4200-9937-e5b006348c6a. When extending 'Edit' or 'View'
data forms, make sure the record type of the extension matches (or is
compatible with) the record of the form being extended. When
extending 'Add' data forms, make sure the context record type of the
extension matches the record type of the form being extended. In all
cases, make sure that the data form modes match.
Can anybody enlighten me as to what is required to get this to work?
Thanks
David