検索結果はインスタンス内で集計されますが、ユーザーはソースシステムで利用可能な機能 (Microsoft SharePoint での編集など) を利用することもできます。ホストシステムでナレッジ検索の結果を開くには、ソース システムで直接検索結果から記事を開くための外部ソース システムへの URL を設定します。
始める前に
外部ナレッジ ソースの [元のソース システムで検索結果を開く] インポート パラメーターが true に設定されていることを確認します。たとえば、Microsoft SharePoint にナレッジ記事としてファイルがある場合は、この手順に従うことができます。
必要なロール:管理者
手順
-
移動先 .
-
[KBWebDAVContentHandler] を開きます。
-
[スクリプト] ウィンドウで、次に示すスクリプトを使用して getFileURL 関数を上書きします。
getFileURL 関数を次に示します。
//fileObj.getName() - Returns name of the file
//fileObj.getPath() - Returns path to the file from root folder
//fileObj.getAbsolutePath() - Returns Absolute WebDAV URL of the file
//fileObj.getCreationDate() - Returns creation date of the file as GlideDateTime object
//fileObj.getModifiedDate() - Returns last modified date of the file as GlideDateTime object
//fileObj.getContentType() - Returns content type of the file as GlideDateTime object
//fileObj.getSize() - Returns size of the file
getFileURL: function(fileObj) {
//write your logic here
},
-
[更新] をクリックします。