0

I have deployed a SAP CAI chatbot on Fiori Launchpad by creating a plugin in SAP WEB IDE. Now, whenever user type Hi, the bot should respond with

"Hello, <current logged-in username>!"

. I can get the user information on the console of Fiori Launchpad by this command sap.ushell.Container.getService("UserInfo") and used the SAP AI webclient for integrating it on Fiori Launchpad. Does anyone know how to pass the data to bot or some other way to get logged in user detail in the chatbot?

4

0 回答 0