Configuration of a Teams and Outlook Message Vertical

The Raytion Search Center for Microsoft Search supports showing Outlook and Teams Messages in a search result list. In contrast to the normal query APIs it even more can merge the two result lists in a round-robin fashion and also offers displaying filters for the result list.

The following explains how this can be configured.

Adding Messages to the Vertical WebPart

  1. Edit the page

  2. Edit the Raytion Search Center - Vertical webpart

  3. Configure the WebPart as follows

    1. Click on configure verticals

    2. Add a vertical called "Messages" with an icon "Message"

Filter Setup

  1. Edit the page

  2. Add a Raytion Search Center - Filters webpart to the left-hand side of the One third section

    1. Click on configuration and go to page 3/3. Make a note of the Web Part instance ID

    2. Configuration takes place after the next step

  3. Add a Raytion Search Center - Result List webpart to the right-hand side of the One third section

Configure the Messages Result List

  1. Change the WebPart configuration as follows

  2. Choose Microsoft Search as a data source

    1. Check the following two entity types to search: Messages and Chat Messages teams 1

    2. Enable "Single Request Federation" teams 2

    3. Click on Next

    4. Choose Rt-Cards as layout

    5. Enable "Show results count"

    6. Click on next

    7. Enable Use input query text

    8. Enable Dynamic value

    9. Connector source: Raytion Search Center - Searchbox

    10. Raytion Search Center - Searchbox' properties: Search query

    11. Enable Connect to a filters Web Part

    12. Choose the Web Part instance ID from the filter WebPart from above

    13. Enable Connect to a verticals Web Part

    14. Choose "Search Verticals Web Part - …​"

    15. Choose "Messages"

    16. Click on Next

    17. Make a note of the Web Part instance ID

Configure the Filter

  1. Open the filter configuration

  2. In Use data from these Web Parts, search for the WebPart Id from Step 1 q from the "Messages" result list configuration

  3. Click on Edit

  4. Add the following filters

    1. Position: 1, Display name: Entity Type, Filter field: (leave as is), Template: Entity Type Federated, Expand by default, Sorted by: name, Sort direction: Ascending,
      Mapped values: Click on the pen and add
      [ { "values": [ "message" ], "label": { "default": "Outlook", "de-DE": "Email" } }, { "values": [ "chatMessage" ], "label": { "default": "Teams", "de-DE": "Chat Nachricht" } } ]

    2. Position: 2, Display name: Sent, Filter field: (leave as is), Template: Last Modified Federated, Expand by default, Sorted by: name, Sort direction: Ascending

    3. Click on Save

  5. Click on next (page 2 of 3)

  6. In Layout, choose Rt-Filter

  7. Save the page

Now the search result list should look as follows teams 3