Error adding record from Secondary Report
I have created a report using custom scripting available in Reports for our requirement that filters out records based on a condition. Records displayed in the report are fetched using ROQL inside the script.
This report is mapped to a field in a workspace as a secondary report. When we try to select a value from this report, it throws error saying "Please select a record from the search results". If I remove the script and try to select the record from the report, then it is working fine.
I found that since the records are populated from ROQL inside scripting, it doesn't have a reference value hence throwing this error.