Tag Archives: Apex

Communication between Managed Packages

Have you ever wondered, whether it is possible to synchronously communicate between different managed packages in Salesforce? We have! As we have built many managed packages, we thought it would be useful to create a connection between these packages. They would highly benefit from receiving/sending data from/to other packages. Of course, you could create a base package and… Read More »

CRUD/FLS

Force.com allows you to control access to data at many different levels: Objects (CRUD) Fields (FLS) Records (Sharing Rules) So what is CRUD and FLS? CRUD (Create, Read, Update, Delete) is the object security level within the Salesforce.com environment. CRUD can be used to restrict certain actions on standard and custom objects. FLS (Field-Level Security) is similar to… Read More »

Difficulties with generating an Excel sheet to Mac in Salesforce

Salesforce supports developers greatly with including an export functionality for Visualforce pages. In order to generate the Excel sheet, developers need to have a Visualforce beginning, such as the following:

Then you need to simply define the content of the Visualforce page and when it is opened, the file is downloaded. Sounds easy, right? When you are working with… Read More »

Lead Deduplication

It’s important to avoid duplicated lead records when creating new leads coming from the Web. Here you can find an example of a lead deduplication using apex trigger: link. In order to increase stability and error handling we use web API (instead of standard Web-To-Lead module) to post leads to Salesforce. It allows us to implement deduplication in more… Read More »