Genesys CTI User Forum
Genesys CTI User Forum => Genesys-related Development => Topic started by: daniel_san on January 20, 2016, 04:05:32 PM
-
Hi,
Somebody knows how to set a value on application Object. This object is inside -->Enviroment/Applications.
I know how to read value from configuration trough IconfigManager or IConfigurationService, but i donīt know how to set value :-\
I tried to set value trough IConfigManager but it is setting on Agent object Annex :'(
Some help?
-
small explanation
I can read the configuration of the application where the agent is loged with that:
CfgApplication app = _configService.MyApplication;
Inside this object i can read:
app.UserProperties
app.Options
But i canīt update a value inside. Iīm trying with set but itīs not working
app.Options.Set("key", value);
-
Update:
I found [b]app.Save()[/b] ;D
But i have no permissions. Iīll keep you informed :)
-
Great job :)
Good luck and thanks for sharing
-
Finally it works (setting the permisions to user)