Skip to content
Model centric tools for Spring development Community portal
Skyway PerspectivesModel driven delivery

Community / Message board

Message Board Thread 20590

An archived thread from the community message board, kept because the question it raises still comes up: generation runs but the new field is missing from the screens.

Thread 20590 / Installation and generation

A new field does not appear after generation

A member added a field to an entity, ran generation and found that the list and form screens still showed the old fields. The model looked correct and the generation report showed no errors.

The short answer: the field was added to the entity but the view recipe had already been generated once, and the selected recipe set did not include the view layer. Regenerating with the full recipe set updated the screens. The longer answer, and the checks worth making first, follow below.

Community answer

Checks in order

  1. Confirm that the recipe set includes the view and controller layers.
  2. Read the generation report for skipped files.
  3. Check that the field is attached to the type and not only to the diagram.
  4. Regenerate from a clean output folder once to rule out stale files.

The report is the most useful signal. A skipped view is listed with the reason, usually a missing template or an excluded recipe. Fix the cause and run the same set again.