You need to sign in to do that
Don't have an account?
Ross Gilbert 19
I am getting an error for that line: Error: Compile Error: expecting a left angle bracket, found '>'
Does anyone know what is wrong with the syntax in that line of code? Thanks a lot
Why am I getting this error
public Static List<List> getTabularReport(Id reportId) {
I am getting an error for that line: Error: Compile Error: expecting a left angle bracket, found '>'
Does anyone know what is wrong with the syntax in that line of code? Thanks a lot
List is not any type, and you may need to use primitive or object types in list like: You can use your defined type instead of string here. Let me know, if you need any other help.
Thanks,
Neetu
Try with the below code: List is a keyword, and you need to define the type of list here.
Let me know, if you need any other help.
Thanks,
Neetu
Error: Compile Error: Illegal assignment from List<reports.ReportDetailRow> to List<String>
Your class code is dependent on other class Reports and its inner classes, To help you out, I need to check code for these classes too. Can you share your salesforce org login credentials so I'll be able to help you out. You can contact me either on my gmail id: neetu.bansal.5@gmail.com or Skype id: neetu.bansal.5
Thanks,
Neetu
Hi Ross,
Please change your line 18 i.e. : List<String> reportDetailRowList = factDetails.getRows();
To : List<Reports.ReportDetailRow> reportDetailRowList = factDetails.getRows();
Regards,
Abhishek