Salesforce platform events

Salesforce platform events are based on event-driven software architecture. Platform events are cloud message platform where you can publish and subscribe to an event. 

The publisher and subscriber can be a Salesforce app, external app, apex code, process builder or a flow.

Test class for batch apex

Batch apex is always in rescue whenever you need to process a huge chunk of data.

Consider the following batch apex. 

The business functionality it achieves is.

Check for a change in a custom field called keywords__c in Account object and Insert that topic into a community.

About Global picklist

This Global picklist is available in all the edition from Spring 16 release. I hope most of them aware of it if not here you go.

What is Global picklist?

You can say Gobal picklist as 'Universal picklist values' because you will create a picklist values in one place(Global picklist) and you can use those values while creating custom picklist field in different objects.

Geo codes in salesforce

Getting Geocode information in salesforce is made easy using clean rules in service.

By default, Salesforce provides clean rules for Account, Contact and Lead object.

Let's see how we can make use of this feature.

Activate clean rule

The first thing we want to do is activate clean rule for the respective object. In our case, we will activate for the Account object.

Go Setup --> Administration --> Clean --> Clean Rules.

Profile mass edit

As a Salesforce Admin, We always came across a situation to edit multiple profiles to give permission to objects or system permission. Editing the profile one by one is a time-consuming work. But we can edit up to 200 profiles using enhanced profile list view without going to each profile.

You need the following permissions to do it.

  1. Manage profiles and permission set.
  2. Customize application.

Go to Setup --> User interface. 

Change Managed Package Object Name , Standard Field Name and Related List Label

In my previous post we came to know how to managed package object field name. Here in this post let see how to change managed package object name, Standard Field name and related list label.

Let me explain one by one..

1. How to change managed package object name and standard name field label.

2. How to change managed package related list label.

Change Managed Package Object Field Name

I recently got requirement that client like to change custom field label.It seems easy rite ? you may though to go field setting and edit it's label. Even I though the same. After gone there only I realized that I can't able to edit field label because of it is in managed package :( .

After some research I got some way to edit managed package fields label, related list name, custom object name, custom object standard field name, etc.

So here is the steps to achieve the requirement.