Skip to content
Skip to main content

Data Model Designer

Background

Nexus does not hard-code what a “part”, “document” or “change request” is. Every type in the system — its attributes, numbering, revision scheme, lifecycle, menus and security — is defined as data in the data model, and the Data Model Designer is the tool that edits that model live. This article is a full walkthrough: the two ideas you need first (abstract vs concrete, derive vs extend), then how to derive a new type of your own, then every menu item in the designer, one by one.

A word of respect before you start: model changes take effect for every user immediately. The designer is admin territory, and the safe habit is to try anything new on a scratch type first.

Abstract and concrete objects

Every type in Nexus lives in one family tree. At the very top sits PLM Core Abstract Model — the root every other type descends from. Under it sit organizing layers such as Documents Base, Items Base and Folders Base, and under those sit the types people actually create: parts, specifications, tables, help articles.

The difference between the layers is the abstract flag:

  • An abstract type cannot be instantiated — nobody can create “a Documents Base”. It exists to hold everything its children share: the seventeen attributes every document carries, the Draft→Released lifecycle, the check-out actions. Define a behaviour once on the abstract parent and every descendant inherits it.
  • A concrete type is creatable — it appears in New menus and search type filters, gets part numbers, and shows up as real objects.

Why it matters to Nexus: the abstract layer is where consistency comes from. Search can offer “all documents” because every document type descends from Documents Base; the release workflow can attach once at the base and govern every document kind; a new attribute added to Items Base appears on every part type in the company without touching any of them. When you design types, you are really deciding where in the tree a behaviour belongs — push what is shared as high as it can go, keep what is specific on the concrete leaf.

In the type tree you can read all of this at a glance: abstract types show an italic name and a diamond, concrete types a solid dot; built-in types are green, customer types cyan. The KIND filter (Abstract / Concrete) and SOURCE filter (Built-in / Custom) slice the list the same way.

The type tree: abstract diamonds in italics, concrete dots, green built-in vs cyan customer types — with the Source and Kind filters above

Derive vs. Extend

Built-in types are read-only — you never edit them directly, so upgrades can always replace them safely. The designer instead gives you two ways to shape the model, and choosing correctly is the key modelling decision:

  • Derive creates a new child type under the base you picked. It gets its own name (always carrying your company prefix, e.g. n5QualityProcedure), inherits every attribute, action, reaction, rule, lifecycle and security setting from its ancestry, and adds its own members on top. Existing objects are untouched — only objects created as the new type use it.
  • Extend adds your custom fields into an existing built-in type without creating a new type name. Every object of that type — the thousands that already exist and every future one — gains the extension's attributes and rules immediately. A built-in type can carry one extension; once it has one, the Extend button disappears and you edit that extension instead.

How to choose: ask “is this a new kind of thing, or missing information on an existing kind?” A quality procedure that needs its own lifecycle, numbering and workflow is a new kind — derive it. For a team’s board-tracked work items, derive from Issue Base: it ships the common card fields (title, type, severity, priority, people, dates, resolution) and the default New → In Work → In Review → Closed lifecycle, so the derived type is board-ready — add your own fields and states, and a Kanban board maps its lanes to those states. Security models do not inherit — but for Issue Base derivations the designer now seeds one for you on save: everyone sees and works cards in the open states, the last state is read-only except for administrators, and every state can reach every other (reopening included). Review it in the Security section afterwards and tighten it to taste. A “supplier code” field that every existing part should carry is missing information — extend Items Base (or the specific part type). Extending never removes or alters inherited members; it only adds.

You will also see a third badge on customer types: Edit. Types you created can be edited in place — the Edit button appears only on custom (cyan) types, which is exactly why built-ins stay safe.

The designer asks you this question explicitly every time: selecting a type and clicking Derive From (or Extend) opens the Create New Type dialog with the two choices side by side.

The Create New Type dialog: Derive (a child type that inherits from the base) vs Extend (add customer fields to the built-in type) — with the company prefix locked onto the new type name

Step by step: derive a new object structure

