Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

Hi,

In BMP i have created addressbook  and added few

records successfully. when i tried to update a record

its returning success but in adderssbook its not

showing updated record.

Please can any one help its urgent..

 

Thanks

use pim_IContacts_UpdateRecord().
check if its records get updated after device is restarted. some devices were showing such a behaviouras an issue.
where do u see this issue?

use pim_IContacts_UpdateRecord().
check if its records get updated after device is restarted. some devices were showing such a behaviouras an issue.
where do u see this issue?

dear hanamant:
      I wonder if you have solved your problem.
      I now have a similar problem to yours, when I try to update the rec cat ,it returns zero, but actually the cat field remains old value, while if it works well if I update other fileds.
      Woudl you please tell me what shall I do?
      Thanks alot.
 
0 6 hanamant
member since07.13.10

dear hanamant:
      I wonder if you have solved your problem.
      I now have a similar problem to yours, when I try to update the rec cat ,it returns zero, but actually the cat field remains old value, while if it works well if I update other fileds.
      Woudl you please tell me what shall I do?
      Thanks alot.
 
0 6 hanamant
member since07.13.10

Hi liugongquan,
   Its working for me, i did like this..
Result = pim_IContacts_GetRecord(pIContacts,2,&pIContactsRec);
Result = pim_IContactsRecord_SetFieldValue(pIContactsRec,"Group/1/Value",L"Business");
Result = pim_IContacts_UpdateRecord(pIContacts, 2, pIContactsRec);

Hi liugongquan,
   Its working for me, i did like this..
Result = pim_IContacts_GetRecord(pIContacts,2,&pIContactsRec);
Result = pim_IContactsRecord_SetFieldValue(pIContactsRec,"Group/1/Value",L"Business");
Result = pim_IContacts_UpdateRecord(pIContacts, 2, pIContactsRec);

HI hanamant,
    Thank you for your reply.
 As you write:
Result = pim_IContacts_GetRecord(pIContacts,2,&pIContactsRec);
Result = pim_IContactsRecord_SetFieldValue(pIContactsRec,"Group/1/Value",L"Business");
Result = pim_IContacts_UpdateRecord(pIContacts, 2, pIContactsRec);
    Now the record has the cat field with value "Business".
    Wolud you please help me do the following test:    (suppose you have add the group "Family")
Result = pim_IContactsRecord_SetFieldValue(pIContactsRec,"Group/1/Value",L"Family");
Result = pim_IContacts_UpdateRecord(pIContacts, 2, pIContactsRec);
        After update record,    would you pleae help me to check if the record has the cat field with new
value "Family" or remains the old value.
      In my simlultor project, pim_IContacts_UpdateRecord() works well, but in my sw-generating project, the rec still has the old cat value,and I don't know how to resolve it.
    Thanks a lot, and waitting for your reply.

HI hanamant,
    Thank you for your reply.
 As you write:
Result = pim_IContacts_GetRecord(pIContacts,2,&pIContactsRec);
Result = pim_IContactsRecord_SetFieldValue(pIContactsRec,"Group/1/Value",L"Business");
Result = pim_IContacts_UpdateRecord(pIContacts, 2, pIContactsRec);
    Now the record has the cat field with value "Business".
    Wolud you please help me do the following test:    (suppose you have add the group "Family")
Result = pim_IContactsRecord_SetFieldValue(pIContactsRec,"Group/1/Value",L"Family");
Result = pim_IContacts_UpdateRecord(pIContacts, 2, pIContactsRec);
        After update record,    would you pleae help me to check if the record has the cat field with new
value "Family" or remains the old value.
      In my simlultor project, pim_IContacts_UpdateRecord() works well, but in my sw-generating project, the rec still has the old cat value,and I don't know how to resolve it.
    Thanks a lot, and waitting for your reply.

Hi
Step 3 mentioned in the thread https://developer.brewmp.com/forum/why-i-can-not-update-contact-record would retrieve the Group name being assigned to a Contact.
Also, after retrieving the newer Group name, make sure you update the user or display interface (if any) with the new values.
Regards,
Suresh Kumar S

Hi
Step 3 mentioned in the thread https://developer.brewmp.com/forum/why-i-can-not-update-contact-record would retrieve the Group name being assigned to a Contact.
Also, after retrieving the newer Group name, make sure you update the user or display interface (if any) with the new values.
Regards,
Suresh Kumar S

Dear Suresh Kumars:
  Thank you very much for your reply, I wll try it.

Dear Suresh Kumars:
  Thank you very much for your reply, I wll try it.