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

Add-ins - How to get first name and last name of contact from Incident Workspace (6 Comments)

$
0
0

Topic by PREMKUMAR SABARINATHAN

Content

Hi All,

I am developing the Addins which needs to get the details of contact (First name and Last Name) from the Incident workspace. With the help of IIncident interface i could able to retrieve the Contact Id (CID) but not able to get Contacts information such as First name , Last name etc.  

Please Find the coding:

IIncident incidentrecord = (IIncident)iRecordContext.GetWorkspaceRecord(RightNow.AddIns.Common.WorkspaceRecordType.Incident);
            int? tempContact = incidentrecord.Contact[0].Cid;

Any idea to get the contact details from the incident workspace ?

Thanks in Advance

PremKumar S

Code Block


Viewing all articles
Browse latest Browse all 2504

Trending Articles