exam questions

Exam MB-230 All Questions

View all questions & answers for the MB-230 exam

Exam MB-230 topic 7 question 6 discussion

Actual exam question from Microsoft's MB-230
Question #: 6
Topic #: 7
[All MB-230 Questions]

A company enables custom context variables on a chat widget.

Users report that the context variables are not being populated on new chats.

You need to troubleshoot the issue by querying the event listeners.

Which listener is required to be running?

  • A. setContextProvider
  • B. startProactiveChat
  • C. startChat
  • D. getContextProvider
  • E. initializeNewConversation
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
mattiaeject
Highly Voted 7 months, 2 weeks ago
Nope. You can set bot convext variables value using setContextProvider. https://learn.microsoft.com/en-us/dynamics365/customer-service/developer/reference/methods/setcontextprovider
upvoted 5 times
Nyanne
4 weeks, 1 day ago
ChatGPT agrees with you. The answer is A. setContextProvider. Explanation: When custom context variables are enabled, they need to be populated by a listener that actively sets them into the chat context. According to the online documentation, the mechanism to supply these variables is handled by the event listener that calls the setContextProvider. If this listener isn’t running, then the context variables won’t be set when new chats are initiated, which matches the reported issue. In contrast, methods like getContextProvider are used to retrieve the variables once they’re set, rather than populating them.
upvoted 1 times
...
...
Candy2002
Most Recent 10 months, 3 weeks ago
Selected Answer: D
Sounds logical to me
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago