Questions tagged [shield-encryption]
The shield-encryption tag has no summary.
72 questions
1 vote
1 answer
162 views
Is it possible to (Unlocked) Package field encryption settings?
I'm having issues proving whether it is or isn't possible to have field encryption settings packaged as part of an Unlocked Package (with a Namespace) and this encryption be enabled automatically upon ...
0 votes
1 answer
690 views
Shield encryption : Affecting formula field as where clause in a Like query
We have Name field on account which is encrypted. (PersonAccount) Now as this field is encrypted we cannot fire a Like query as a partial match. So we created a formula field and copy the FirstName ...
0 votes
1 answer
331 views
Salesforce Shield Encryption - official video showing invalid information
I was looking into Salesforce Shield Encryption. Apparently Salesforce Shield Encryption does not mask any data, but encrypts the data at rest, which means only at the database level. Anyone who has ...
6 votes
1 answer
1k views
How to find the encrypted fields from inside an LWC?
I have Shield Platform Encryption turned on for Account.Name and a server-side field describe call: System.debug(JSON.serializePretty(Account.Name.getDescribe())); returns as expected these ...
1 vote
0 answers
1k views
Unable to activate matching rule
In our org, deactivation of Matching Rules and Duplicate Rules was required by the encryption process in order to encrypt a field (Contact Email). When we try to re-activate these rules, we are ...
0 votes
1 answer
786 views
Why are Custom object Name Field and date fields (Deterministic Encryption) not allowed to be encrypted?
I read a lot of documentation regarding Shield Platform Encryption and I can't find any statement in regards to why some of these custom Object Name Field and date fields (Deterministic Encryption) ...
2 votes
1 answer
375 views
Shield encrypted field, unencrypted results?
If a field is encrypted with Shield, can we get the unencrypted value with Apex classes/SOQL statements?
0 votes
1 answer
213 views
Salesforce Encryption Enabled With Errors
I am trying to encrypt field Lead.Name but it fails due to: Encryption can't be enabled for fields referenced in the custom formula fields: Lead.Data Quality Description. I checked this formula field ...
2 votes
1 answer
417 views
FIELD_INTEGRITY_EXCEPTION, Last Name: You must enter a valid value: [LastName]
One of our integrations attempted to insert a Contact record with a value for LastName = ????? (yes - five question marks). SFDC failed the insert (before any trigger executed) with: ...
0 votes
1 answer
2k views
Report row level formula does not work
I have a simple row level formula on an Activity Report CASE(Subject, 'Foo','1', 'Bar','2', 'n/a' ) But, given these Task records Id Subject -- ------- ... ...
3 votes
1 answer
2k views
New Spring 21 sandbox SOQL query fails on encrypted Account Name
Spun up a new Spring 21 sandbox from our Shield Platform-encrypted PROD org. PROD has Account.Name deterministic, case-insensitive encryption. Created a new Account with name = foo Went to ...
0 votes
1 answer
263 views
How can I verify encryption for Platform Events?
Does Salesforce provide a way to check Shield Platform Encryption for Platform Events? I wanted to verify what type encryption is applied to Platform Events when encryption is enabled from Setup -> ...
1 vote
1 answer
925 views
Is there a way to programmatically encrypt custom fields?
For standard fields, we can do it via Setup (Setup > Encryption Policy > Encrypt Fields), then we get a list of all available fields and we can tick the box for each one. But for custom fields, ...
1 vote
2 answers
298 views
Scratch Org - Generate Keys automatically
I would like to know if anyone has a way of generating platform encryption keys when building a scratch org? Currently, the way I know is to Create a Permission set with: MANAGE ENCRYPTION KEYS ...
1 vote
1 answer
554 views
How to support shield encryption in managed package?
I have read documentation regarding Platform Encryption on managed package and everywhere its written that If a managed package supports Shield encryption then we can encrypt fields. So if I am ...