Config
Article Search needs to be configured with Content-Agent, ICP and Writer providers and endpoints.
go to Plugins > Article Search > settings > Configurations
add your own config inside the configEditor field.
Article Search also needs to be configured with requirements in Mappings section
go to Plugins > Article Search > settings > Mappings
select all the required actions by selecting from the dropdown for each required action.
Open Newsroom Planner Assignment (requires NRP 5.0 or later)
In order to open Assignments from article cards, you need to have the "Open assignments" action mapped in settings, and add the following config:
Advanced feature
example
In your config object you can add your Slug
OC-Property in propertiesToFetch
and map it in propertyMappings
as a slugline
results
Fetch article avatars
Sort order for SuggestSearch
In the configuration there is possibility to add a 'weight' on a suggest-property. The list is sorted descending, high -> low
specify with autoSearch to start searching when the plugin has been loaded
Specify which OC property to use for sorting.
Specify results per page
Specify default query that is set when no active suggestions are present
Specify filter query that is added onto the suggestions query and final search query
Specify published property in order to add published as an option in date search
Specify tooltip on mouse over a card
You can use any value that is defined in the propertyMapping as a mouse over. The property
key should point to the startpageField
of the propertyMapping object.
To get status values as tooltip, the recommended solution is to leave it empty. In other cases than this, you do need to specify a label.
OC Configuration
Article Search plugin requires that some properties are configured in OpenContent.
Note: There should also be a property with an updated
value. We are currently using the default OC property called updated
Properties
Sorting
Currently the Article Search uses the updated field to make sorting, so this MUST be present
Examples in images
Last updated