[quote author=Dario Garcia link=topic=3272.msg13609#msg13609 date=1220482319]
No, GAD... the web softphone
For Activex we have a code that works fine but with GAD we are lost
[/quote]
To do this in GAD (version 7.5 or 7.6 for example), you use Java AIL in your custom jsp's. This is what barleycorn is saying as well and the high level process to customise GAD is explained in the Genesys Desktop Developer Guide.
Now, specific to your question: you need to use the AilFactory to retrieve the active interaction. From then on you can just set additional attached data. Do NOT forget to invoke "interaction.saveAttachedData();" at the end.
A simple code sample:
[quote]
AilFactory factory = AilLoader.getAilFactory();
String idInteraction = (String)request.getParameter("idInteraction");
Interaction interaction = factory.getInteraction(idInteraction);
...
interaction.setAttachedData("Email address", new_Email_address);
interaction.setAttachedData("Company sector", new_Company_sector);
interaction.saveAttachedData();
[/quote]
Now, even more interesting; for outbound, you can directly change fields in the calling list from your custom code. So, if you need to save some information from contacted customers, you can store the values in fields you set up in the calling list.
It is all possible
Enjoy,
Luk.