The worked example: a Quality Procedure document type derived from Documents Base.

  1. Open Data Model and select the base type in the tree — the closest existing type to what you need. For a controlled document, that is Documents Base. The right panel shows the base in view mode with its section rail; note the Derive From and Extend buttons top right.

A base type selected in view mode: header badges, the section rail (Structure / Members / Interface / Config), and the Derive From and Extend buttons

  1. Click Derive From. In the dialog, keep the Derive card selected and type the new type's name — the company prefix is locked in front of it, so QualityProcedure becomes n5QualityProcedure. Click Continue.
  2. The designer switches to derive mode: a blue DERIVE banner shows what you are deriving from, a Save Type / Cancel bar appears at the bottom, and nothing is stored until you save. Start in General: give the type a display name and an honest description, and decide the abstract flag — tick “Cannot be instantiated directly” only if this type is itself a base for further children.

Derive mode: the DERIVE banner, editable General fields, the abstract checkbox, and the Save Type / Cancel bar

  1. Walk the rail and add what makes the type distinctive — usually a handful of Attributes (next chapter covers every section in detail). Everything you skip is simply inherited.
  2. Click Save Type. The new type is written to the customer model and appears in the tree in cyan, under its base.
  3. Re-open the saved type and review Security — the section is deliberately absent while deriving and appears once the type exists. Types derived from Issue Base arrive with a board-friendly model already seeded; every other derivation starts blank, and a blank model must not be skipped: a type with no security model is effectively invisible to everyone but its owner.
  4. Test as a non-admin account: create one object of the new type, check the form, the number it drew, and who can see it — then announce it to the team.

The designer menu, item by item

Everything configurable about a type lives in the section rail, grouped into Structure, Members, Interface and Config. Several sections have their own tabs inside — those are called out below. Sections behave the same in every mode; derive mode simply adds Overrides and defers Security.

General (Structure)

The type's identity: internal type name, display name, description, semantic version, base type, the relationship badge (Derive / Extend / Edit), the abstract flag and the source (built-in or custom). Description is worth writing well — it is what the next admin reads to understand why the type exists. The version field is yours to bump when you make meaningful model changes.

Numbering (Structure)

Where this type's part numbers come from. Assign a named numbering schema, or leave it unassigned to inherit the parent type's schema (falling back to the built-in default of NX + an 8-digit counter). The panel previews a real example number and shows the schema's segments; the Edit Schemas link jumps to the Numbering app where schemas themselves are designed.

  1. Enter edit (or derive) mode and open Numbering.
  2. Pick a schema from the list — the preview updates instantly.
  3. Give a distinct series only to types that genuinely need one (customer-visible document classes, standards); everything else is happier inheriting.

The Numbering section: assigned schema, live preview, and the schema's segments — here the default NX + 8-digit counter

Revisioning (Structure)

The revision-letter grammar for the type, with two tabs: Major Revision and Minor Revision. Each tab defines the starting revision (use “-” for an aerospace-style dash release), the maximum letter-repeat length (2 → up to “AA”), and the forbidden letters — pre-populated to I, O, Q, S, X, Z per ASME Y14.35M-2014 so revisions are never misread as digits. The preview shows the first label the scheme will issue.

Revisioning with its Major / Minor tabs: starting revision, max consecutive alpha, and the ASME Y14.35M-2014 forbidden letters

Deep Copy (Structure)

What a New Revision of this type carries forward from the revision it is made from. Attribute values follow each attribute’s own “Copy on new revision” flag, and notes always carry, so this section covers the three things attached to a revision rather than stored in it.

The primary dataset always carries forward — a revision without its system file is a revision nobody can work from, so it is shown here as a fixed row rather than a choice. The other three are filter lists:

  • Secondary datasets, by MIME type.
  • References, by reference kind.
  • Files, by MIME type.

Leave a list empty and everything of that kind carries forward. That is the rule for all three, and for a type that declares no Deep Copy settings at all — the generous default needs no configuration, and narrowing it is always a deliberate act. Add an entry only when this type should carry less than everything: a drawing type that should keep its PDFs but not the markup images, say. Derived types inherit these rules until they declare their own.

