Newsroom Planner
6.0.0
6.0.0
  • What is Newsroom Planner?
  • User guide
    • Overview
    • Top menu
      • Template
    • Calendar view
      • Filtering
      • Cards in calendar columns
    • Search
    • Events
      • Create an event
      • Edit event
    • Planning
      • Create a planning
      • Edit a plan
    • Assignment
      • Create assignment
        • Text assignment
        • Photo assignment
          • Manage linked photos
        • Other types of assignments
      • Edit assignment
        • Article size
      • E-mail notification
    • Hotkeys
    • Action widget
    • Copying
  • My assignment
  • The list of my assignments
  • Text assignment
    • Edit article on assignment
    • Create new article on the assignment
    • Link an article to the assignment
    • Change article size
    • Make a copy of an article
    • Use linked photos in the article
    • Create article when there is no assignment created
  • Photo assignment
    • Upload photos
    • Link photos
    • Unlink photos
    • Manage linked photos
  • Set the assignment as done
  • Create new assignment
  • Opening plan/assignment
  • Copy a plan
  • Admin guide
    • Settings
      • Customization
        • Cards
        • Columns
        • Single view (My assignment)
        • Advanced concept settings
        • Loadable components
          • Event
          • Planning
          • Assignment
            • Type of assignment
          • Full package
          • Tags
      • Configuration
        • Types
        • Sortings
        • Filters
        • Property mappings
        • Properties to fetch
        • Queries & Suggestions
        • Providers
        • Map options
        • Writer
        • Email service
        • Debug
      • Templates
    • My assignment Workspace setting
    • Changelog
    • Requirements
    • E-mail notification
    • Integrate with Newsroom Planner
    • Develop with NRP
    • Migration
      • 5.x âž¡ 6.x
      • 5.0.x âž¡ 5.1.x
      • 4.x âž¡ 5.x
        • Cleanup
      • 3.x âž¡ 4.x
        • Templates
      • 2.x âž¡ 3.x
      • 1.x âž¡ 2.x
    • Concept relations
  • Developer guide
    • Link to plugin-development documentation
Powered by GitBook
On this page
  • Event
  • PlanningItem
  • Assignment
  • Article

Was this helpful?

  1. Admin guide
  2. Settings
  3. Configuration

Queries & Suggestions

Setup base queries for the different types as well as suggest fields to use

Event

Base query

The base query for Events

contenttype: Event

Event suggest fields + sort order

The fields to use when using suggest search

{
    "name": 0, //{1}
    "section": 0 //{1}
}
  1. Left part is a property mapping key to fetch while the following number is a rank weight in order to sort the results. Higher number equals higher sorting order

Event labels

{
    "_all": "Free text", //{1}
    "name": "Name", //{1}
    "section": "Section" //{1}
}
  1. A mapping from key to a Label, left part is the key specified in the fields config while the right part is the translated label to display in result

PlanningItem

Base query

The base query for Planning Items

contenttype: Planning

Planning Item suggest fields + sort order

The fields to use when using suggest search

{
    "urgency": 0, // {1}
    "headline": 0, // {1}
    "statusHRM": 0, // {1}
    "section": 0 // {1}
}
  1. Left part is a property mapping key to fetch while the following number is a rank weight in order to sort the results. Higher number equals higher sorting order

Planning Item labels

{
    "_all": "Free text", //{1}
    "urgency": "Prio", // {1}
    "headline": "Title", // {1}
    "statusHRM": "Status", // {1}
    "section": "Section" // {1}
}
  1. A mapping from key to a Label, left part is the key specified in the fields config while the right part is the translated label to display in result

Assignment

Base query

The base query for Assignments

contenttype: Assignment

Planning Item suggest fields + sort order

The fields to use when using suggest search

{
    "headline": 0, // {1}
    "type": 0, // {1}
    "statusHRM": 0, // {1}
    "assigneeName": 0 // {1}
}
  1. Left part is a property mapping key to fetch while the following number is a rank weight in order to sort the results. Higher number equals higher sorting order

Planning Item labels

{
    "_all": "Free text", //{1}
    "headline": "Headline", // {1}
    "type": "Assignment type", // {1}
    "statusHRM": "Status", // {1}
    "assigneeName": "Assignee" // {1}
}
  1. A mapping from key to a Label, left part is the key specified in the fields config while the right part is the translated label to display in result

Article

Base query

The base query for Article

contenttype: Article

Article Item suggest fields + sort order

The fields to use when using suggest search

{
    "authors": 0, // {1}
    "channels": 0 // {1}
}
  1. Left part is a property mapping key to fetch while the following number is a rank weight in order to sort the results. Higher number equals higher sorting order

Article labels

{
    "_all": "Free text", //{1}
    "authors": "Authors", //{1}
    "channels": "Channels" // {1}
}
  1. A mapping from key to a Label, left part is the key specified in the fields config while the right part is the translated label to display in result

Article date options

{
    "label": "Publish date",
    "value": "publishedDate"
}

Used to allow date search in linked articles modal. Value pointing to the model key in Article mapping.

PreviousProperties to fetchNextProviders

Last updated 3 years ago

Was this helpful?