You need to sign in to do that
Don't have an account?
dinesh S 31
Hi All, Could you please help me on below code
we are facing some challenges regarding Encryption
we are fetching some list of users in " userlist ".
set EmailSet= new set();
for(user u : userlist){
EmailSet.add(u.Email);
}
for(contact con : [selct id,name,Email from contact where Email IN :EmailSet]){
////some code/////;
}
in above code Email field in contact object is Probabilistic/Deterministic encrypted field.
now please guide me how to replace this SOQL "[selct id,name,Email from contact where Email IN :EmailSet]" with SOSL.
we are fetching some list of users in " userlist ".
set EmailSet= new set();
for(user u : userlist){
EmailSet.add(u.Email);
}
for(contact con : [selct id,name,Email from contact where Email IN :EmailSet]){
////some code/////;
}
in above code Email field in contact object is Probabilistic/Deterministic encrypted field.
now please guide me how to replace this SOQL "[selct id,name,Email from contact where Email IN :EmailSet]" with SOSL.
Raj Vakati
Try like this