KBPortalServiceImpl - Global
-
- UpdatedJan 30, 2025
- 2 minutes to read
- Yokohama
- Knowledge Management
The KBPortalServiceImpl
API is included with Knowledge Management V3
[com.snc.knowledge3] as a script include. It provides methods to use with knowledge, such as
integration with a custom search.
KBPortalServiceImpl - KBPortalServiceImpl()
Instantiates a KBPortalServiceImpl object in a global application.
Name | Type | Description |
---|---|---|
None |
KBPortalServiceImpl - getResultData(Object request)
Returns search results based on keywords from the knowledge article and from relevant knowledge block content that the user has access to read.
If you have activated the knowledge blocks feature and are using a custom search for
knowledge with your application, your search may not return relevant articles when keywords
are contained in the blocks. To return search results based on keywords from the article and
from relevant block content that the user has access to read, you must call the
getResultData()
method inside your custom search.
Name | Type | Description |
---|---|---|
request | Object | JSON object to refine the search. |
Type | Description |
---|---|
Object | Array of search results in JSON format based on keywords from the knowledge article and from relevant knowledge block content that the user has access to read. |