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.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156