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.
Authoring Articles in the Editor
-
Open the Site Menu () and go to Content and Data → Knowledge Base.
-
In the Folders and Articles section (), click Add () and select Basic Article.
If you created an article template, you can select it instead.
-
Enter an article title.
-
Enter content for the article. To view or edit the article’s HTML source, click the Source button () in the editor.
-
(Optional) Add attachments to the article.
-
(Optional) Select a display page template for the article. This configuration overrides the default display page template for Knowledge Base articles.
-
(Optional) Add tags or categories to the article to improve visibility and organization.
-
(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.
-
(Optional) Relate assets to the article.
-
Set the article’s friendly URL. By default, the URL matches the title field, but you can change it manually.
importantAfter saving or publishing an article, you cannot change its friendly URL.
-
(Optional) Configure the article’s permissions. By default, the View permission is assigned to the Guest role, meaning anyone can view the article.
-
Click Publish to submit the article for publication or Save as Draft to work on it later.
NoteWith 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 (). See Importing Knowledge Base Articles for detailed instructions.