ConcourseSuite Support

Support
Corporate
PUBLIC PROFILE

Back to topics

Discuss Development

problem update contactHistory by XML_HTTP API

You need to be logged in to post messages

This question is unanswered

problem update contactHistory by XML_HTTP API

5/22/2008 10:46 AM EDT

Hi,
I'm trying to update 'contactHistory' by the next code:

DataRecord tab = new DataRecord();
tab.setName("contactHistory");
tab.setAction(DataRecord.UPDATE);
tab.setShareKey(true);

tab.addField("id", Utility.checkFieldAndDefault(bean.getId()));
tab.addField("description", Utility.checkFieldAndDefault(bean.getDescription()));

crm.save(tab);
crm.commit();
The response is: "Transaction Failed". :(
I'have removed all unnecessary field, I'm added "id" for identify the
istance to update, and "description" as a field to update.

Anyone Can help Me.
Thanks in Advance.

Alessandro