How to align values after changing a metamodel
Every value in a model is stored as text: 4000, true, 2026-03-22, or an enumeration value’s hidden stored value. When you change a metamodel, Farkitect keeps those values fitting. Most changes, such as adding or renaming things, don’t touch any value, and they apply at once as always.
Change a property type’s data type
Section titled “Change a property type’s data type”Select the property type and choose a new Property Type, for example from String to an enumeration, or to Integer.
- No values yet, or every value converts: the change applies at once. Values are converted as part of it:
AAAbecomes the enumeration value named AAA,42becomes42,Yesbecomestrue,22/03/2026becomes a date. A short notice says how many. - Some values can’t be kept as they are: a dialog lists only those, with what to do with each: give them a value of the enumeration, move them to the element’s notes, clear them, or leave them. Cancel leaves the property type as it was.
Changing an enumeration back to String writes each value’s name, not its hidden stored value. Giving a String property type the URL format adds https:// to addresses that lack it. Changing between multiline and rich text converts every value, and asks only when formatting would be lost (see Switch between plain and rich text).
Dates such as 03/04/2026 are read the way you write dates (your locale setting).
Remove an enumeration value
Section titled “Remove an enumeration value”Click the trash icon beside the value. If no element has it, it goes at once. If elements have it, choose what they get instead: another value, Move it to their notes, Clear it, or Leave it. Boards grouped by the property type and catalogs filtered on the value follow the choice, and so does a default value.
Align values that already don’t fit
Section titled “Align values that already don’t fit”Right-click a property type, an enumeration or a metamodel’s root package in the Explorer and choose Align Values… It is also on their Properties, and beside each value that doesn’t fit in the integrity check’s report in the Log panel. The dialog lists:
- values it can fix without a choice, ticked, with what each becomes;
- each value that needs a choice, with the elements holding it;
- a default value that doesn’t fit;
- board and catalog settings naming a value the enumeration no longer has.
Nothing changes until Apply. While it works, a progress bar shows which property type it is on and how many values it has read. Export a backup first saves the whole project before you apply. Anyone can open the dialog to see what doesn’t fit; contributors and admins can apply.
The integrity check counts values that don’t fit as warnings, so the status bar shows them until they are aligned. See How to use the integrity checker.
Refresh an enumeration’s values
Section titled “Refresh an enumeration’s values”A value’s hidden stored value is made from its name when the value is created, and renaming the value doesn’t change it, so models keep matching. Values made long ago may have stored values such as 1-Urgent. To make them from the names again, click Refresh Values… in the enumeration’s Values section. The button is there only when at least one stored value is no longer made from its value’s name; the names you see don’t change.
The dialog lists each change and how many model values, boards and catalogs will be rewritten. Every copy in this project is rewritten, and each old stored value is kept as a former name, so a metamodel upgrade still matches it. Copies of the metamodel in other projects, and files you exported before, keep the old stored values.
Import a model made before a change
Section titled “Import a model made before a change”When you import a .farki file, each enumeration value is matched the same way: by its stored value, by a stored value or name it had before, or by its name ignoring case, and stored as this project stores it. So a model exported before Refresh Values… keeps its values. A property type is found by its name, or by a name it had before an upgrade renamed it. A value that matches nothing is imported as written, and the integrity check counts it. Board columns and catalog filters in the file keep the stored values they were saved with; Align Values… lists any that no longer match.