Skip to Content
Technical Articles

Build a Chat Bot Interface Custom Widget in SAP Analytics Cloud

In this tutorial, we’ll learn how we can create a simple chatbot dialog in SAC Analytic app with a custom widget.

Chatbot Custom Control

I implemented the chatbot custom control with SAPUI5 components based on this blog.

What I need to do is to create an XML view with controller MyController and custom control fd.ui.Headline  and implement that code in the custom widget WebComponent.

XMLView: myXmlView

Custom Control: fd.ui.Headline

Controller: MyController

In this controller, I performed the Ajax request to SAP Conversational AI endpoint. You can create that endpoint by following my blog here.

And finally create an SAC Analytic App, insert that custom widget and you are ready to go.

Demo Video

References

Be the first to leave a comment
You must be Logged on to comment or reply to a post.