View this page in the latest version of Appian. Set Up Knowledge Base Module Share Share via LinkedIn Reddit Email Copy Link Print On This Page Introduction After installing the Knowledge Base module, you need to incorporate it with Case Management Studio. This page walks you through the recommended incorporation steps. This guide provides the minimum incorporation steps required to utilize the full functionality of the Knowledge Base module, including: Add the Knowledge Base custom configuration in Control Panel. Configure the Add Resource action in CMGT_CFG_CaseType record. Add the Related Resources tab to Case Summary. Extending the resource type (Optional). Implementers are free to customize the security, display names, and other aspects of the application to best suit their needs. Before performing these incorporation steps, ensure that your system meets the required prerequisites System Prerequisites This section details the prerequisites your system must meet to incorporate the Knowledge Base module. Appian platform running version 25.3 or greater. A supported version of MariaDB as a business data source. Note: Instructions below are for MariaDB databases. For use with other databases, the SQL script must be modified to fit syntax requirements. A supported web browser. Imported Case Management Studio Base application version 2.0 or higher, which includes the following application containers: CMGT Case Management Studio Base (CMGT) CMGT Control Panel Generated Objects (CMGT) CMGT Add-On - Knowledge Base Module Step 1: Add the Knowledge Base custom configuration in Control Panel To make the Knowledge Base module accessible to users, it must be integrated into the Case Management Control Panel. These steps walk you through adding a custom configuration, which registers the Knowledge Base as a new, navigable section within the Control Panel. This ensures your users can easily find and manage knowledge base resources across all case types from a central location. Login to the target environment, then navigate to Appian Designer. Navigate to CMGT Case Management Studio Base application. Search for and open CMGT_ControlPanel. Select Custom Configurations. Click ADD CUSTOM CONFIGURATION and complete the following fields: Display name: Knowledge Base (translation set) Icon: book Web Address Identifier: knowledge-base Cases Location: Select Across all Case Categories and Case Types Interface: CMGT_KB_ControlPanel_KnowledgeBas Rule Input: selectedCaseTypeUuid Click SUBMIT. Step 2: Configure the Add Resource action in CMGT_CFG_CaseType record This section provides steps for adding an Add Resource action to the Case Type record, allowing you to create a seamless workflow for capturing valuable information as it emerges. This ensures that the Knowledge Base remains a dynamic and growing asset, continuously enriched with real-world insights from active cases. To configure the Add Resource action: From the CMGT Case Management Studio Base application, search for and open the CMGT_CFG_CaseType record type. Go to Actions and click CONFIGURE NEW ACTION MANUALLY to complete the following: Display name: Use expression Add Resource (translation set) Key: addResource Icon: plus Dialog Height: Full Dialog Width: Wide Process Model: Select CMGT_KB_Resource_AddUpdate Context: pass rv!identifier to selectedCaseTypeUuid. Click DONE. Navigate back to Appian Designer. Navigate to the CMGT Add-On - Knowledge Base Module application. Search for and open the CMGT_KB_ControlPanel_KnowledgeBase interface. In Expression mode, locate the following comment: /*Add resource record action*/. Add the following code snippet after the comment. 1 2 3 4 5 /*Add resource record action*/ a!recordActionItem( action: 'recordType!{82aa3b28-94c2-4d3c-a403-bb813bd76155}CMGT_CFG_CaseType.actions.{a12be3e7-b8fe-4642-acd5-04d64d22502c}addResource', identifier: ri!selectedCaseTypeUuid ), Click SAVE. Search for and open the CMGT_KB_ResourcesCardDisplayWrapper interface. Repeat Steps 5a-6. Step 3: Add the Related Resources tab to Case Summary To maximize the utility of the Knowledge Base, its resources must be readily accessible to users where they work—within the case summary. This section details how to add a Related Resources tab to the Case Summary view. This configuration allows case workers to quickly reference relevant articles, best practices, and other resources without navigating away from the case, promoting efficiency and informed decision-making. To add the Related Resources tab: Navigate back to the CMGT Case Management Studio Base application. 1 . Search for and open the CMGT_Case_RelatedContent interface and switch to Expression mode. In local!tabs, add a!map() as shown: 1 2 3 4 5 6 7 8 9 a!map( name: 'translation!{14c1c83b-aaa2-409a-90bc-9183790b91e5}CMGT_KB_Translations.{a98a659f-7d68-4139-9d93-6de366e7c867}Resources', tabCount: rule!CMGT_KB_QR_GetResourceDetailsForCaseSummary( triggerRefresh: ri!triggerRefresh, case: ri!case, returnType: "TOTAL_COUNT" ), showTabCount: true() ) In the a!match() statement in the a!cardLayout, include CMGT_KB_RelatedResourcesSummary, and pass in the necessary parameters 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 a!match( value: local!activeTab, equals: 1, then: rule!CMGT_Case_RelatedCaseSummary( brandingMap: ri!brandingMap, allRelatedCaseMap: local!allRelatedCaseMap ), equals: 2, then: rule!CMGT_Case_RelatedEntitiesSummary( brandingMap: ri!brandingMap, relatedEntities: local!relatedEntities ), equals: 3, then: rule!CMGT_KB_RelatedResourcesSummary( brandingMap: ri!brandingMap, triggerRefresh: ri!triggerRefresh, case: ri!case ), default: {} ) If you already added custom related content, then add logic to display the resource in the existing a!match() logic. Step 4: Extending the Resource Type (Optional) To support organization-specific needs, you can extend the Knowledge Base module by configuring custom resource types for external content management systems (e.g., SharePoint), external links or multimedia content. This is an optional customization you can perform for the Knowledge Base module to enable the association of related content to specific case types. This provides case workers with access to reference materials, aiding them in their work on those cases. To effectively extend the module with new resource types, you must first understand the fundamental components required for each type. This will ensure a seamless integration, proper indexing, and appropriate display within the Control Panel and Case Management Studio. By default, the Knowledge Base module supports two resource types: Document: Files uploaded to the system (PDF, JPEG and PNG). Text: Plain text or rich text content. Resource Type definitions This section provides guidelines for extending and configuring new resource types through the Control Panel. Performing these steps will enable you to successfully incorporate a variety of information resources into the Knowledge Base, enhancing its utility and breadth and supporting your business and team needs. To customize a new resource type, define each of the following: Identifier: Unique key for the resource type. Metadata Schema: Information needed for indexing and retrieval. Integration Logic (If needed): Connector or API logic for fetching/displaying the resource. UI Representation: Controls how the resource will appear in the Control panel and Workspace. Database changes This section outlines the necessary database changes required to configure a new resource type in the Knowledge Base module. These modifications are crucial for correctly identifying documents as a specific resource type, storing their metadata, and establishing the appropriate relationships within the Knowledge Base. As we walk you through the steps, we'll use Sharepoint as an example of an external content management system you can configure a custom resources type for. You'll perform these same configuration steps to create a custom resource type for other external content management systems. Create a SharePoint resource type Follow the steps in this section to create a SharePoint resource type. To modify the Identifier: Navigate to your database and add a new entry in the CMGT_KB_CFG_RESOURCE_TYPE table to associate a SharePoint document. In the Add Resource dialog, complete the following fields: RESOURCE_TYPE_ID: 3 LABEL: Share Point Document ICON: link Run the following script in the database: 1 2 3 4 INSERT INTO `CMGT_KB_CFG_RESOURCE_TYPE` (`RESOURCE_TYPE_ID`, `LABEL`, `ICON`, `CREATED_BY`, `CREATED_ON`, `MODIFIED_BY`, `MODIFIED_ON`, `IS_ACTIVE`) VALUES (3, 'SharePoint Document', 'link', NULL, NULL, NULL, NULL, b'1'); Navigate to Appian Designer, then the CMGT Add-On - Knowledge Base Module application. Search for and open the CMGT_KB_CFG_ResourceType record type, then select the Sync Options tab. Click START FULL SYNC. To modify the Metadata Schema: In your database, create a new CMGT_KB_SHARE_POINT_DOCUMENT table with the following fields: Refer-CMGT_KB_RESOURCE_TEXT DOCUMENT_ID TITLE SITE_URL OWNER Run the following script in the database: sail CREATE TABLE `CMGT_KB_SHARE_POINT_DOCUMENT` ( `DOCUMENT_ID` INT(11) NOT NULL PRIMARY KEY AUTO_INCREMENT, `TITLE` VARCHAR(255) NULL DEFAULT NULL, `SITE_URL` VARCHAR(4000) NULL DEFAULT NULL, `OWNER` VARCHAR(255) NULL DEFAULT NULL, `RESOURCE_ID` INT(11) NULL DEFAULT NULL UNIQUE ) AUTO_INCREMENT=1; sail Create a new CMGT_KB_SharePointDocument record type Follow the steps in this section to create a new record type for the SharePoint Document resource type. To create a new record type: From Appian Designer, navigate to the CMGT Add-On - Knowledge Base Module application. From the ALL OBJECTS view, click NEW > Record Type. In the Create Record Type dialog, complete the following fields: Name: CMGT_KB_SharePointDocument Display Name (Plural): _SharePointDocuments Description: Synced record for SharePoint documents Click CREATE. Open the new CMGT_KB_SharePointDocument record type and select CMGT_KB_SHARE_POINT_DOCUMENT for the Data Source - DB Table. Click SAVE. Add a new relationship in CMGT_KB_Resource Next, you need to add a new sharePointDocument relationship to the CMGT_KB_Resource record. To add a new relationship: Navigate back to the CMGT Add-On - Knowledge Base Module application. Search for and open the CMGT_KB_Resource record and update the following fields: Record: CMGT_KB_SharePointDocument Relationship Type: One to One Field: resourceId Integration logic This section outlines the necessary integration logic required to connect the Knowledge Base module with SharePoint. By establishing this connection, the system can retrieve valuable document metadata and preview links directly from SharePoint, and store these references in the CMGT_KB_SHARE_POINT_DOCUMENT database for easy access and management. Complete these steps if applicable. Use a connected system integration to connect with SharePoint. Fetch the document metadata and preview links. Store the reference in the CMGT_KB_SHARE_POINT_DOCUMENT database. Object changes This section outlines the necessary object changes required to customize the Knowledge Base Module. These modifications ensure that new resource types, such as SharePoint documents, can be effectively added, displayed, and managed within the system, enhancing its overall flexibility and utility for diverse knowledge resources. Navigate back to the CMGT Add-On - Knowledge Base Module application. Search for and open the CMGT_KB_Resource_RecordAction_AddUpdate interface. In the local!resourceTypeMap, add the new resource type. Define the input fields for the new resource type and call them in this input form. Click SAVE. Search for and open the CMGT_KB_DisplayResource interface. In a!match() for the respective resource type, add a readonly display logic for the fields to be displayed. Note: You can add an Open in SharePoint link or add logic to view the document. Click SAVE. Search for and open the CMGT_KB_SingleResourceDisplay interface. Add logic to display the new SharePoint document resource type as shown: Click SAVE. From the ALL OBJECTS view, click NEW > Expression Rule. In the Create Expression Rule dialog, complete the following fields: Name: CMGT_KB_Resource_Summary_SharePointDocument. Description: Save As: CMGT_KB Rules & Constants Click SAVE. Open the CMGT_KB_Resource_Summary_SharePointDocument rule object and add an Open in SharePoint link or add logic to view the document to the rule. In the CMGT_KB_Resource_Summary_Wrapper rule call the CMGT_KB_Resource_Summary_Document interface as shown: Click SAVE. Search for and open the CMGT_KB_RelatedResourcesSummary interface. Add logic to display the relevant icon. Click SAVE. Next step Now that you have set up the Knowledge Base module, you can start creating and publishing knowledge resources your teams need to reduce the case resolution time and improve consistency across your organization. Feedback Was this page helpful? SHARE FEEDBACK Loading...