Reference kinds sits below, and declares the vocabulary the References section offers on objects of this type — Specification, Drawing, Supersedes, See also and Related out of the box. The reference filter above picks from exactly this list, so add a kind here before you can carry it forward. [MIME Types](./mime-types.md)

Lifecycle (Structure)

The ordered list of states objects of this type move through — Documents Base ships Draft → In-work → Released → Obsolete, each with a colour that badges carry throughout the client. States are the pegs everything else hangs on: the Security section grants permissions per state, and transitions between states are what workflows and actions drive. Add a state here first; then wire its permissions and transitions in Security.

The Lifecycle section: ordered states with their colours

Overrides (Members — derive mode only)

When deriving, this section lists the inherited attributes whose definition permits overriding, letting the child tune an inherited attribute's default value or required flag without redefining it. Whether an attribute appears here is controlled by its own Override Allowed flag (set in the Attributes editor) — and most built-in attributes deliberately lock their definitions, so do not be surprised to find this list short or empty. Attributes you add yourself default to Override Allowed, so your future child types get the flexibility.

Overrides while deriving: inherited attributes that permit overriding are listed on the left — here the base locks everything, so the list is empty

Attributes (Members)

The heart of most type design: the data fields objects of this type carry. The list shows every attribute with its data type and scope; selecting one opens its definition.

The Attributes section: the type's attributes on the left, the selected attribute's definition on the right

Adding one (edit or derive mode):

  1. Click the + at the top of the attribute list.
  2. Set the internal name (company prefix locked on custom attributes) and a display name.
  3. Choose the data type (string, number, date, boolean…) and the scope — the single most important choice. Ask: can two revisions of one object legitimately differ in this value? If yes, Revision scope; if it belongs to the object's identity regardless of revision, Object scope.
  4. Optionally add a max length, a validation pattern (regex), and a default value.
  5. Set the flags: Required, Override Allowed (may child types tune this attribute — see Overrides), Disabled (retire an attribute without deleting history).
  6. Under List of Values, leave it unrestricted or define the allowed values — prefer a value list for anything you will ever want to filter or facet on.

The attribute editor: internal name with the locked company prefix, data type and scope, validation, default value, the Required / Override Allowed / Disabled flags, and the list-of-values block

Actions (Members)

The verbs objects of this type offer — the entries that appear in context and radial menus on detail pages and search results. Documents Base ships Release, Obsolete, CheckOut and CheckIn. An action can also be wired to start a workflow, which is how “Release” launches the approval process rather than just flipping a status. Actions inherit down the tree, so a verb defined on a base appears on every descendant.

The Actions section: the type's verbs, with the selected action's description

Reactions (Members)

Event-driven behaviour: when X happens to an object of this type, respond. Each reaction binds one event — object created, attribute changed, status changed, and so on — to a response. The event list is served by the Engine itself, so the designer can only offer events that are genuinely dispatched. Reactions are how the model gets its reflexes: notify on release, index on file attach, stamp a date on state change.

Some events accept a narrowing filter: OnStatusChanged can name a target status, OnAttributeChanged a single attribute, and OnWorkflowCompleted a specific workflow. OnWorkflowCompleted fires when a workflow on the object runs to successful completion — failed or abandoned runs do not count — and is how one workflow chains into another: when the review workflow finishes, start the release workflow. Leave the filter as Any workflow to respond to every completion. One rule to know: a reaction can never start the workflow whose completion triggered it — that would loop it forever — so the Engine skips such a start and the designer warns you if a reaction is configured that way.

The Reactions section: the OnStatusChanged reaction on Documents Base

Rules (Members)

Named constraints on the type — for example FilePathRequiredWhenFileNameSet. Be aware of the banner in this section: rules are currently descriptive metadata for documentation — the engine does not yet enforce them. They are still worth writing: they record the type's intended invariants where the next admin will look, and they will become enforceable as the engine grows into them.

The Rules section — note the banner: rules document intent and are not yet engine-enforced

