Skip to content
Skip to main content

Integrations and MIME Types

Background

Two admin screens teach Nexus about the world outside its own database. Integrations configures the outward channels — the email server, Slack and Microsoft Teams webhooks that carry notifications to people where they actually read. MIME Types maintains the catalog of document formats Nexus understands — the list offered when a type's template is defined in the Data Model Designer, and the place where a format is marked as having a template inspector deployed. Both screens are admin-only; anyone else sees an access notice instead.

The sharp edge here is quiet rather than destructive: a mistyped webhook or SMTP host does not error loudly — notifications simply stop arriving. That is what the per-channel Send test buttons are for; use them every time you change anything.

Secrets stay secret

Passwords and webhook URLs are secrets, and the screen treats them as such: they are encrypted at rest on the server, and after saving, the form re-loads with each secret masked as ••••••••. The rule to remember: leaving a masked secret untouched keeps the current value — you only type into a secret field when you mean to replace it. This is why you can safely open the page, change the SMTP port, and save without re-entering the password.

Why it matters to Nexus: notification channels are shared plumbing — every workflow approval request, task assignment and subscription alert in the system rides them. One admin fumbling a password field should not silently break everyone's approvals, and the mask-to-keep rule prevents exactly that.

Step by step: wire up email notifications

  1. Open Integrations and choose the Email tab. Tick Enabled.
  2. Enter the mail server's Host and Port, and tick Use STARTTLS if your server expects an encrypted session (most do).
  3. Fill in the Username and Password the server authenticates with, then the From address and From name recipients will see — something recognisable like Nexus PLM, not a cryptic service account.
  4. Click Save channel settings. The page reloads the settings with the password masked — that is expected, not lost data.
  5. Click Send test — it sends a test notification to yourself. No email means wrong host, port, TLS setting or credentials; fix and test again before walking away.

The Email (SMTP) section: Enabled toggle, host and port, STARTTLS, credentials with the masked password, From fields and the Send test button

Step by step: teach Nexus a new file format

  1. Open MIME Types and click Add MIME type at the bottom of the table.
  2. Give it a Label people will recognise ("STEP Model"), the exact MIME value (e.g. application/x-… form), and the file extensions it covers.
  3. Set a sort order to control where it appears in pickers, leave Enabled ticked, and save the row.
  4. The format now appears in the Data Model Designer's template-format picker. If another entry already uses that MIME value, the save is refused with a clear duplicate message.

Note: the screenshots on this page still show the previous single-page layout and are due to be re-shot (NI-00000152). The fields and their meanings are unchanged — only their grouping into tabs is new.

The Integrations screen, item by item

The screen is divided into four tabs — Email, Slack, Microsoft Teams and Webhooks. Each tab opens with a line saying what that integration is for, and only that integration is on screen while you work on it.

Email (SMTP)

The full mail configuration: Enabled toggle, Host and Port, a Use STARTTLS toggle, Username and Password (secret), and the From address / From name pair stamped on outgoing mail. Send test sends a test notification to you via email; it is disabled until the channel is enabled — and the safest habit is enable → save → test.

Slack

