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

Custom object in the contact workspace

$
0
0

Topic by chidambaram CT

I want to access custom object field in my add-in code. We have space constraint so we create custom object field "ReasonCode" 
in the ContactDetails custom object under package Comms. I tried to access something like this.

Line 1 : IGenericObject customObjectContact = (IGenericObject)_recordContext.GetWorkspaceRecord("Comms$ContactDetails");
Line 2  : IList<IGenericField> IlistGenericCustomObject = customObjectContact.GenericFields;

I am getting null value  in the Line 1.


Viewing all articles
Browse latest Browse all 2504

Trending Articles