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

getting error "Object Reference not set to an instance of an object" while I am trying to use...

Accepted answer
9
Views
8
Comments
edited Mar 10, 2017 8:06AM in UI Extensibility 8 comments

Content

Hi,

I am getting error "Object Reference not set to an instance of an object" while I am trying to use IRecordContext  to get current workspace record in an Add-in type "Analytics for External Data". I attached this report add-In in a sub tab  of contact workspace and I need to fetch some of the fields value at the time of workspace loading. 

here is my code 

class 1 ReportPackage Implementation

using System.AddIn;

using System.Collections.Generic;

using RightNow.AddIns.AddInViews;

using RightNow.AddIns.SampleReportTableAddIns.IVRDataNet;

using System;
 
using System.Collections.Generic;
 
using System.Data.Services.Client;
 
using System.Linq;

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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