Skip to content
Skip to main content

Data Packs

Background

Most of what a Nexus PLM site holds is data: materials, standard parts, bug cards, help articles. Data is not configuration — it is not the shape of a type, it is the things of that type — and it travels for its own reasons. You may be publishing a materials library for customers to buy. You may be moving a board of work from a pilot site to the live one. You may be shipping the product's own help articles with an installer.

A data pack is one file that carries that data: a .nexuspack, which is a zip with a sealed manifest inside it. The Data Packs app builds one, reads one, and imports one.

Why it matters to Nexus: a pack is the only way data crosses between two sites without being retyped. The alternative is a spreadsheet, and a spreadsheet loses everything that is not a cell — the revision history, the comments on each move, the screenshots in an article, the folder the part was filed in. A pack keeps them, and it keeps enough identity that importing the same pack twice updates what it delivered rather than creating a second copy of it.

Data Packs is an administrator tool. Publishing a library exposes every object of a type, a pack of a board carries the usernames of everyone who touched a card, and importing one writes to the type system. The tile is hidden for everyone else, and the page refuses as well, so a saved link cannot walk around the tile being hidden.

What a pack is, and the two formats

Every pack declares a format version in its manifest, and that is the only thing that tells the two apart — not the file name, which is .nexuspack for both, so that a pack already in a customer's hands still opens.

  • Format 1 is assembled in your browser. It carries the type definitions and one CSV per type: the latest revision of each object, with the attribute values a listing shows. It is what every pack built before this release is, and Nexus still reads it.
  • Format 2 is built on the server. It carries every revision of every object, each revision's whole attribute set with its values' real types intact, the comment trail, the attachments and screenshots as real files, the classification folders, and the board definitions. It is what Export produces now.

The difference is not a feature list, it is a limit. A browser can only pack what a listing endpoint already gave it, which is one revision and a row of text. Everything else a pack ought to carry was never in the browser to pack.

A format-2 pack is sealed: every file inside it records a hash of its own contents, and the manifest records a hash of itself. A reader checks both. What that proves is that nothing has been altered since the pack was sealed — it does not prove who sealed it. A .nexuspack is a zip, and anyone can build one. Treat a good seal as an integrity check and never as a statement of trust.

What travels, and what deliberately does not

A pack carries what the receiving site needs and leaves behind what would be a lie there.

  • Each object's own identity in the pack travels; this site's database id does not. The first export stamps the object with a pack identity, and every export afterwards carries that same identity forward. That is what lets a pack move A → B → C and still be recognised at C as the thing A published.
  • Usernames travel; user ids do not. A comment says who wrote it by name. The underlying account id is meaningless on another site, and an import that trusted one would write rows pointing at nobody.
  • Attachments travel as files, named by their own content. Nexus stores every file by the fingerprint of its bytes, so a screenshot shared by forty articles is one file in the pack, and re-uploading it on the target site produces the same fingerprint — which is why a screenshot embedded in an article body still resolves after the move, with nothing rewritten.
  • Group access travels by name. A board that is visible to Team Leads carries that name, not this site's id for the group, and an import matches it against the groups it has.
  • Customer types travel; out-of-the-box types are only named. A pack of help articles says it needs HelpDocument and does not carry it, because every site already has it. A pack of a customer type carries that type and the chain it inherits from. See [Data Model Designer](./data-model-designer.md).
  • Numbering travels as a skeleton and as a schema. The manifest records the shape the part numbers were minted from and the highest number the pack holds, so the receiving site can advance its own counter past them instead of re-issuing a number it has already used. The shape alone cannot be taken back apart into segments, though — a prefix and a separator render into one string and stay that way — so a pack also carries the schema definition files its numbers actually came from, which is what lets a restore recreate the sequence rather than guess at it. See [Numbering](./numbering.md).
  • The authoring site's bookkeeping is dropped on the way in. A pack carries each object's owner, created by, creation date, checked out and internal id as the authoring site had them, and an import throws all five away. A restored object therefore carries this site's bookkeeping and names no user who does not exist here — the alternative is a site full of objects owned by accounts nobody can log into.
  • An object's description, status, part number and revision label travel as themselves, once. Each is a field of its own, so a stray copy of one inside an object's attributes is dropped rather than imported — two copies of one fact can only ever disagree.

Exporting changes nothing. It is a read from end to end: no object is modified, no timestamp is bumped, and no entry is added to any object's history — an "exported" entry would pollute the very trail the pack is carrying.

