The Edit Article page (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.
/settings/knowledge-base/:id) is the editor for knowledge base articles, supporting both creation (via the new ID) and modification of existing articles, with save and publish workflows.
Overview
The route requirespf.ai_skills.view. The page reads :id from useParams — when id === 'new', it operates in create mode (no pre-fetch); otherwise it calls useKnowledgeArticle to load the existing article. Loading state shows a full-page skeleton. Mutations are handled by useCreateKnowledgeArticle, useUpdateKnowledgeArticle, and usePublishKnowledgeArticle. The editor component KnowledgeArticleEditor is responsible for the form UI and exposes save, publish, and cancel actions. On save in create mode, the new article’s ID is returned and navigation goes to the edit URL for that article. On cancel, the editor navigates back to the knowledge base list (/settings/knowledge-base).
Who it’s for
Requires permissionpf.ai_skills.view.
Before you start
- You must hold
pf.ai_skills.view. - Navigate from the Knowledge Base list page (
/settings/knowledge-base) to create or edit articles.
Steps
Edit an existing article
Navigate to
/settings/knowledge-base/:id. The editor pre-fills with the article’s existing content.Save the article
Click Save to persist the draft. In create mode, the URL updates to the new article’s edit URL.
Publish the article
Click Publish to make the article available. This calls
usePublishKnowledgeArticle.Related
Platform Foundation
Platform Foundation 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.
Documentation sources
Documentation sources
- src/routes/platform.tsx
- src/platform/knowledge/pages/KnowledgeArticleEditPage.tsx
- src/platform/knowledge/hooks/use-knowledge-articles.ts