Tag Archives: Salesforce development

How to Update Status for Salesforce object in a custom Lightning Component

In Salesforce, maintaining the last update status of a view once it loads as a component can be tricky. JavaScript has an asynchronous way of executing after all. Resetting the counter after each component refresh from the custom refresh button may take a while to debug. Here is a way I resolved my problem. With a few tweaks here and there with some horse shoe fitting hope it helps your too.

salesforce management

Continue reading

Posted in force.com app development, Salesforce, Salesforce cloud Implementation, salesforce customization, salesforce development, Salesforce Lightning. Tagged with , , , , , .

Heap Size: Elephant in the room

Heap size is a common, yet neglected problem whenever it comes to Salesforce Apex development. Heap size in actual 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 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

heap size in salesforce

Continue reading

Posted in apex develeopment, Salesforce, salesforce development, salesforce integration, Salesforce.com. Tagged with , , .

Recurrent Neural Network with Long Short-Term Memory

What is a Neuron?

In Biological term, Neurons is the unit of nervous system which is responsible for flow of message in the form of electrical impulse in Human brain. So, Neuron is responsible for Human intelligence. But, in Today’s scenario it is used in Artificial Intelligence as well. Recurrent Neural Network (RNN) is a class of Artificial neural network in which connections between the neurons form a directed graph, or in simpler words, having a self-loop in the hidden layers. This helps RNNs to utilize the previous state of the hidden neurons to learn current state. Along with the current input, RNNs utilize the information they have learnt previously. Among all the neural networks, they are the only one with an internal memory. A usual RNN has a short-term memory. Because of their internal memory, RNN are able to remember things.

neural networks applications

Continue reading

Posted in Application Architecture, Salesforce AI, salesforce development, Salesforce Einstein, Salesforce Einstein, salesforce for healthcare, Salesforce Machine Learning. Tagged with , , , , .

Developing Visualforce Apps using AngularJS

Have you ever wondered how cool it would be to have the flexibility and features 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 and 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?

AngularJS 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 apex develeopment, Apex Development, 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 Lightning External Services, Salesforce makes this a lot easier and admin friendly.

With 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. Swagger or Interagent-based API definitions can be used to define an external service. Once the definitions have been imported, you can create lightning flows which will invoke actions generated from the API definition schema. Below is a depiction of how external services works.

Continue reading

Posted in Agile, Salesforce, Salesforce Challenges, salesforce development, salesforce integration, Salesforce Lightning, Service Cloud. Tagged with , , , , , , .

Salesforce Deployment Tools

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:

Change sets

Continue reading

Posted in apex develeopment, Apex Development, force.com app development, salesforce development, Salesforce DevOps, salesforce integration, sfdc, Uncategorized. Tagged with , , , , .

Thinking About Marketing Automation For Higher Ed?

How can we put our name in front of someone right when they are thinking about committing to a brand? This is the question we ask ourselves in marketing. The best marketing campaigns deliver a coordinated high-quality experience across every channel and with every prospect interaction. Marketing automation tools from Salesforce bolster an organization’s ability to deliver this syndicated message. Higher education organizations are thinking more and more about how to attract news students through marketing as the space becomes increasingly competitive. Marketing automation is a dream for any organization. Salesforce has made it possible for higher education institutions, and Mirketa Inc is able to implement that possibility with you.

Marketing Automation Tools

The Salesforce marketing cloud unlocks incredible recruiting possibilities for the higher education space. At a high level, marketing cloud uses data collected about prospects to then market back to prospects in the way that makes the most sense to each prospect and higher education organization. Salesforce has the ability for organizations to track the activity of prospective students on their website. Let’s say for example that a recruiter has met a bright student at a recruiting event at a local high school and this student agrees to give the recruiter a few pieces of administrative data like their name and email. The recruiter would then go back and enter this student as a prospective student as a prospect in their Salesforce. From that moment forward the recruiter would be able to see what sort of things the student was clicking on while visiting the school website, what they were searching, and how often they came back to visit.

Continue reading

Posted in Salesforce, Salesforce cloud Implementation, salesforce development, salesforce integration, salesforce Tips & Tricks. Tagged with , , , , , , .

Apex Code for Creating Recurring Event in Salesforce Lightning

In this article, I am sharing my approach and code required for fetching days for 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.

.Capture rec

 

 

 

 

 

 

Continue reading

Posted in Apex Controller, Apex Development, force.com app development, salesforce customization, salesforce 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.

Salesforce Development Best Practices

Salesforce Development Best Practices

Continue reading

Posted in apex develeopment, Apex Development, Salesforce, salesforce administrator, salesforce certified developer, Salesforce Challenges, salesforce consultant, salesforce customization, salesforce development, Salesforce.com, sfdc. Tagged with , , , , .

How to succeed with your Salesforce implementation?

Salesforce Implementation and Development

Complexity with Salesforce Implementation starts with different options and terms

 

Earlier this week I sat through a retrospective session for a complex Salesforce Implementation project we just wrapped up. The client gave us the NPS rating of 8.5 out of 10 (which I think is great). However, as we all looked back at the project, the memories of good, bad and ugly were refreshed. And both sides made recommendations on what we as a Salesforce Development Organization and Client teams could do differently next time to avoid some of the pain points.

The retrospective reminded me that there is a common set of learning that apply to any complex Salesforce Implementation project. In this article I am sharing my learning that are based on the projects that we managed and from the learning that our clients have shared with us.  Continue reading

Posted in Salesforce, salesforce administrator, salesforce consultant, salesforce customization, salesforce development, salesforce for small business, salesforce integration, Salesforce Support Packages, Salesforce.com, WEB SERVICES. Tagged with , , , .