AttachedResultsActions
AttachedResultsActions
|
|
Note
This component was introduced in version |
See Dispatch Actions.
Loader Function
loadAttachedResultsActions
Loads the attachedResults reducer and returns possible action creators.
Parameters
-
engine:
InsightEngineThe headless engine.
Returns AttachedResultsActionCreators
AttachedResultsActionCreators
setAttachedResults
Creates an action that sets the attached results to a record.
Parameters
-
payload:
SetAttachedResultsActionCreatorPayloadThe action creator payload.
Returns PayloadAction<SetAttachedResultsActionCreatorPayload>: A dispatchable action.
Related types
AttachedResult
Properties
-
caseId:
stringThe Id of the record (Case) the result is attached to.
-
resultUrl:
stringThe url of the attached result.
-
title:
stringThe title of the attached result.
-
articleLanguage?:
stringSpecifies the language of an attached Salesforce Knowledge Article.
-
articlePublishStatus?:
stringSpecifies the publish status of an attached Salesforce Knowledge Article.
-
articleVersionNumber?:
stringSpecifies the version number of an attached Salesforce Knowledge Article.
-
knowledgeArticleId?:
stringThe Id of an attached Salesforce Knowledge Article.
-
permanentId?:
stringThe permanentId, the identifier of an attached result.
-
source?:
stringThe source name where the attached result comes from.
-
uriHash?:
stringThe uriHash of the attached result.
SetAttachedResultsActionCreatorPayload
Properties
-
results:
AttachedResult[]The array of all attached results.
-
loading?:
booleanIs the data for Attached Results currently loading.