Table of Contents

Context Mapping

Context Mapping allows you to associate user chat context items with specific values or dynamic expressions, e.g. like filtering on departments. This feature ensures that messages in the User Chat component is relevant according to filters or parameters, making interactions more meaningful and context-aware. You can map context items to fixed values or link them to dynamic filters that adapt to the current page content.

If no context items are mapped, all messages for the component will be shown without filtering.

img

Example img
The above example shows an example where the context items FilterByCompany is given the fixed value: "Profitbase" and FilterByDepartment is referencing a filter "Departments". These context items may be mapped to filters and fixed values to adapt dynamically to the page content. Examples:

Filter("Filters", "Company").SelectedValue.Id
Filter("Filters", "Department").SelectedValue.Id