We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

unable to get updated value in the contact workspace through add-in

Accepted answer
9
Views
5
Comments
edited Mar 19, 2018 1:39PM in Integrations and APIs 5 comments

Content

In contact workspace, I have field bank_validation Yes/No custom field. Based on condition, I change value of field through workspace add-in. 
On save of another add-in, I try to retrieve custom field. But I am not getting the updated value. I have tried RefreshWorkspace() method also,still getting old value not the updated value.

 

 

// _recordContext.RefreshWorkspace();
ICfVal icfValBankValidation = ((IEnumerable<ICfVal>)this._contact.CustomField).FirstOrDefault<ICfVal>((Func<ICfVal, bool>)(cf => cf.CfId == 415));
bankvalidation = icfValBankValidation.ValInt;

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!