Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Information from ADVANCED CONFIGURATION on Private Genesys Cloud Embeddable Framework (Embeddable Client)

    Posted 01-29-2024 13:13
    Edited by Cameron Tomlin 07-09-2024 13:56
    No replies, thread closed.

    Hi.
    We developed one apps in this section  and we create a new integration "Private Genesys Cloud Embeddable Framework".

    We create this new integration, configured the name and include the file framework.js for our case.
    In other site we use an i-frame using Genesys Cluoud and it is work!

    I create this ticket for have information on Advanced Configuration because I would like to pass more configurations for can use in file framework.js for have many applications and using only file framework.js .

    This is my example about Advanced Configuration where I would use. 

    I found the documentation and it is not described how to import these configurations into your configuration.

    There are only two row of texts:

    It is possible having one example for get the variable "foo" in file framework.js ???


    We can use this file, shared in FRAMEWORK.JS_ON_GITHUB,   as an example.
    First I tried using the browser's "INSPECT" tool, I put the breakpoint in line 3 and I noticed that the "foo" variable is not passed.

    This variable foo where it should be passed inside the script, it is possible for invoke it? HOW?


    #Architecture and Design
    #ConversationalAI(Bots,AgentAssist,etc.)
    #DigitalChannels
    #Implementation
    #API/Integrations
    #Platform Administration

    ------------------------------
    Mirko Cianfarani
    Indra Italia spa
    ------------------------------



  • 2.  RE: Information from ADVANCED CONFIGURATION on Private Genesys Cloud Embeddable Framework (Embeddable Client)

    Posted 01-30-2024 08:36
    No replies, thread closed.

    If you are trying to pass data in the variables to your CRM or application hosting the embeddable framework integration, you will need to modify the framework.js file to include the variables in the "customInteractionAttributes" part of the file. In the file you referenced above, the ones defined are below:

            customInteractionAttributes: ['PT_URLPop', 'PT_SearchValue', 'PT_TransferContext'],

    Those variables are set using Set Participant Data in the architect flow. 



    ------------------------------
    Charles Skowron
    ------------------------------



  • 3.  RE: Information from ADVANCED CONFIGURATION on Private Genesys Cloud Embeddable Framework (Embeddable Client)

    Posted 01-30-2024 09:18
    Edited by Cameron Tomlin 07-09-2024 13:56
    No replies, thread closed.

    Hi Charles.
    Then these variables should arrive during the receiving event of a call or interaction.
    Those I can read inside the function window.addEventListener("message", function(event) { 


    I would like to configure some properties before the phone events.
    I need it to configure some value inside the script.

    Then the code source in the panel "Advanced configuration" where I can use? It is a JSON?



    ------------------------------
    Mirko Cianfarani
    Indra Italia spa
    ------------------------------



  • 4.  RE: Information from ADVANCED CONFIGURATION on Private Genesys Cloud Embeddable Framework (Embeddable Client)
    Best Answer

    Posted 01-30-2024 13:53
    No replies, thread closed.

    Hi Mirko,

    I'm afraid that at this time the Advanced Configuration is not utilized by the Embeddable Framework integration and isn't passed to the framework.js.  You will need to store initialization configuration in another place and load that when your integration loads to initialize your application.  However, I think using the Advanced Configuration for initialization is a good idea and you should open an Idea on the Genesys Cloud Ideas Portal for that: https://genesyscloud.ideas.aha.io/ideas

    Thanks.



    ------------------------------
    Jim Crespino
    Senior Director, Developer Evangelism
    Genesys
    https://developer.genesys.com
    ------------------------------



  • 5.  RE: Information from ADVANCED CONFIGURATION on Private Genesys Cloud Embeddable Framework (Embeddable Client)

    Posted 02-01-2024 04:51
    No replies, thread closed.

    Hi Jim.
    Thank for your response and actually it is correct "You will need to store initialization configuration in another place and load that when your integration loads to initialize your application".
    I will do this procedure for my integration.

    I'm just left to figure out who uses these "advanced configurations" and how they are used.
    It is not clear in the documentation how and when it is used. 



    ------------------------------
    Mirko Cianfarani
    Indra Italia spa
    ------------------------------



  • 6.  RE: Information from ADVANCED CONFIGURATION on Private Genesys Cloud Embeddable Framework (Embeddable Client)

    Posted 02-01-2024 09:37
    No replies, thread closed.

    Hi Mirko,

    The "Advanced Configuration" tab in the definition of an integration is only used by certain integration types.  For instance, custom Client Applications define some advanced options that can be specified in the "Advanced Configuration": https://developer.genesys.cloud/platform/integrations/client-apps/advanced.  Each integration that uses the Advanced Configuration publishes a specific schema, so you can only define the JSON properties that the scheme defines.  And I'm not aware of any integration type that passes these Advanced Configuration json onto the custom code.

    I hope that helps clarify things.



    ------------------------------
    Jim Crespino
    Senior Director, Developer Evangelism
    Genesys
    https://developer.genesys.com
    ------------------------------