oo

Creating Knowledge Base Articles

Liferay 7.4 U72+/GA72+

Knowledge Base provides tools for creating and managing a repository of articles. You can create articles using the application’s WYSIWYG editor or by importing them as Markdown files (.markdown, .md) in a ZIP archive.

Create and manage a repository of articles.

Authoring Articles in the Editor

  1. Open the Site Menu (Site Menu) and go to Content and DataKnowledge Base.

  2. In the Folders and Articles section (Folders and Articles), click Add (Add Button) and select Basic Article.

    If you created an article template, you can select it instead.

    Click Add and select the desired article template.

  3. Enter an article title.

  4. Enter content for the article. To view or edit the article’s HTML source, click the Source button (Source) in the editor.

    Enter content for the article.

  5. (Optional) Add attachments to the article.

  6. (Optional) Select a display page template for the article. This configuration overrides the default display page template for Knowledge Base articles.

  7. (Optional) Add tags or categories to the article to improve visibility and organization.

  8. (Optional) Set expiration and review dates. By default, articles are set never to expire or require review. See Managing the Knowledge Base for more information.

  9. (Optional) Relate assets to the article.

  10. Set the article’s friendly URL. By default, the URL matches the title field, but you can change it manually.

    important

    After saving or publishing an article, you cannot change its friendly URL.

  11. (Optional) Configure the article’s permissions. By default, the View permission is assigned to the Guest role, meaning anyone can view the article.

  12. Click Publish to submit the article for publication or Save as Draft to work on it later.

    Note

    With the LPS-188058 release feature flag enabled, you can schedule articles for publishing at a specific date and time.

Once saved, the article appears in the Folders and Articles section. If you’ve enabled workflow for Knowledge Base, the article must go through the approval process before being published.

Importing Markdown Files

If desired, you can import Knowledge Base articles as Markdown files (.markdown, .md). To do this, you must ensure each Markdown file is properly formatted and packaged in a ZIP archive. Imported articles are automatically converted to HTML and appear in the Articles and Folders section (Folders and Articles). See Importing Knowledge Base Articles for detailed instructions.