Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • E Embedded Genesys UI
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Genesys PGRGenesys PGR
  • Embedded Genesys UI
  • Issues
  • #4
Closed
Open
Issue created Oct 30, 2020 by Matija Obreza@mobrezaOwner

Embedded configuration

We're now passing the main settings as named parameters to showGenesysUI() function.

As we add more features, the number of configuration options is going to grow.

Implement a Config class with settings for Embedded Genesys UI:

class Config {
   public apiUrl: string = 'https://api.sandbox.genesys-pgr.org';
   public clientId: string = 'clientid@genesys';
   public clientKey: string = 'changeme';
   public filter: object;
}

We will then call showGenesysUI like:

showGenesysUI(document.getElementById('genesys-container'), {
 apiUrl: 'https://...',
 clientId: '..',
 ...
});
Edited Oct 30, 2020 by Matija Obreza
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking