Get Free Trial

ERROR TypeError: Cannot read property ‘Fl’ of null

Answered
Dama Ankaiah asked on March 21, 2021

Hi Team,

We are getting below error when we try to get report settings by using “getReport()” method from flexmonster.

Error: Cannot read property ‘Fl’ of null

Scenario: A report settings saved to database(used getReport() method to get report settings) by expending the “Erskine Murphy” resource details(Please find the attached “Report” screenshot). Again same saved report settings loaded with different result set which does not have “Erskine Murphy” resource. Observed that “Chris Phillips” resource details automatically expanded from new result set(Please find the attached “NewReport” screenshot) and getReport() method is throwing error when we try to get the settings of this new report to save in database.
 
Using Code to get report settings:
var getReportParms = [{ “withGlobals”: true, “withDefaults”: true }];
var report = this.pivot.flexmonster.getReport(getReportParms);
 
Could you please help us on this issue.
 
Thanks,
Ankaiah
 
 

Attachments:
NewReport.png
Report.png

1 answer

Public
Mykhailo Halaida Mykhailo Halaida Flexmonster March 22, 2021

Hi Dama,
 
Thank you for posting your question.
 
So far, it is not entirely clear to us how to achieve the described behavior. Do you think you could send us a sample project where the issue is reproducible?
 
If not, it would also help if you could provide us with your report file together with precise steps we need to take to reproduce the behavior in question.
 
Looking forward to your reply.
 
Kind regards,
Mykhailo

Please login or Register to Submit Answer