Respected Contributor.. Respected Contributor..
Respected Contributor..
175 views

(SM) Support Tip : How to add configure Change_Library in KnowledgeManagement

1. Go to the knowledgbases and enter the name of the new knowledgebase record (eg. Change_Library), the Display Name (eg. Changes), Type (sclib) and the Search Server Name. Click Add.
 add.png

2. On the Type Information tab, set the table name, query (for which changes should be indexed) and the unique key. The scripts will already be added as this is done when adding the new knowledgebase.

2.png
 3. In the Fields Definition tab, you need to set up the fields which the customer would like to be indexed.
Look at some of the other records to get a feel of what is needed here.
Remember the Hitlist column enables the field to be available to be used in the hitlist (Search Results) if set to true. The Doc Body column enables the field to be searched from a simple search (not an advanced search) if set to true.

3.png
 

4. Back on the Status tab, set the Refresh Interval as appropriate (eg. 2 means to index every 10 mins). Save.


5. Click Full Reindex.


6. Once the KMUpdate background process has run, and the kmknowledgebaseupdates table has flushed, changes will be indexed and can be used in Knowledge Management.

7. To display the change from the knowledge search results, you need to set up a new format to display it. I suggest copying "SD.view.interaction.km" and call it "CM.view.change.km" - and update this format with the appropriate fields from the change.

i.e . cmd line > fd > SD.view.interaction.km > more option > copy > CM.view.change.km > save > ok

Note: Design the form according to the requirement

8.  Then update the Process record called "kmquery.linkrequest" on the Initial Javascript tab to call the new format "CM.view.change.km".
i.e. db > process > kmquery.linkrequest > Initial Javascript tab >

add :

else if(vars.$L_linktable == "cm3r")
{
 //vars.$L_modetouse = "KMbrowse";  //see ess.determine.EdtFmt process record
 vars.$L_formattouse=" CM.view.change.km ";
}

4.png

  9. Go to Search Knowledgebase and search for changes:
 5.png

 

Labels (1)
0 Likes
0 Replies
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.