I'm trying to develop some custom attributes in the workflow and delivery tables as well as modify the forms to include the additional input fields. For each set of attributes there is an extension to the schema. The custom workflow fields are added to the forms and behaving as expected; however, the modifications to the delivery schema/form do not.
Using the form successfully updates the record in the table; however, when I reopen the form after saving and closing the window results in the custom attribute values not appearing in the form. This behaviour is difficult to model, but what I've gathered so far (not sure if this helps isolate the issue) is:
the fields appear correctly when generating a new delivery (newDelivery form), with default values in place of enumerated fields
the fields are never shown whenever viewing the form of a delivery template
ad-hoc deliveries created and opened in a workflow have the values showing until logging out and back in
The enumeration and main element of the schema extending xtk:delivery is as follows:
The editions exist in the general container referenced by the Properties input tag higher up in the form XML. The only changes made to the Delivery form are provided above, everything else is OOTB. Here is a screenshot of the delivery template's properties form:
Note: the enumerated values in the form do not show when they should at least be populated with their default values.
Below is a screenshot of the newDelivery form, where defaults are showing correctly:
If I save, close (but DO NOT log out of the console), save workflow, and re-open the delivery then it displays correctly: