Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Case Deflection based on a Lookup field instead from an Input Text field

Posted on by

The oob feature of case deflection in D365 portals is based on an input text field. So when we input some text value, there are suggested topics that will appear below it.

Requirements:

Needs to have the same functionality but the results should be based on the selected lookup field value.

Scenario:

For instance I have a lookup field on the portal form called "fruits" with the options {"apple", "mango", "orange"}.

Expected result:

If I select "apple" from the "fruits" lookup field, there should be suggested topics that will show below the field related to the word "apple".

I did get the text value from the selected lookup field but when I set it to case-deflection-query="apple", nothing happens. I'm using the web template to manipulate the case deflection.

Upon checking the oob on the chrome dev tools > Network > Request Payload, there is a subject inside a parameters as:parameters: {subject: "sample_text"} then

query: "(+(@subject))".

I'm not sure how can I get into the subject to manipulate its value.

Thank you and really appreciate your help on this.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans