Blogs

  • You do not have permission to perform this action on this record or related records. Contact your Salesforce administrator for assistance error while changing owner

    INTRODUCTION A user with full access to a Customer or Partner account, either by sharing or account ownership, receives the following error when trying to change ownership to a user with a different role: “You don’t have permission to take that action on this record or related records.” SOLUTION This would indicate that the running…

    Read more…

  • Setting From Address in Single Email Message in Salesforce

    In Salesforce, you can set the “From” address in a SingleEmailMessage by using the setOrgWideEmailAddressId method. Here’s an example of how you can set the “From” address: Make sure to replace [OrgWideEmailAddressId] with the actual Organization-Wide Email Address ID that you want to use as the “From” address. The Organization-Wide Email Address must be previously…

    Read more…

  • Difference between Custom Setting and Custom Metadata

    Custom Settings and Custom Metadata are two types of custom configuration data in Salesforce. Here are the main differences between them: Overall, the choice between Custom Settings and Custom Metadata depends on the specific use case and requirements of the application. Custom Settings are more suitable for dynamic configuration data that may need to be…

    Read more…