Tag: Apex

Restrict Uploading Files In Salesforce

While working in Salesforce, we sometimes come up with the requirements where we need to build some sort of validation to restrict uploading files with specific extensions or in other words, allow only approved file types/extensions. This is very important because uploading executing or javascript code can bring potention security concerns by exposing internal data to outside world.

So allowing only certain type of files for upload is a very common requirement. In this blog post, I am sharing couple of solutions with pros and cons to implement this requirement.

Read More

Salesforce Summer 23 Release | My Top 5 Apex Features

Welcome to the Summer ’23 Release! Salesforce Release is the process by which Salesforce updates its software platform to add new features, enhancements, and bug fixes. Salesforce releases typically occur three times a year, in spring, summer, and winter, and are named after the season in which they are released.

In this blog post, I am going to share a few of my favourite apex features that are coming along with the Summer 23 release.

Read More

How To Secure Apex Code With User Mode Database Operations | Spring 23 Release

Apex code runs in System Mode by default, with elevated access. If you want to run apex code respecting the running user’s permission, now after Spring 23 release, you can do that. With Spring 23 release, Salesforce is bringing the option to execute apex Database and Search methods in user mode instead of default system mode. In this blog post, I will share some examples, but if you prefer to watch videos instead of reading the post, you can do that by watching the video below, which I have published on my Youtube Channel – Technical Potpourri.

Read More

How To Find Out Which Apex Classes Implement The Interface | Spring 23 Release

Have you ever faced the problem to find out which Apex classes have implemented the interface and then doing the typecasting to call individual class methods? If your answer is yes, then you will be happy to know that Salesforce’s Spring 23 release can help you now. In today’s post, I will be showing you how to find out which apex classes have implemented an interface. And after finding what we can do with that information. This is the new feature that became GA (Generally Available) in Spring 23 release.

You can read this blog post or watch the video below

Read More
Loading

Earlier Posts

  • 2024 (18)
  • 2023 (47)
  • 2022 (25)
  • 2021 (35)
  • 2020 (41)
  • 2019 (13)
  • 2018 (16)
  • 2017 (14)
  • 2016 (18)
  • 2015 (74)
  • 2014 (20)