Step by step: publishing a kanban board

You have a board of work on a pilot site and you want it on the live one.

  1. Open Data Packs from the Administration tiles. You need the Administrator role.
  2. Stay on export and choose Kanban board under What kind of pack. The type tree disappears — a board pack picks boards, not types.
  3. Leave all three switches under What travels with the objects on. They are on by default and off is the unusual choice.
  4. Tick the board you are publishing under Boards to export. You may tick more than one.
  5. Type a Pack name — it names the download, so ACME Bug Board becomes acme-bug-board-1.0.nexuspack — and a Version.
  6. Click Export pack. The file downloads.

If the message that appears mentions warnings, the pack still built. A warning is something the export could not carry — an attachment the vault no longer holds, a card someone else owns — and inspect lists them in full.

📷 Screenshot: the export panel with Kanban board selected, the three switches on, and one board ticked.

On the receiving site, open Data Packs, switch to inspect, and read the pack before you import it. Then switch to import.

The Data Packs screen, item by item

Three modes sit in the header: export, import and inspect. The count beside the title is how many types this site has.

Export — what kind of pack

Three buttons, and the line under them describes whichever is selected.

  • Library — reference objects carried as data, with the types they need. This is the kind the app has always built: a materials catalogue, a library of standard parts. It is the only kind that picks types and rows.
  • Kanban board — a board at full fidelity. Every card you can see on it, every revision of every card, each card's position in its lane, and the comments recorded on each move. See [Kanban Manager](./kanban-manager.md) and [Nexus Issues](../applications/nexus-issues.md).
  • Help library — every article filed under the Help Documentation folder tree, with its shelf, its summary, its body and the screenshots inside it. See [Authoring Help Articles](../getting-started/authoring-help-articles.md).

Export — what travels with the objects

Three switches, all on by default. They change what the pack is, not merely how big it is.

  • Attachments and screenshots — off still records which files each object refers to, so the pack describes the same objects; it simply does not carry their bytes. Useful when the receiving site already holds them.
  • Every revision, not just the latest — off carries the current state of each object and no history.
  • The comments recorded on each move — off carries no comment trail. This matters more than it looks. A pack records a fingerprint of each object so a later import can tell whether an administrator has edited it since delivery, and the comment trail is part of that fingerprint. A pack built without comments therefore never compares as identical to one built with them, and an import will see every object as changed. Leave it on unless you have a reason.

Export — the type tree and the row list (Library only)

The tree on the left lists this site's types; Search types filters it. Choosing one fills the panel.

  • Types travelling with this pack — the type you picked and every type it inherits from, numbered in the order they must be created on the target. A derived type is meaningless without its parents, so the chain travels unasked. abstract, OOTB and publishing badges say what each one is.
  • Include every subtype below this one, and their objects — extends the pack down the tree as well as up it.
  • Rows to export — the objects of the selected type, all ticked to begin with. Filter rows narrows the list; All and None set the whole selection. Clicking a row toggles it. The heading counts what is ticked.
📷 Screenshot: the Library export panel with a type selected, its ancestor chain listed, and the row table beneath.

Export — boards to export (Kanban only)

Every board you may see, with the type it binds and its status. Tick the ones to carry.

A card is never attached to a board. A board shows every object of the type it binds, in the lane matching that object's status — so nothing links a card row to a board row, and a restored board keeps its cards even if it has to be created under a different id. An import prefers, in order: an id you gave it, an id the pack carries, the id of a board already named the same here, and the product's own well-known id for a board it ships. If something else already occupies the id it would use, it leaves that board alone, creates under a fresh id, and tells you both ids. The cards arrive either way; the preview says which id was used.

A pack contains what you saw on the board. Cards the security model hides from you are not in it, and the export says so in its warnings. On a board scoped to show only your own cards, the pack carries only your own cards — the scope is a view filter rather than a security boundary, and keeping it is a product decision: an export should match the board you were looking at.

Export — the help library (Help only)

Nothing to pick. Every article under the Help Documentation root travels. A site with no such folder tree has nothing to export, and the export is refused rather than producing an empty pack that looks successful.

Export — pack details

  • Pack name — required. It is what the receiving site sees, and the download is named after it.
  • Version — the author's own version string. Dots survive into the file name, so 2.1 stays 2.1.
  • Description — optional free text, shown before an import runs.

There is no author field. The pack records you as its author and this site as its origin, taken from your session rather than from anything typed in the form, so a pack cannot claim to have come from someone else.

