" /> Config file & App properties file in the composer project - Genesys CTI User Forum

Author Topic: Config file & App properties file in the composer project  (Read 1637 times)

Offline Burak

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Config file & App properties file in the composer project
« on: February 22, 2022, 12:53:17 PM »
Advertisement
Hi everyone,

I need a config file that will include credentials in my Java composer project. I need to be able to change some values in this file dynamically. I can use the Transaction list for this but my project is a voice project, that’s why it is not possible. So what’s the best approach to achieve this? I can create a javascript file under the “src” folder in the projects and I can keep values in there but I think it is not the best way. So can you please share your ideas?

Thanks.

Offline hsujdik

  • Hero Member
  • *****
  • Posts: 541
  • Karma: 30
Re: Config file & App properties file in the composer project
« Reply #1 on: February 22, 2022, 01:13:32 PM »
If you use OPM (gax plugin), you can then use a Transaction List that will be passed to your Voice Project and would be accessible through App_OPM variable on your ECMA Scripts and other blocks.

Check these links:
https://docs.genesys.com/Documentation/Composer/8.1.5/Help/OPMCommonBlock
https://docs.genesys.com/Documentation/Options/Current/GVP/GVP_RM-OPM (apply this on you IVR Profile object annex, OPM section if needed)
https://docs.genesys.com/Documentation/GA/latest/user/OperationalParameterManagement



Offline Burak

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: Config file & App properties file in the composer project
« Reply #2 on: February 22, 2022, 01:33:06 PM »
Yes, but I have already one OPM in this composer project, and there is a restriction that only one OPM can be used in a single IVR project. Since the values are credentials I want to keep, the customer does not want to use these values in the same OPM. that's why I am trying to find another way than OPM.