Module: alfresco/renderers/_SearchResultLinkMixin

alfresco/renderers/_SearchResultLinkMixin

The _SearchResultLinkMixin should be mixed into all modules that require Search Result Link behaviour.

Author:
  • Richard Smith
License:
Source:

Members

The navigation target for links. By default this will result in links being opened in the current window/tab but this can be configured to be "NEW" so that links are opened in a new window/tab. The available options are "CURRENT" and ["NEW"]{@link module:alfresco/services/_NavigationServiceTopicMixin#newTarget}.
Type:
  • string
Since:
  • 1.0.39
Default Value:
  • "CURRENT"
Source:
The URL type used for links. By default this is PAGE_RELATIVE as all the links are expected to be relative to the application page context.
Type:
  • string
Since:
  • 1.0.39
Default Value:
Source:

Methods

generateSearchLinkPayload() → {object}

This function generates a payload for the NavigationService that varies depending upon the type of search result (e.g. a document or folder, in a site or in the repository, etc) which can also be used to extrapolate an HTML anchor for _HtmlAnchorMixin.
Source:
Returns:
The generated payload
Type
object