---
title: "Create an Article: Templates, Document Profiles, Deep Links, Slugs and the Editor"
description: Start a Nodinite Knowledge Base Article blank, from a Template, or with a Document Profile; open a pre-shaped Article with deep links; let the slug follow the title; and write with the WYSIWYG or Markdown editor.
---

# Create an Article

Start every :Nodinite: [Article][Knowledge base Articles] already shaped the way you want it, from wherever you are in the knowledge base, and write it with an editor that needs no training.

* ✅ Start blank, from a [Template][Templates], or with a [Document Profile][Document Profiles]  
* ✅ Open a pre-shaped new Article from an intranet link with `templateId` or `profileId`  
* ✅ Let the slug follow the title while you type, and never break a saved link  
* ✅ Write in WYSIWYG (HTML) or Markdown, with images from the [Image Library][] and tables  

![Animation: Add Article, From Template, pick Contoso Runbook Template, type the title while the Slug follows, write two lines, Save, read the Article (7.12)][30]  
*Walkthrough of **Add Article** > **From Template…**: the editor opens with the Template's content, the Slug follows the title, and the saved Article records the Template as its Source Template.*  

## :fa-square-plus: Ways to Create an Article

:new7.11:

Every entry point below opens the Article editor on the Repository route and on the Admin route, and is shown only to users with the **Create Article** permission (`Repository_Article_Create`) in the [Permission Set][], the same permission as the plain **Add Article** button.

| Start from | Where | Opens the Article editor with |
|---|---|---|
| :fa-file: Blank | **Add Article** (the main part of the split button) on the [Articles Overview][] | An empty Article, as before |
| :fa-clone: A [Template][Templates] | **Add Article** dropdown > **From Template…** on the Articles overview | The Template picker. The chosen Template's content is applied, and the Template is recorded as the Source Template |
| :fa-clone: A [Template][Templates] | **Create Article From Template** row action on the Templates overview | That Template applied. The row action is now on the Repository route too, not only on Admin |
| :fa-clone: A [Template][Templates] | **Create Article from this Template** in the Template's editor header or reader page | That Template applied |
| :fa-list-check: A [Document Profile][Document Profiles] | **Add Article** dropdown > **With Document Profile…** on the Articles overview | The Document Profile picker. The chosen profile is preselected and the [composite workspace][Writing a Profile-Based Article] is open |
| :fa-list-check: A [Document Profile][Document Profiles] | **Add Article using this Profile** row action on the Document Profiles overview | That profile preselected |
| :fa-list-check: A [Document Profile][Document Profiles] | **Add Article using this Profile** in the Document Profile's editor header or reader page | That profile preselected |

![Copy API URL, Search content, and the Add Article split button with From Template and With Document Profile in its dropdown (7.12)][21]  
*Example of the **Add Article** split button with its two starting points, next to **Copy API URL** and **Search content** ([Content Search][]).*  

![Standard Technical Article Document Profile reader page with the Add Article using this Profile button highlighted (7.12)][22]  
*Example of the Add Article using this Profile button on a Document Profile's reader page.*  

![Animation: Add Article, With Document Profile, Contoso Integration Runbook, fill Overview, Details and the required Owner and contacts, Save, read the Article with its header and footer Snippets (7.12)][31]  
*Walkthrough of **Add Article** > **With Document Profile…**: the [composite workspace][Writing a Profile-Based Article] shows the profile's sections; the saved Article reads in the profile's section order, between its header and footer [Snippets][].*  

While a **Required** section is empty, the composite workspace shows a **Documentation health** warning. You can still save.

### :fa-code: Template Variables and Macros

When a Template has variables the editor can't resolve on its own, it shows *Some template variables could not be resolved automatically* with a field per variable and **Apply Variables**. Macros such as `{{ Resource.Name }}` are not variables: they stay in the text as typed, also in the editor's preview, and resolve when the Article is read. Read from a [Monitor View][Monitor Views] for a [Resource][Resources], the macro shows that Resource's name; read from the Articles list, with no Resource, it renders empty. For a name that follows whatever item the Article is read for, use the document macro `{{ entity.name }}` instead. See the [Macros Reference][].

The [Snippets][] overview has no new options; **Add Snippet** stays a plain button. The reader's **Edit** button opens the editor of the item's own kind (Snippet, Template, or Document Profile) directly.

### :fa-link: Deep Links to a New Article

The Article editor accepts two query parameters when it opens a **new** Article, so a link on an intranet page or in another Article can start a pre-shaped Article in one click:

| Parameter | Effect |
|---|---|
| `templateId=<id>` | Starts from that Template: content applied, Source Template recorded. A profile-based Template also preselects its Document Profile and fills each Content Part, and wins over `profileId` |
| `profileId=<id>` | Composes from that Document Profile: profile preselected, composite workspace open |

Both work on the Repository route (`/Repository/Article/add?profileId=12`) and the Admin route (`/Admin/Article?templateId=7`). They're ignored when the id doesn't point at an item of the right kind, or when an existing Article is opened.

## :fa-wand-magic-sparkles: Slug Auto-Fill

When you create a **new** Article, Snippet, Template, or Document Profile, the **Slug** field follows the **Title** as you type:

| Rule | Behavior |
|---|---|
| Derivation | Lower case, `&` becomes `and`, every other run of non-alphanumeric characters becomes one hyphen, no leading or trailing hyphens, at most 256 characters. The server uses the same rule, for example when it derives the slug of a [Clone][Clone a Document] |
| You type in the Slug field | The slug stops following the title |
| You clear the Slug field | The slug follows the title again |
| A saved document's title changes | The slug is **never** rewritten. Slugs are link targets in `{nda}/slug` and `{nds}/slug` tokens (see the [Macros Reference][]), so changing one is always a deliberate edit of the Slug field |

For example, the title *Orders & Invoices – ERP (v2)* becomes the slug `orders-and-invoices-erp-v2`. The [C4 Diagrams][C4 Article Links] article editor uses the same shared rule.

## :fa-edit: Rich text editor helps you create and manage Articles

The following features are available when working with **Articles**:  

* :fa-pen-square: WYSIWYG Editor – No learning curve empowers anyone to write awesome **Articles**
  * :fa-image: Embed images and videos – Make your articles more attractive and user-friendly. Videos from YouTube and Vimeo embed; another site embeds once an administrator adds it to `Iframes.AllowedSites` in [ArticleSecurityPolicy][]
    * **Insert Image from Library** and **Insert File from Library** – pick an image or a file from the [Image Library][] or the [File Library][]; **Upload New** in the picker adds a new one first
    * Paste or drop – :new7.12: paste an image from the clipboard or drop an image file in the HTML editor, and the Image Library's **Upload New Image** form opens with it, ready for a title and alt text ([Paste or drop an image][])
  * :fa-bold: Style your text
  * :fa-link: Provide hyperlinks to other pages and Articles
* :fa-hashtag: Tag your articles with [Tags][Tag]
* :fa-code: Code view for fine-grained control, or write in Markdown. Markup that [ArticleSecurityPolicy][] doesn't allow (scripts, event handlers, forms, iframes from other sites, and the like) is removed before readers see it, and also from your HTML on the next save
* :fa-table: Easily create tables (with code view, you can style these as you like, for example, add table-striped)
* :fa-expand-arrows: Full-screen support
* :fa-arrows-alt-v: Adjust editable area – Simply drag and drop vertically
* :fa-question: Type faster with **shortcuts** – Get the list of shortcuts in the editor help page

![WYSIWYG editor toolbar for Articles, with the Segoe UI font button (7.12)][0]  
*Example of the WYSIWYG editor toolbar. In the split editor it wraps onto several rows.*  

![Keyboard shortcuts in the editor's Help dialog (7.12)][4]  
*Example of the editor's **Help** dialog (the **?** button) with the keyboard shortcuts.*  

## :fa-hand-point-right: Next Steps

* :fa-newspaper: [Add or manage Article][]  
* :fa-file-pen: [Writing a Profile-Based Article][]  
* :fa-clone: [Templates][]  

## :fa-link-horizontal: Related Topics

* :fa-newspaper: [Knowledge base Articles][]  
* :fa-copy: [Clone and Shipped Documents][]  
* :fa-list-check: [Document Profiles][]  
* :fa-puzzle-piece: [Snippets][]  
* :fa-code: [Macros Reference][]  
* :fa-pen: [Write a knowledge base Article][]  

[0]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/Articles/Toolbar.png
[4]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/Articles/Help.png
[21]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/Articles/AddArticleSplitButton.png
[22]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/Articles/AddArticleFromDocumentProfile_ViewPage.png
[30]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/Articles/Article_CreateFromTemplate.gif
[31]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/Articles/Article_CreateWithDocumentProfile.gif

[Add or manage Article]:{ndr}/Getting%20Started/4.%20Repository/Articles/Add%20or%20manage%20Article.md
[Articles Overview]:{ndr}/Getting%20Started/4.%20Repository/Articles/Overview.md
[ArticleSecurityPolicy]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/ArticleSecurityPolicy.md
[C4 Article Links]:{ndr}/Repository%20Model/C4%20Diagrams/Designer/Repository%20Bindings.md#article-links
[Clone a Document]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Features/Clone%20and%20Shipped%20Documents.md#clone-a-document
[Clone and Shipped Documents]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Features/Clone%20and%20Shipped%20Documents.md
[Content Search]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Features/Content%20Search.md
[Document Profiles]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Features/Document%20Profiles.md
[File Library]:{ndr}/Repository%20Model/Files/Overview.md
[Image Library]:{ndr}/Repository%20Model/Images/Overview.md
[Knowledge base Articles]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Overview.md
[Macros Reference]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Features/Macros%20Reference.md
[Monitor Views]:{ndr}/Administration/2.%20Monitor%20Management/1.%20Monitor%20Views/Features/What%20is%20a%20Monitor%20View.md
[Paste or drop an image]:{ndr}/Getting%20Started/Scenarios/Knowledge%20base%20Articles/Add%20images%20and%20links%20to%20an%20Article.md#paste-or-drop-an-image
[Permission Set]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Features/Permission%20Set%20for%20the%20Repository%20Model.md
[Resources]:{ndr}/Administration/2.%20Monitor%20Management/3.%20Resources/Features/What%20is%20a%20Resource.md
[Snippets]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Features/Snippets.md
[Tag]:{ndr}/Administration/4.%20Customize/5.%20Tags/Features/What%20is%20a%20Tag.md
[Templates]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Features/Templates.md
[Write a knowledge base Article]:{ndr}/Getting%20Started/Scenarios/Knowledge%20base%20Articles/Write%20a%20knowledge%20base%20Article.md
[Writing a Profile-Based Article]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Features/Writing%20a%20Profile-Based%20Article.md