Import

Choose the file and Nexus reads its format version out of the manifest to decide which of the two flows below applies. There is one file dialog; the format is not something you pick.

Importing a format-1 pack

A format-1 pack is applied in your browser, and it walks four steps: choose the file, settle each type, choose the rows, and read the report.

The types step is the point of the feature. A pack is written against the author's type names, so the importer renames them onto this site's prefix — and that is exactly when a name can land on a type that already exists. Each type is shown with its standing here:

  • Not on this site — it will be created.
  • Already on this site — the definition needs no change. The pack's data rows still arrive.
  • The pack adds attributes to it — the type is here but the pack's version declares more.
  • Clash — an attribute of the same name has a different type here. This one needs a decision.

Nothing is written until you have seen and accepted every decision. The rows step then counts what will arrive and lets you narrow it, and the report at the end lists what was created, what was updated and what was skipped.

Importing a format-2 pack

A format-2 pack is applied on the server, because that is where the things it carries live: whole revision histories, attachments, a folder tree, a board definition, a type definition. The flow is two steps — preview, then apply.

Preview first, and the preview is the import rehearsed with the writing switched off — not an estimate. The same server code decides every verdict either way, so the numbers it shows are the numbers you get. That is the whole reason it exists: an estimate and the real thing drift apart silently, and the drift only shows up after you have acted on the wrong number.

"Before you import" is the most useful thing on the screen. It lists everything this pack needs that this site does not have yet — all of it, in one pass, instead of one failed import at a time. A real restore typically needs several things at once: a customer type, a numbering schema, a folder tree, a board. Each row says what is missing and what to do about it, in words you can act on.

Numbering schemas are called out by name, and they are the one gap that is invisible afterwards. A pack keeps the part numbers it was authored with — they are part of what was authored, and renaming them would break every reference to them. That means the numbers arrive without the counter having issued them, so the import moves the counter past them. If the schema behind those numbers does not exist here, there is no counter to move: the import would appear to succeed, the numbers would be kept, and the next object filed by hand would come out of the default sequence instead. So a missing schema blocks the import and the preview tells you the name, the prefix, the suffix, the counter width and the value to seed it at. If the pack carries the schema's own definition, Nexus offers to create it for you; a schema reconstructed from the manifest's rendered shape alone would be a guess dressed as a restore, and Nexus will not do that.

What the counts mean. Will create is an object this site does not have. Will update is one it has, where the pack carries newer content than it last delivered. Will skip covers two different situations, and the object list names which: already here and unchanged, where this site holds exactly what the pack delivered, and you have edited this since it was delivered, where it does not — and that second one is left alone by default rather than overwritten. The same applies when Nexus has no record of having delivered an object at all: it is left as it is, because an unknown answer is not permission to overwrite someone's work. Turning off "preserve local edits" is how you say otherwise.

Importing the same pack twice updates rather than duplicating. Nexus remembers what each pack delivered, and recognises an object by that record, by the pack identity stamped on it, or by its part number — so a second run reports the objects as already here instead of creating a second copy of each.

An import that stops part-way is safe to run again. Each object is written in one transaction of its own, so a run that fails at object 180 of 231 leaves 180 complete objects — with their revisions, their files, their folder and their comment trail — and nothing half-written. Running the same pack again recognises those 180, creates the rest, and finishes the links between them. Resuming is the normal way to deal with a failure here, not a recovery procedure.

A missing group or user is a warning, and nothing is ever created to satisfy one. A board that wants Team Leads on a site with no such group keeps the placeholder, which is visible rather than silently broken, and the preview names the group. A comment by someone who is not a user here keeps the name exactly as recorded — truthful provenance — and the report counts the references once per person rather than once per comment.

A type the pack does not carry and this site does not have withholds its objects. They are not imported against nothing: an object written against a type the site does not know is invisible in every type-scoped view and is not searchable by its attributes at all. The report says which type and how many objects it held back.

Two things an import writes that are not data. A type definition it creates is a file in this site's type folder, and a numbering schema it creates is a file in this site's numbering folder. Both are configuration written outside the database and outside any transaction, so neither is undone if a later object fails; the report names each one it wrote. A preview writes neither.

Revisions are matched by their label, and a collision overwrites. If the pack carries revision A of an object this site already has a revision A of, the import writes over that revision — its status, its attachments and its modified date — rather than creating a new one beside it. Revisions the pack does not carry are left entirely alone. An import also deliberately skips the check that would stop it writing over an edit made while it was running, so do not import a large pack over objects somebody is working in; the endpoint is administrator-only partly for that reason.

