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

RunAnalyticsReport method complain type miss match in java

$
0
0

Topic by Qing Liu

Content

Hi All, 

I am new to RightNow connect stuffs. I am working on integration between two platforms. I will need to RunAnalyticsReport which will require i pass the Contacts.c_id to get back the data. 

I start with BasicRunAnalyticsReport.java code from Nov 2012 document. Since we are using Nov 2012 release. 

I run into the similar problem what the previous post. 

http://communities.rightnow.com/posts/6ffcf26d79?commentId=29672#29672

What I try to do it is to follow the suggestions. 

int limit = 100;
int start = 0;
 
ClientInfoHeader clientInfoHeader = new ClientInfoHeader();
clientInfoHeader.setAppID("Run report sample");
 
CSVTableSet thisset = new CSVTableSet();
thisset = _service.runAnalyticsReport(analyticsReport, limit, start, ",", false, true, clientInfoHeader)
CSVTables tables = thisset.getCSVTables();
I still get an error RunAnalyticsReportResponseMsg thisset = new CSVTableSet();
thisset = _service.runAnalyticsReport(analyticsReport, limit, start, 
 ",", false, true, clientInfoHeader)
 
Anyway know this issue? Thank you

If i want to pass the c_id to execute the report, does anyone know how to pass parameters to execute report? 

 

Code Block


Viewing all articles
Browse latest Browse all 2504

Trending Articles