Im having problems verifying my salesforce challenge. It says the challenge cant be approved to not being able to find my Account Controller file. Ive noticed that when i got to enter SFDX:Execute SOQL Query with Currently Selected Text i get errors in the QUERY section.Its also showing this command has errors. public with sharing class AccountController {
public static List<Account> getAllActiveAccounts() {
return [SELECT Id, Name, Active__c FROM Account WHERE Active__c = 'Yes' WITH SECURITY_ENFORCED];
}
}
#Trailhead Challenges
6 answers
Steven Trumble (Strum Consulting) Forum Ambassador
Hvae you saved the apex class to the org you are testing?
Have you created the custom field and assigned correct field elvel security?