My First PCF control

This PCF control embedded on the Dynamics 365 form (Typically Case form) aids the agent to query their Frequently Asked Questions database in a natural language leveraging QnAMaker.

In the index.ts, I am making a call to QnAMaker’s API in order to pass the question as parameter and retrieve the answer. That’s all. It is as simple as it sounds. You need to make the appropriate changes as indicated below to get it to work.

For your reference, here is the QnAMaker api details on QnAMaker portal.

Once done, follow the steps documented in this article to package as Dynamics 365 solution and import.

This PCF control can be bound to any multiple line text field.

Here is a quick demo:

And, here is the source code.

Hope you find this useful!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s