I’m trying to do something that i dont have a clue. I customized my own region like a form. I have campaign and calling lists. How can i update or add a record to one of my lists ?
I tried to connect outbound contact server and i did it. Then, tried to request load-unload campaign and i did. I used Genesyslab.Platform.Outbound.Protocols.OutboundServer.Requests , so i didnt see like requestupdaterecord something like that. How can i do this, can anyone tell me ?
Also another question, is this the right way to open connection to Outbound Contact Server in iws, i think its already bound to it, how can use this connection with iws own sdk ?
And what about Genesyslab.Desktop.Modules.Outbound.Windows.OutboundRecord? there are several methods for achieve it. In other way, you have not to do it through SDK, but just through direct database commands.
It is just a ViewModel (I assume that you know MVVM pattern) - so, you can create view and “implement” the model within this view, or just read the values from model into your variables,methods, etc. It is better to test it, because with each version of IWS, the methods have been changed without any notification or change in method declaration (unfortunately). So, try to implement it and make some test, you will see more. I am not at my test lab yet, so cannot confirm it from my site.
Just note: for updating records you do not need any customization, it is possible by configuration of default by built-in function of IWS. For adding records there exists other tools like GA(GAX) or old OCM.
I believe IWS will only be able to update records that are in Retrieved state within OCS. If records are in Ready state and therefore not in OCS memory, direct DB manipulation will be needed.
In my case, I have done direct DB manipulation successfully many times - to add/remove records, update records, etc (but again, ONLY if record is in Ready state). Also it is probably bad design to connect directly to DB from IWS client desktop. What I have done in the past is expose a web service that does the DB manipulation for me, then have IWS consume the web service. In my opinion this is cleaner and I get centralized logging for troubleshooting purposes if needed.
For records in Retrieved state sitting on agent desktop, I do something like this:
actually i did. Outbound Ref. Manual said need to send gsw_req_type as key and recordprocessed as value. then i did it with this way. While agent After Call Back status, i can change anything on record(s).