The Article screen is accessible atDocumentation Index
Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
Use this file to discover all available pages before exploring further.
/lo/knowledge/articles/:articleId and renders a single knowledge base article with sanitized HTML content, a table of contents, version history, and metadata.
Overview
TheKnowledgeArticlePage fetches the article via useKnowledgeArticle(articleId, orgId) and increments the view count via incrementViewCount.mutate({ id, organizationId }) in a useEffect on mount. The breadcrumb is set to article.title. The page displays the article title, ArticleTypeBadge, category path, author, creation date, and view count. An ArticleTableOfContents renders a navigation sidebar. The article body is rendered using sanitizeHtml on the stored HTML content. An ArticleVersionHistory panel shows the edit history. An Edit button (visible to authorized users) navigates to /lo/knowledge/articles/:articleId/edit.
Who it’s for
RequiresLO_PERMISSIONS.DASHBOARD_VIEW (lo.dashboard.view) via the shared LOViewGuard. Editing requires lo.knowledge.create (or a separate edit permission — confirm with SME).
Before you start
- The article identified by
:articleIdmust exist in the active organization. lo.dashboard.viewpermission required.
Steps
Open an article
Navigate to
/lo/knowledge/articles/:articleId or select an article card from the Knowledge Portal.Navigate with table of contents
Use the
ArticleTableOfContents sidebar to jump to specific sections.Key concepts
- sanitizeHtml: applied to article content before rendering to prevent XSS.
- incrementViewCount: called on page mount to track article views.
- ArticleTypeBadge: displays the article type (process, best_practice, training, faq, policy, general).
Related
Leadership
Leadership core 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/lo.tsx
- src/cores/lo/pages/KnowledgeArticlePage.tsx
- src/cores/lo/hooks/useKnowledgeArticles.ts