Genesys CTI User Forum
Genesys CTI User Forum => Genesys-related Development => Topic started by: daniel_san on January 27, 2016, 07:20:41 PM
-
Hello all,
I´m trying to refresh variable on Application object trough GIS. With CfgUpdate object and CfgApplication
Looking on the samples of GIS i can see that it must be with xml.
This Xml is working, it can create the variable, but is not able to refresh if i launch again... Somebody knows?
String xml = "<?xml version=\"1.0\" encoding=\"utf-8\"?>"
<CfgData>
<CfgUpdate>
<CfgApplicationUpdateActionType DBID='351'>
<userProperties>
<list_pair key=\"v1\">
<str_pair value=\"232163\" key=\"v2\"/>
</list_pair>
</userProperties>
</CfgApplicationActionType>
</CfgUpdate>
</CfgData>
-
Hi Daniel,
One way I have found is:
<CfgData>
<CfgUpdate>
<CfgApplicationUpdate DBID='522'>
<userProperties [color=green]action="change"[/color]>
<list_pair key="v1">
<str_pair value="test1" key="v2"/>
</list_pair>
</userProperties>
</CfgApplicationUpdate>
</CfgUpdate>
</CfgData>
Where action can be either add, change or delete.
Pete.
-
Thank you so much :)