You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Changing the Contact of incident through addin

Accepted answer
21
Views
5
Comments
edited Aug 31, 2016 6:45AM in UI Extensibility 5 comments

Content

I want to change the contact of incident through addin. While i write this code, I am getting the attached error.

Anybody having a sample of how to change incident's contact in addin.

 

Version

May15

Code Snippet

                IList<IInc2Contact> newContList = new IList<IInc2Contact>;
                    IInc2Contact cont= new IInc2Contact();
                    cont.Prmry=true;
                    cont.Cid=123456;
                    objIIncident.Contact= newContList; 
        

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!