Tag Archives: Salesforce development

Heap Size Salesforce: Elephant in the room

Heap size salesforce is a common, yet neglected problem whenever it comes to Salesforce Apex development. Salesforce heap size is the count of memory used by the variables, object instances in an Apex class.

In order to store these objects & variables, memory is allocated in Salesforce which is derived from allocated Heap. The Salesforce Heap size truly depends on the type of transaction, Salesforce provides a heap size limit of 6MB for synchronous transaction and 12 MB for asynchronous transaction.

Whenever, too much data is stored during processing an error occurs prompting Apex heap size too large. You must have encountered this error at least once if you are a developer.

Here are a few tips to ensure that the heap limit does not exceed the maximum size and your code runs smoothly

salesforce heap size limit

Continue reading

Posted in Salesforce, Salesforce.com. Tagged with , , .

Developing Visualforce Apps using Salesforce Angular

Have you ever wondered how cool it would be to have the flexibility and features Salesforce Angular JS framework provides, inside a Visualforce page in Salesforce platform? Well, wait no more, keep reading to get a perfect solution for this. This blog will introduce you to AngularJS in salesforceand how to develop Visualforce apps using angular.

Every web application requires client-side JavaScript, HTML, and CSS. Without using any server framework like Rails, Node, PHP, etc. the entire application can be built using just the front-end tools and languages.

What is ANGULARJS in Salesforce?

Salesforce Angular JS is a powerful JavaScript framework for constructing dynamic web applications. It is used to develop mobile and web applications. The good thing about Angular is that it has a set of primed modules to simplify the building of single page applications. Single page application (SPA) is a web application that dynamically renders the data on the current page without reloading the whole page. All the code (JS, HTML, and CSS) is retrieved with a single page load and navigation between pages is performed without reloading the whole page.

Continue reading
Posted in force.com app development, salesforce development. Tagged with , , , .

Integration with Salesforce Lightning External Services

Nowadays there is an API Integration in almost every org. The main purpose of integration with another service is to avoid reinventing the wheel. However, the development effort that is required to integrate with services is a complex and time-consuming venture.

It reduces speed to market, but it also saps developer energy that is better spent in the front end, building the features that will really differentiate their app. With external services salesforce makes this a lot easier and admin friendly.

With salesforce external services you can connect to any service that you want to, invoke methods based on the external source via a flow all with the help of an easy-to-use wizard. Declarative tools are used to import API definitions right into Salesforce. Continue reading

Posted in Salesforce, Salesforce Lightning. Tagged with , , , , , , .

Deployment Tools in Salesforce

A typical development process requires building, testing, and staging before releasing to a production environment. During this development cycle, one might migrate many times, either to keep development organizations in sync or to move changes through development organizations toward production and this is what we call Salesforce deployment.

Salesforce deployment is the migration of metadata from one Salesforce organization to another. If you are looking to enhance your Salesforce DevOps (Continuous Integration and Continuous Deployments) practices, this blog could get you started with the basics.

There are number of deployment tools available each having its own pros and cons. Some of them are listed below:

Continue reading
Posted in salesforce development. Tagged with , , , , .

Apex Code to Create Recurring Event in Salesforce Lightning

In this article, I am sharing my approach and code required for fetching recurring events in Salesforce Lightning.  The use cases could be creating a recurring pickup, order placement etc. You would need basic knowledge of Apex and Salesforce Lightning.

This screen will give you an idea about the recurring UI.

.create recurring event in salesforce lightning

Continue reading

Posted in Apex Development. Tagged with , , , .

Salesforce Development Best Practices

In this blog I will share the Salesforce Development best practices that I have learned over the years. I have tried to give a few code snippets to provide examples. Feel free to use the code as-is.

What is Salesforce Development Best Practices

Salesforce Development Best Practices

Continue reading

Posted in Salesforce, salesforce certified developer. Tagged with , .

Rest API Integration in Salesforce

What is REST: –

REST is Representational State Transfer which helps two systems to talk to each other with a common programmatic language. Rest is a successful replacement for HTTP.

Rest Integration in Salesforce can be done in the following steps:

1) Configuration.

2) Call out.

3) Web services.

Saleforce Integration with External System

Continue reading

Posted in REST API. Tagged with , , , .

Salesforce and EventBrite Integration

eventbrite salesforce integration

What is an EventBrite Salesforce?

An EventBrite is an app which syncs event data into salesforce. It is a free app which help the event organizers to import data from their event to the salesforce. Event data is created through ticketing platform is synced to salesforce contact list and promo code can be sent back to the Eventbrite.

Continue reading

Posted in EventBrite Salesforce Integration. Tagged with , , .

Dynamic Gauge Chart in Lightning Component

Salesforce provide us standard functionality to create Reports and dashboards to represent record in diagrammatic form. Sometimes we face the requirement to represent our data in diagrammatic Form on visual force page in some specific type of diagram we represent it using chart. Salesforce provide us Bar chart, Pie chart, Gauge chart, Radar charts

Here I am going to explain how we can represent specific field data in the form of gauge chart. To achieve this requirement we need four things basically. First we should have an object whether it’s standard or custom object, a field associated with that object that should hold any numeric Value, apex controller, apex class. Continue reading

Posted in Salesforce. Tagged with , , , , , .