Forms (Interface)

The layout of the New Object form for this type: which attributes appear, in what order, and under what label. The eye icon toggles a field's visibility, rows drag to reorder, and a label override renames a field for humans without touching the attribute (“partNumber” → “Document Number”). The Source column shows whether each field comes from the type itself (OWN) or from an ancestor. A good form shows the six fields a creator must think about — not all seventeen the type carries.

The Forms section: the New form layout with visibility toggles, label overrides and field source

Templates (Interface)

Associates a document template with the type, in two tabs: Template and Connectors. The Template tab holds the template's name, description, MIME type and the revision history of uploaded template files — so the template itself is version-controlled. The Connectors tab maps fields inside the template to PLM attributes, which is how a Word specification opened through the Word addin shows live attribute values that stay consistent with the record.

When you add a mapping you must choose its direction; nothing is preselected. The list shows each mapping as PLM → document, document → PLM or both ways. PLM → document means PLM owns the value, so the add-in shows it read-only with a padlock in Edit Values. Choose document → PLM or both ways if users should edit the value in the add-in. The attribute's editable flag does not change this.

The Templates section: the Template tab with name, MIME type and the template file's revision history (Connectors is the second tab)

Table Columns (Interface — table types only)

Visible only on types deriving from Table Base: the default column schema every new table document of this type starts with. Schema columns arrive pre-seeded in the Table Editor and cannot be deleted or retyped inside individual documents — the type guarantees the shape, the documents fill in the rows. Use it when every instance of a table kind must stay comparable (test matrices, torque tables).

Security (Config)

Role-based access control for each lifecycle state, in six tabs:

  • Permissions — the core grid. Pick a STATE, then set each subject's rights: View, Read, Create, Edit, Delete, Transition and Download. Subjects are Everyone (*), roles, groups or named users; Edit and Delete distinguish Own (only what I created) from Any.
  • Editability — per-state editing constraints.
  • Transitions — the state machine: which from-state → to-state moves exist and who may make them (format: *, role:Name, group:Name, user:Name). With no rules defined, all state changes are permitted — add rules to lock the path down.
  • Releasability — what must be filled in before a state can be entered. Pick a state on the left (the tab opens on Released) and tick the attributes a revision must carry before it may move there. The attributes a state requires sit at the top of the list. A state with nothing ticked can be entered with anything blank. The Engine refuses the move whoever asks — on a save that changes the status, when Submit for Release is started, and when the workflow itself writes the state — and names the blank fields. “Filled in” means any value, so an answer of “false” counts.
  • Visibility — who can see objects at all, per state.
  • Summary — the whole model at a glance for review.

Security → Permissions: the per-state grid — Everyone, Role: Admin and Role: Member with View / Read / Create / Edit / Delete / Transition / Download

Security → Transitions: the state-machine rules table; empty means every state change is permitted

Two habits keep security sane: give every new type a model before announcing it (no model ≈ invisible to everyone but the owner), and freeze Released — Members read, Admins hotfix, changes go through revisions.

Use case

Quality needs controlled work instructions. You derive n5QualityProcedure from Documents Base (ten minutes: name, description, two attributes — “department” with a value list, “review interval” as a number). Save, then set security: everyone reads Released, only the quality group creates and edits drafts, release transition restricted to group:Quality Leads. The type inherits check-in/out, revisioning and the release workflow from Documents Base without a line of configuration. First procedure created the same afternoon, numbered from the quality series, frozen on release.

Tips

  • Model changes are live for everyone — rehearse on a scratch type.
  • Push shared behaviour up to abstract bases; keep leaf types thin.
  • Prefer value lists over free text for anything you will filter on.
  • Derive for a new kind of thing; extend for missing fields on an existing kind.
  • Security is per state — check every state, not just Draft, and test as a non-admin before announcing.

See also

[Classification Manager](./classification-manager.md) [Workflow Designer and Manager](./workflow-designer-and-manager.md) [Numbering](./numbering.md) [Working with Objects and Revisions](../getting-started/working-with-objects-and-revisions.md)