An Enabled toggle and one secret field: the incoming webhook URL (the https://hooks.slack.com/services/… address Slack generates for a channel). Notifications post to whatever channel the webhook was created for — the routing decision is made on the Slack side, not here. Send test verifies the pipe end to end.

Microsoft Teams

The mirror image of Slack: an Enabled toggle and the Teams incoming webhook URL (a …webhook.office.com/… address) as a secret, with its own Send test.

Saving: the three channels move together

Email, Slack and Microsoft Teams are one settings record behind one endpoint, so they are saved together — there is no way to save just one. The Save channel settings button appears on all three tabs and says so beside it. It stays greyed out until something actually differs from what the server last confirmed, so a page you have only read cannot be re-saved by accident.

If another tab is holding edits you have not saved, the button names it: “Saves all three channels — unsaved changes also in Email.” That is the warning to read before you navigate away, because leaving the screen discards them. Saving re-reads the settings from the server, so every secret comes back masked; success and failure both announce themselves in a toast.

Webhooks are different. They are separate objects, and each row saves on its own the moment you finish editing it — the Webhooks tab has no page-wide Save, and says so.

The Integrations page with the Email, Slack and Microsoft Teams sections and the Save button

The MIME Types screen, item by item

The catalog table

Every format Nexus knows, one per row, edited in place: Label (the human name shown in pickers), MIME value (the canonical identifier, shown monospace — hover to read long values in full), Extensions, Sort (list ordering), Enabled (an unticked row fades and drops out of pickers), and Origin — System entries ship with the product, Custom ones you added. Each row has its own save button; a duplicate MIME value is refused with a conflict message.

Columns reorder, resize and hide through the gear beside the page title (your layout is remembered per user). One deliberate difference from other Nexus grids: header clicks do not sort here — every cell is a live input, and re-ordering rows mid-edit would move the field you are typing in.

System versus custom entries

System entries are editable but not deletable — their delete button is disabled by design. If your organisation never uses a shipped format, disable it instead: it vanishes from pickers but survives product upgrades and can be re-enabled later. Custom entries can be deleted outright.

The inspector badge

Rows carrying a small scan icon next to the label have a template inspector deployed on the vault for that format — meaning the Data Model Designer can detect fields inside template files of this type and map them to PLM attributes (the Templates section's Connectors tab). No badge means templates of that format can still be stored and versioned, but field detection is unavailable until an inspector for the format is deployed.

The MIME Types table: label with inspector badge, monospace MIME values, extensions, sort, enabled and origin columns, plus the Add MIME type row

Webhooks

The Webhooks tab is how an ERP or any other system is told about cost changes as they happen, instead of polling. A subscription is a name, the receiver’s URL, an optional secret and the events it wants; it can be disabled without being deleted. Three events exist today: Cost updated (a cost or target attribute changed on an item — which attributes, and their new values), Target exceeded (a change left an item or assembly over its target: rolled-up cost, target, variance and RAG) and Rollup complete (a rolled-up cost snapshot was recorded — the figure an ERP should mirror).

Each delivery is a JSON POST with one envelope: { id, event, occurredAt, data }. The headers name the event (X-Nexus-Event), the delivery and the event id, and — when a secret is set — carry X-Nexus-Signature-256, sha256= followed by the hex HMAC-SHA256 of the raw body keyed by the secret, so the receiver can prove the message came from Nexus. Failed deliveries are retried (three attempts by default, with increasing delays), and a receiver that stays down does not slow anything in Nexus: events are queued and delivered in the background.

Send test delivers a webhook.test event right now and reports the receiver’s answer in the toast — the quickest way to prove a URL and secret are right. Expand a row to see its delivery log: when, which event, the outcome (status and attempts, or the error), and the event id to match against the receiver’s side. The row itself shows the last outcome and counts consecutive failures, so a broken receiver is visible at a glance. Secrets are encrypted at rest and never shown again; leave the mask to keep one, blank the field to send unsigned.

Use case

Engineering adopts a new CAD package and wants its neutral exchange files first-class in Nexus. The admin adds the format in MIME Types with its extensions and a sensible label — five minutes, and the format immediately appears in template pickers and uploads carry the right identity. The same afternoon, they enable the Teams webhook and send a test; from then on release approvals ping the engineering channel instead of waiting in unread email.

Tips

  • Masked secrets (••••••••) mean "keep the current value" — only type in a secret field to replace it.
  • After every change, use Send test — a broken channel fails silently, and the test is the only proof the pipe works end to end.
  • Disable system MIME entries rather than wishing you could delete them — disabling is reversible and upgrade-safe.
  • Keep MIME values exact — they are identifiers, not descriptions, and a duplicate is refused.
  • The inspector badge is the tell for template field detection — no badge, no automatic connectors for that format.

See also

[Data Model Designer](./data-model-designer.md) [System and Indexing Monitors](./system-and-indexing-monitors.md) [My Tasks and the Inbox](../applications/my-tasks-and-the-inbox.md) [Word Addin](../cad-addins/word-addin.md) [MIME Types](./mime-types.md)