Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt

Use this file to discover all available pages before exploring further.

The Edit Article screen allows updating an existing knowledge base article and is accessible at /it/knowledge-base/:id/edit.

Overview

The Edit Article page loads the existing article via useKnowledgeBaseArticle. If the article is not found, a fallback message is shown with a back button. The form is rendered via the KBArticleForm component pre-populated with the existing article data. Two additional action buttons appear in the page header: Archive (visible unless the article is already archived, calls archiveArticle and redirects to /it/knowledge-base/manage) and Delete (opens a confirmation alert dialog, calls deleteArticle and redirects to /it/knowledge-base/manage). On save, updateArticle is called and the user is redirected to the article read view.

Who it’s for

Requires IT_PERMISSIONS.VIEW (outer ITViewGuard). The article read view gatekeeps the edit button behind it.knowledge_base.edit permission; the route itself has no separate permission wrapper.

Before you start

  • You must hold the it.knowledge_base.edit permission to reach this screen from the article read view.
  • The article must exist.

Steps

1

Navigate to edit

From the article read view (accessible to users with it.knowledge_base.edit), click the Edit button.
2

Update the article

Modify fields in the KBArticleForm and click the save/submit action.
3

Archive the article

Click Archive in the top action area to archive the article. This redirects to the article management list.
4

Delete the article

Click Delete and confirm in the alert dialog to permanently delete the article.

Key concepts

  • KBArticleForm — Shared form component used for both creating and editing articles.
  • archiveArticle — Sets the article status to archived; the button is hidden if the article is already archived.
  • deleteArticle — Permanently removes the article; action is irreversible.

IT Service Management

IT Service Management overview.

Governance & parity

Documentation coverage and governance.
This page documents shipped product behavior. It is not medical, legal, or billing advice. Verify against your organization’s policies and applicable regulations before using it for clinical, compliance, or billing decisions. Protected health information (PHI) shown in the product is governed by your tenant’s access controls and is never exposed in this documentation.
  • src/routes/it.tsx
  • src/cores/it/pages/knowledge-base/EditKnowledgeBaseArticlePage.tsx