Populate value in read only fields through Add-in
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.