---
title: What is the Nodinite File Library | Shared Files Reference Guide
description: Learn what the Nodinite File Library is, how Shared File references work with the ndf token, and how SharedFilePolicy governs allowed MIME types and link behavior for shared files.
---

# <i class="fal fa-folder-open" aria-hidden="true"></i> What is the File Library?

The <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> **File Library** is a centralized store for reusable non-image files. It complements the [Image Library][] by giving you one place to manage PDFs, Word documents, Excel spreadsheets, JSON examples, XML schemas, ZIP packages, and other governed shared assets that should be linked from multiple places. To start using it, see the [Files][] overview.

* ✅ Store a file once and link it from every [Article][Articles] and entity that needs it  
* ✅ Keep links portable between Test and Production with the `{ndf}` token  
* ✅ Find shared files by name slug, title, description, and tags  
* ✅ Control allowed file types centrally with [SharedFilePolicy][]  

![Repository, Files: Upload New File with a title, description and the Tag Contoso: Sales, the file found again by search, then on the System WMS the Shared File field Interface Specification, Choose File, pick it, Select, Save and close, and the file opened in the browser from the System's view page, animated walkthrough (7.12)][Hero]  
*Animated walkthrough: upload a file to the File Library once through the drop zone of the upload form, pick it in a **Shared File** [Custom Metadata][] field on the [System][Systems] *WMS*, and open it from the System's view page.*  

## The Problem It Solves

Before the File Library, teams typically had to:

* Upload the same runbook or specification as a new **Attachment** on every entity that needed it
* Paste environment-specific URLs into [Articles][] and update them again after each move to Test or Production
* Keep schemas and sample data in file shares or third-party tools that were disconnected from the Repository
* Lose control over which file formats were acceptable for shared documentation

The File Library solves these issues by storing a reusable **Shared Asset** once and resolving it wherever the file is referenced.

## <i class="fal fa-list-check" aria-hidden="true"></i> Key Capabilities

| Capability | Description |
|---|---|
| <i class="fal fa-upload" aria-hidden="true"></i> Upload | Upload shared files that match the MIME types allowed by [SharedFilePolicy][]. |
| <i class="fal fa-search" aria-hidden="true"></i> Search | Search by name slug, title, description, and [Tags][]. |
| <i class="fal fa-hashtag" aria-hidden="true"></i> [Tags][] | Organize shared files with free-form tags for teams, systems, or use cases. |
| <i class="fal fa-copy" aria-hidden="true"></i> Copy Reference | Copy a portable `{ndf}` reference for token-based insertion in Markdown or HTML content. |
| <i class="fal fa-pen" aria-hidden="true"></i> Edit metadata | Update file title, description, and tags without replacing every consuming reference. |
| <i class="fal fa-rotate" aria-hidden="true"></i> Replace file | Replace the file in place in the [Web Client][] with a new version; the name slug and every existing reference stay the same. |
| <i class="fal fa-box-archive" aria-hidden="true"></i> Archive | Soft-delete a shared file and restore it later if needed. |
| <i class="fal fa-trash-xmark" aria-hidden="true"></i> Permanently Delete | <sup><span class="nodinite-new-badge">New 7.12</span></sup> Remove a shared file for good, live or archived. |
| <i class="fal fa-diagram-project" aria-hidden="true"></i> Show in Mapify / Mermaid | <sup><span class="nodinite-new-badge">New 7.12</span></sup> Show the file with its [Tags][] and the [Articles][] that reference it in [Mapify][] or as a Mermaid diagram. <sup><span class="nodinite-new-badge">New 7.13</span></sup> [Search content][Content Search - Match inside] with **Files** ticked finds them too, by the file's name or **Title**. |
| <i class="fal fa-link" aria-hidden="true"></i> Reuse | Link the same Shared File from [Articles][] and [Custom Metadata][] without storing duplicate binaries. |

![Insert File picker with search, tag filter, Upload New, and the file list][1]  
*Example of the Insert File picker that the editor opens to search the File Library and insert a `{ndf}` reference.*  

In the [Article][Articles] editor, right-click in the content and choose **Insert File from Library**, or use the toolbar button; both open the **Insert File** picker. See [Add images, files, and links to an Article][Add files to an Article] for the steps.

## <i class="fal fa-link" aria-hidden="true"></i> Token-Based File References

Every shared file is identified by a unique **name slug** such as `deployment-guide` or `sap-order-schema`. Newly inserted references use the slug form so the same content works across environments.

### HTML Reference

When a WYSIWYG editor inserts a shared file link, the rendered HTML can look like this:

```html
<a href="/api/SharedAssets/name/deployment-guide/File"
   data-ndf-name="deployment-guide"
   target="_blank"
   rel="noopener">Deployment Guide</a>
```

### Markdown Reference

In Markdown, the same shared file is referenced with the `{ndf}` token (see the [Macros Reference][] for every content token):

```markdown
[Deployment Guide]({ndf}/deployment-guide)
```

The renderer resolves `{ndf}/deployment-guide` to the shared asset URL at runtime. That is why token-based insertion is preferable to hard-coded environment URLs.

## <i class="fal fa-scale-balanced" aria-hidden="true"></i> Shared File vs Attachment

| | Attachment | Shared File |
|---|---|---|
| Storage | Binary copy per metadata value | Single reusable file in the File Library |
| Reuse | Upload again for each entity | Reference once, use everywhere |
| Searchable library | ❌ No | ✅ Yes — search by slug, title, description, and tags |
| Best for | Private, entity-specific content | Shared documentation and reusable technical assets |
| Updates | Replace file on each entity | Update shared file once and keep existing references |
| Governance | Local upload rules per value | Central policy through [SharedFilePolicy][] |

Use **Attachment** when the file belongs only to one entity. Use **Shared File** when the same document or technical artifact should appear across Articles, [Integrations][], [Systems][], [Services][], or architecture views.

## <i class="fal fa-shield-halved" aria-hidden="true"></i> Allowed File Types and Link Behavior

The File Library is governed by [SharedFilePolicy][], which holds the authoritative list. The initial documented configuration allows business and technical document formats such as:

* PDF
* Plain text and CSV
* JSON, XML, and text XML
* Word, Excel, and PowerPoint Open XML formats
* ZIP packages

The policy also defines the default link behavior. The documented example opens shared files in a new tab and lets browser-displayable content stay in the browser when possible. This avoids forcing downloads for every PDF or text-based document.

## <i class="fal fa-user-shield" aria-hidden="true"></i> Permissions

| Operation | Required Permission |
|---|---|
| View shared files and open links | Authenticated |
| Upload shared files | [Create][Permission Set for the Repository Model - Create] on [Articles][Permission Set for the Repository Model - Articles] <sup><span class="nodinite-new-badge">New 7.12</span></sup> |
| Edit shared file metadata | [Modify][Permission Set for the Repository Model - Modify] on [Articles][Permission Set for the Repository Model - Articles] |
| Replace a shared file | [Modify][Permission Set for the Repository Model - Modify] on [Articles][Permission Set for the Repository Model - Articles] |
| Archive, restore, and permanently delete shared files | [Modify][Permission Set for the Repository Model - Modify] on [Articles][Permission Set for the Repository Model - Articles] <sup><span class="nodinite-new-badge">New 7.12</span></sup> |

Shared files are user content, so **Permanently Delete** needs no Administrator [Role][Roles] (see [Two delete models][Delete models]).

The File Library reuses the same broad viewing model as the [Image Library][]. If a user can read the article or entity that references a shared file, the link itself must also be usable.

## <i class="fal fa-rotate" aria-hidden="true"></i> File Lifecycle

When a shared file is archived or missing, <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> returns a user-friendly response instead of leaving users with an unexplained raw 404. This makes broken references visible and easier to fix. <sup><span class="nodinite-new-badge">New 7.12</span></sup> **Permanently Delete** removes the file for good, whether it's live or archived; see [Manage files][Files - Manage].

To update a shared file while keeping existing references intact, **replace it in place** in the File Library in the Web Client by uploading the new version of the file. The name slug stays the same, so existing Articles and Shared File references continue to resolve to the same shared asset identity. You don't need to archive the file first: archiving retires a file, replacing updates it. Images in the [Image Library][] are replaced the same way.

## Where Shared Files Appear

Shared Files can be used in the following places:

* [Articles][] as reusable documentation links
* **Shared File** [Custom Metadata][] on any Repository entity type, for example [Systems][], not only [Integrations][]; the entity's view page links the file, and browser-displayable files such as JSON or PDF open in the browser
* [C4 Diagrams][] and [Mapify][] read-only metadata panels that render Custom Metadata
* Any surface that already displays shared asset-backed metadata values

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

* <i class="fal fa-file-lines" aria-hidden="true"></i> [Files Overview][Files]  
* <i class="fal fa-newspaper" aria-hidden="true"></i> [Add or manage Article][]  
* <i class="fal fa-tags" aria-hidden="true"></i> [Add or manage Custom Metadata][]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* <i class="fal fa-file" aria-hidden="true"></i> [SharedFilePolicy][]  
* <i class="fal fa-images" aria-hidden="true"></i> [Image Library][]  
* <i class="fal fa-newspaper" aria-hidden="true"></i> [Articles][]  
* <i class="fal fa-tags" aria-hidden="true"></i> [Custom Metadata][]  
* <i class="fal fa-sitemap" aria-hidden="true"></i> [Repository Model][]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Repository/Files/FilePickerModal.png

[Add files to an Article]:https://docs.nodinite.com/getting-started/scenarios/knowledge-base-articles/add-images-and-links-to-an-article/#insert-files-from-the-file-library
[Add or manage Article]:https://docs.nodinite.com/getting-started/repository/articles/add-or-manage-article/
[Add or manage Custom Metadata]:https://docs.nodinite.com/getting-started/repository/custom-metadata/add-or-manage-custom-metadata/
[Articles]:https://docs.nodinite.com/repository-model/knowledge-base-articles/overview/
[C4 Diagrams]:https://docs.nodinite.com/repository-model/c4-diagrams/overview/
[Content Search - Match inside]:https://docs.nodinite.com/repository-model/knowledge-base-articles/features/content-search/#match-inside
[Custom Metadata]:https://docs.nodinite.com/repository-model/custom-metadata/overview/
[Delete models]:https://docs.nodinite.com/administration/repository/overview/#fa-trash-can-two-delete-models
[Files]:https://docs.nodinite.com/repository-model/files/overview/
[Files - Manage]:https://docs.nodinite.com/repository-model/files/overview/#fa-list-check-manage-files
[Hero]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Repository/Files/FileLibrary_WhatIs.gif
[Image Library]:https://docs.nodinite.com/repository-model/images/overview/
[Integrations]:https://docs.nodinite.com/repository-model/integrations/overview/
[Macros Reference]:https://docs.nodinite.com/repository-model/knowledge-base-articles/features/macros-reference/
[Mapify]:https://docs.nodinite.com/mapify/overview/
[Permission Set for the Repository Model - Articles]:https://docs.nodinite.com/administration/access-management/roles/features/permission-set-for-the-repository-model/#fa-newspaper-articles
[Permission Set for the Repository Model - Create]:https://docs.nodinite.com/administration/access-management/roles/features/permission-set-for-the-repository-model/#fa-file-plus-create
[Permission Set for the Repository Model - Modify]:https://docs.nodinite.com/administration/access-management/roles/features/permission-set-for-the-repository-model/#fa-file-edit-modify
[Repository Model]:https://docs.nodinite.com/repository-model/overview/
[Roles]:https://docs.nodinite.com/administration/access-management/roles/features/what-is-a-role/
[Services]:https://docs.nodinite.com/repository-model/services/overview/
[SharedFilePolicy]:https://docs.nodinite.com/administration/settings/system-parameters/sharedfilepolicy/
[Systems]:https://docs.nodinite.com/repository-model/systems/overview/
[Tags]:https://docs.nodinite.com/administration/customize/tags/features/what-is-a-tag/
[Web Client]:https://docs.nodinite.com/getting-started/overview/