Adding A Calendar Component To Your Oracle Digital Assistant Chatbot Using The Oracle Web SDK by Anshuman Panda

image

This article explains how you can display a calendar widget for an input text prompt using the Oracle Web SDK. The solution uses a resource bundle entry to return HTML markup for the calendar. The Oracle Web SDK JavaScript API is used to send the selected date information back to the skill to update the underlying variable. The message sent after selecting a date is passed as a postback message that contains the name and value for a variable to update as well as the action to transition to.

Disclaimer: The goal of this article is to showcase the use of HTML widgets in the content of a bot response. If you put this code into production, make sure you implement support for channels other than Web (if e.g. your bot should also run on other channels) as well as to handle when users type a message instead of using the displayed calendar widget. Read the complete article here.

Developer Partner Community

For regular information become a member in the Developer Partner Community please register here.

clip_image003 Blog clip_image005 Twitter clip_image004 LinkedIn image[7][2][2][2] Facebook image Meetups

Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic, WebLogic

Advertisement

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 )

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.