Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: Burak on February 22, 2022, 12:53:17 PM

Title: Config file & App properties file in the composer project
Post by: Burak on February 22, 2022, 12:53:17 PM
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.
Title: Re: Config file & App properties file in the composer project
Post by: hsujdik 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


Title: Re: Config file & App properties file in the composer project
Post by: Burak 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.