by ittech25 » Sun Dec 09, 2012 2:26 pm
Hello!
First off, I want to thank Matt and everyone else who has worked on this software. It's amazing. The further I learn about it, the more I am appreciating the time people have put into this.
I have a question on updating custom fields.
I have a multi-page script inside an iframe. Everything works great (including updating standard vicidial fields (firstname, lastname, etc.) but when I try to update a custom field, I am running into issues.
1) The agent API does not seem to have this functionality. It only updates standard fields.
2) The non-agent API has an option to update custom fields, however, when I try to pass the values of only a single field, it saves that field and then nullifies all other fields within that record.
3) When I use the non-agent API method, when I disposition the call, all custom fields return to their original values. I assume because they get updated again from the "form" on the agent screen.
Questions:
A) Am I passing the API call correctly on the non-agent API?
non_agent_api.php?source=$campaign&user=$user&pass=$pass&function=update_lead&custom_fields=Y&search_location=LIST&list_id=$list_id&lead_id=$lead_id&autorenew=$autorenew
B) Is there a way to retain the value of the custom field alter during the dispositioning? (I have successfully done this by manually going to the form and pressing 'refresh', but I do not think a phoner will remember to do this each time).
I am currently testing this install with
VERSION: 2.4-309a
BUILD: 110430-1642
GoAutoDial 2.1 CE
running on VMWare ESXi.
Thanks!!