Category: Apex
-
How Do “With” and “Without Sharing” Work in Apex?
Question: Iām trying to solidify my understanding of the “With Sharing,” “Without Sharing,” and unspecified sharing rules in Salesforce Apex. Below is my current understanding, followed by some scenarios and questions for clarification: Notes on Sharing Rules: Scenarios for Validation: I have three classes: Based on the above, I have the following scenarios: Additional Questions:…
-
Why Am I Getting ‘Entities Not Compatible’ Error While Creating a Managed Package?
Question Error while creating managed package — entities not compatible I’m creating a managed package and when creating the package I get this error: Warning: (1) Estas entidades no son compatibles: [Role, Group] Translation: these entities are not compatible: [Role, Group] The package.xml contains: The Todos_los_usuarios.group-meta.xml contains: The R2C2_corporativo.role-meta.xml contains: I don’t know how to…