Topic by chidambaram CT
I have created 2 custom attributes branch & workplace and placed in the contact workspaces. Branch-Workplace are in master-detail relationship.
Both fields are ready-only, because I want populates values for these fields through add-in. First add-in populate value for branch
and place the value in Contact.CO$branch and second add-in populates values for workplace related to current branch and place the value in Contact.CO$Workplace
Assume I have branch b1 and workplace w1. Now I choose different branch, let say b2, and workplace value at this stage is no value (Intialize),if click save button, it should save "No value" but old workplace value populates. After save, branch is b2 and workplace is w1, which breaks the relation.
I have tried _recordContext.RefreshWorkspace(), but this does not work.
Any input on this is highy appreciated.