Inspect

Drop a pack here and the server reads it without importing anything and without writing anything.

For a format-2 pack, Import's preview is the Inspect that also tells you what would happen: it shows everything below plus the per-object verdicts, the counters it would move and the list of things this site is missing. Inspect remains the quicker answer when all you want is to know what is in the file.

  • This pack — its name, version, kind, author, origin, format version, when it was exported, the author site's type prefix, and its seed generation if it has one.
  • The seal line — confirms the pack has not been altered since it was sealed. If the seal or any file inside fails, the panel shows the reasons here instead, and a pack with integrity errors must never be imported.
  • Contents — objects, revisions, comments, attachments, bytes, types and boards.
  • Types — each declared type, whether its definition is in the pack or merely named, and whether this site already has it. That last column is the one thing the pack cannot tell you by itself, and it is the question you actually have.
  • Objects — part number, description, type, how many revisions and comments each carries, how many attachments it refers to, and where it was filed. The list is capped for display; the object count above it is exact.
  • Boards — each board's type, status, viewer scope, lanes, and the groups its access rules ask for by name.
  • Classification folders and Groups the pack references — what an import will need to match or create. See [Classification Manager](./classification-manager.md).
  • Numbering schemas — each schema the pack carries, its segments in the order they render, the shape they produce, and the highest number in the pack that fits it. A schema the pack names but none of its own numbers fit says so, which is worth seeing. See [Numbering](./numbering.md).
  • What the producer could not carry — the export's warnings, in full. The pack is complete for everything else.
📷 Screenshot: the inspect panel after reading a board pack, showing the contents strip and the types table with its "already here" and "not on this site" pills.

Use case: selling a materials library

You maintain a catalogue of aerospace alloys as a customer type with a few thousand rows, and you sell it.

Choose Library, pick the alloy type, leave every row ticked, name the pack after the catalogue and set the version to the release you are shipping. The pack carries the type, the types it inherits from, and every row with its full attribute set. Send the file.

When you publish the next release, export again with a new version. Each object in the pack carries the identity the first pack gave it and a fingerprint of its authored content, so the receiving site can tell your changes from its own: a row the customer has edited themselves looks different from the one you delivered, and a row neither of you has touched looks identical. That is what the fingerprint is for. Acting on it — updating what changed, leaving a customer's own edits alone, adding what is new — is the importer's job, and for a format-2 pack it now does exactly that: the preview shows the three groups separately before anything is written, and a row the customer edited is left as it is unless they say otherwise. See [Industry Standards](../applications/industry-standards.md) for the other way standard parts reach a site.

Tips

  • Preview, then apply. The preview is the import rehearsed, not estimated — the numbers it shows are the numbers you get.
  • Read the "Before you import" list. A pack can only restore what this site can hold: a type, a numbering schema, a folder tree. The list is the whole set, once, instead of one failure at a time.
  • An import that stops part-way is safe to run again. Everything already delivered is recognised and skipped.
  • Create the numbering schema before the import, or let the pack create it. Either way, do not proceed past that row without deciding. A pack keeps its own part numbers, and without the schema there is no counter protecting them.
  • Inspect before you import, every time. It is free, it writes nothing, and it answers the only question that matters before an import: does this site already have these types?
  • A warning is not a failure. The pack built; something could not be carried. Read the list in inspect and decide whether it matters.
  • Leave the comment switch on unless you specifically want a pack with no history. Turning it off makes every object in the pack look changed to the receiving site.
  • A missing attachment keeps its reference. If the vault no longer holds a file, the pack still records that the object referred to it. The image renders broken on the target, which is honest — and repairable. Stripping the reference would make the repair impossible.
  • A good seal is not a signature. It says the file has not changed since it was sealed. Where the pack came from is something you have to know by other means.
  • Narrow a very large library with the row selection. An export of a type with a hundred thousand rows reads all of them before it writes anything; picking the rows you need keeps it quick.
  • Attachments dominate the file size. A pack of a board with gigabytes of attachments is gigabytes. Turn the attachment switch off when the receiving site already holds them.

See also

[Data Model Designer](./data-model-designer.md) · [Classification Manager](./classification-manager.md) · [Kanban Manager](./kanban-manager.md) · [Numbering](./numbering.md) · [Working with Objects and Revisions](../getting-started/working-with-objects-and-revisions.md) · [MIME Types](./mime-types.md)