Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class PassDoelgroep {
- @AuraEnabled
- public static string Doelgroep(String Doelgroep) {
- return Doelgroep;
- }
- }
- public class picklistController {
- @AuraEnabled
- public static List<Opleiding__c> findAll() {
- String doelgroep = PassDoelgroep.Doelgroep();
- return [SELECT id, name, Doelgroep__c
- FROM Opleiding__c
- WHERE Actief__c=true
- AND Doelgroep__c = :Doelgroep
- LIMIT 50];
- }
- }
Add Comment
Please, Sign In to add comment