function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jonathan Wolff 7Jonathan Wolff 7 

Fix Errors in Apex Class of Search Component

Hello,
I try to build a custom Apex class for my search component. I get multiple errors and dont know how to fix them. Can you help me with the adjustment?

Greetings Jonathan

User-added image
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Janathan,

Can you share the code in words because screenshot cannot help us to check the code and try to implement this in our personal org.

Thanks,
 
CharuDuttCharuDutt
Hii Jonathan
Try Below Line
[FIND: findStr
IN ALL FIELDS RETURNING
Mediathel__c (Id,Name,Bezeichnung__c,typ__c,Zielgruppe__c,Umfang__c,Bezeichnung_Link__c,Bezeichnung_Search__c WHERE Typ__c = 'Formular')
]
Please Mark It ANswer If It Helps
Thank You!