Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
Hide message in the new web SDK — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Hide message in the new web SDK

Received Response
22
Views
6
Comments
edited Jan 18, 2020 3:28PM in Digital Assistant and Mobile 6 comments

Summary

beforeDisplay is not working in case of Bots.sendMessage

Content

Hi,

I'm using the new web SDK to replace Smooch Plugin, I noticed that delegate beforeDisplay is not implemented to work in case of Bots.sendMessage.

So in case i want to hide a specific message sent by the user what should i do ?

Note : For the initiation message >> initUserHiddenMessage: "Hello", the current implementation sends this meesage everytime the user refresh the plugin web page, so in case the user keeps the history from localstorage and wants to refresh the page and continue on his previous messages , the flow will be corrupted since initUserHiddenMessage: "Hello" will be sent again.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!