Digital Assistant and Mobile

Get Involved. Join the Conversation.

Posts

  • Zahra Alkaf
    15-minute limit for session expiry6
    Topic posted October 29, 2019 by Zahra AlkafGreen Ribbon: 100+ Points 
    Title:
    15-minute limit for session expiry
    Content:

    Experts,

    I see in this document that there is 15-minute limit for the conversations between the chatbot and the agent in rightnow. After 15 minutes of idle time, the conversation expires automatically. Can this limit be increased? How?

    Thank you,

    Zahra

  • Bala T
    401 Unauthorised error While calling MCS API in Ionic 395.0
    Topic posted July 20, 2017 by Bala TRed Ribbon: 250+ Points 
    Title:
    401 Unauthorised error While calling MCS API in Ionic 3
    Summary:
    401 Unauthorised error While calling MCS API in Ionic 3
    Content:

    Hi,

    I have developed an application for connecting cordova mcs client sdk in Ionic 3 but unfortunately I got unauthorised 401 error

    I have followed the steps given  below to call mcs API

    declare var mcs:any;

    var backend;

    var mcs_config = {

      "logLevel": mcs.LOG_LEVEL,

      "logHTTP": true,

      "mobileBackends": {

       "CUST_FW_SCREEN_MB1.0": {

       "default": true,

       "baseUrl": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",

       "applicationKey": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",

       "analytics": {

       "location": true

      },

       "authorization": {

       "basicAuth": {

       "backendId": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",

       "anonymousToken": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"

      }

      }

      }

      }

    }

    then I have intialised mcs like this

    constructor(public http: Http) {

       console.log('Hello SampleProvider Provider');

      }

    initializeMCS(){

       mcs.mobileBackendManager.platform = new mcs.CordovaPlatform();

       mcs.mobileBackendManager.setConfig(mcs_config);

       backend = mcs.mobileBackendManager.getMobileBackend("CUST_FW_SCREEN_MB1.0");

       console.log("Initialize mcs");

       if(backend != null){

      

       backend.setAuthenticationType("basicAuth");

      }

      }

    So then I called this function by passing user name and password

       login(username, password){

       this.initializeMCS();

      return backend.authorization.authenticate(username, password).then((data)=>{

       console.log(data);

      }).catch((error)=>{

       console.log("error");

      });

    I have passed the username and password to connect with the MCS

    logIn(){

       this.sample.login("XXXXXXXXXXXX", "XXXXXXXXX");

    }

    But I am getting unauthorised error 401

    Can you suggest any methods to resolve the issue

    Thank You

  • Saif Abulkhair
    401- Custom Message in MCS15.0
    Topic posted August 29, 2017 by Saif AbulkhairRed Ribbon: 250+ Points 
    Title:
    401- Custom Message in MCS
    Summary:
    401- Custom Message in MCS
    Content:

    Hi,

    In my custom API i am returning status 401 with a custom message, however, when we test the api we get only 401 unauthorized status code and not the custom message. How can we achieve this?

    In the code, if the authenticateToken is 401, I am not able to return my custom message.

    ut . h

    enticateToken.statusCode

    
    

    var result = {

            statusCode:authenticateToken.statusCode,

            success:false,

            message:authenticateToken.message

          };

          console.log("Response Object:"+ JSON.stringify(result,undefined,2));

          res.status(authenticateToken.statusCode).send(result);

    Regards

  • Deepikajain
    Access ICS integration in MCS15.0
    Topic posted August 21, 2017 by Deepikajain Red Ribbon: 250+ Points 
    Title:
    Access ICS integration in MCS
    Summary:
    Access ICS integration in MCS
    Content:

    Hi

    I have developed an integration of type 'Map my data' in ICS. I now want to invoke this integration from MCS.

    In MCS, I have created an ICS connector to my ICS service instance. But the integration listed in MCS does not show the newly created ICS integration(the list shown below).

    Is there any specific step which I need to do, in order to publish my integration, so that it can be accessed in MCS?

    pastedImage_0.png

    Thanks

    DJ

  • Ameur Baccoucha
    Access the different values of a ENTITY list in the...15.0
    Topic posted April 23, 2018 by Ameur BaccouchaGold Medal: 3,500+ Points 
    Title:
    Access the different values of a ENTITY list in the dialogflow.
    Summary:
    Access the different values of a ENTITY list in the dialogflow.
    Content:

    i have create a "Entity list" named as 'VisaInfo' contains a "yes_no" and "date" and a nother entity that i called 'VisaType'.
    in the dialogflow i wanna set/access the diffrente values of a variable ' visa : "VisaInfo" ' ...
    how can i do it ?

  • Srinivasamouli
    Access to MCS and MAF25.0
    Topic posted June 26, 2017 by Srinivasamouli  
    Title:
    Access to MCS and MAF
    Summary:
    Access to MCS and MAF
    Content:

    Hi All,

    I would like to know the access that I need to have to explore and learn MCS and MAF.

    Can you please provide pointers to the basic access that is needed and configurations that are needed on my machine.

    Let me know if I need to purchase Oracle Mobile cloud subscription for this purpose.

    Appreciate your inputs to get started.

    Thanks,

    Mouli

  • Sandhya Lonial
    Access to Oracle Intelligent Bots Service for Oracle...15.0
    Topic posted November 14, 2017 by Sandhya Lonial 
    Title:
    Access to Oracle Intelligent Bots Service for Oracle Developers
    Summary:
    Access to Oracle Intelligent Bots Service for Oracle Developers
    Content:

    We are part of Oracle Retail group and are interested in integrating chatbots in our application. Our first steps is to create a prototype using Oracle APEX and will later integrate them with Oracle ADF applications.

    Can someone guide us on how to get provision via OIM to subscribe to Oracle Intelligent Bots Service to access chatbots application. Since we are part of Oracle the below doesn't hold for us.

    To use the Oracle Cloud Enterprise Suite cloud service you will need an Oracle Cloud account and a subscription for the service. Alternatively, you can sign up for a trial account and get some credit towards trying out the various cloud services. Be forewarned that the free credit will run out very quickly for this cloud service.”

  • Mohammed Alyahya
    Accessing addProperties variables in Flows - Android sdk35.0
    Topic posted July 12, 2018 by Mohammed Alyahya, tagged Android, Bots 
    Title:
    Accessing addProperties variables in Flows - Android sdk
    Summary:
    How to retrieve properties in the Flows chat bot console added through the android sdk
    Content:

    Hi,

    I embedded the Oracle chat bot using the sdk (bots-client-sdk-android-18.1.1.0) into one of our apps.

    The sdk is working fine, but I facing an issue with accessing the user properties set through the android sdk. I don't seem to be able to retrieve the property in the chat bot flow console. Can someone help me with how to do that.

    ----------------------------------------------------

    a little more details:

    I am setting the user's first name, last name and then adding two different string variables (someVariable1, someVariable2) to the user through the User.getCurrentUser().addProperties(); method in the sdk.

    Now I am able to retrieve the updated first and last name of user in the Flows page of my chat bot. However, I haven't been successful in retrieving the two properties at all. 

    I tried accessing them like a user scoped variables through "${user.someVariable1.value}" and a few other options but to no use

     

    I would appreciate the help in accessing those added properties.

    Regards,
    Mohammed Alyahya

  • ching siang neo
    Accessing and updating myProfile from backend API2
    Topic posted October 2, 2018 by ching siang neo, tagged OMCE 
    Title:
    Accessing and updating myProfile from backend API
    Summary:
    Accessing myProfile from backend API
    Content:

    Using req.oracleMobile.ums.getMe in the Oracle Mobile Cloud to get the login user profile from IDCS. But it is not retrieving the other attributes (e.g organization, cost center) from schema urn:ietf:params:scim:schemas:extension:enterprise:2.0:User or urn:ietf:params:scim:schemas:idcs:extension:custom:User.

    req.oracleMobile.ums.updateUser also don't allow updates to the enterprise and custom attributes.

    Kindly advise what the other options to retrieve and update these attributes within the Oracle Mobile Cloud Backend.

    Version:
    Oracle Mobile Cloud Enterprise 18.2.3
  • Satshah
    Accessing the Reports in ERP cloud with dynamic...1
    Topic posted February 28, 2019 by Satshah Blue Ribbon: 750+ Points, tagged Alexa, API, Bots, Conversational AI, Messaging, Mobile, OMCE, Slack, Virtual Assistant 
    Title:
    Accessing the Reports in ERP cloud with dynamic authentication
    Summary:
    Accessing the Reports in ERP cloud with dynamic authentication
    Content:

    Hi,

    We are using Digital Assistant to access "https://<host>/xmlpserver/services/PublicReportService?wsdl" WSDL and runReport operation from it. But case here is, we are passing authentication ( userid and password ) ina static manner. So every time the userid and password refreshes our Digital Assistant stops working untill we change that static authentication details,

    Can we do this approach dynamically?

    So that we do not have to enter authentication details evert time and Digital Assistant works flawlessly.

     

    Thanks,

    Satya