Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

Populate value in read only fields through Add-in (7 Comments)

$
0
0

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.


Viewing all articles
Browse latest Browse all 2504

Trending Articles