Built for salesforce developers

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. 

Spring 16 feature - Update Converted Leads

As a salesforce developer, many of them might come across this requirement to edit the converted leads. Yes, with Spring 16 release, now you can update the converted leads. 

 

We have to setup few permissions to do think so.

1) From Setup, enter User Interface in the Quick Find box, then select User Interface.

2) Select Enable "Set Audit Fields upon Record Creation" and "Update Records with Inactive Owners" User Permissions and Save your changes.

Getting a schema of a csv file in Talend

In Talend tool if you want to get the records from the CSV file. You want to configure its schema.

Let's see how to do that.

In the Repository pallet expand metadata --> File delimited --> (Right click) Create file delimited.

Give a file name --> click next --> select the file path --> click next.

Now is the interesting part. Configure the dialog box as shown below and then click refresh preview.

Passing the value from Lightning component to client side controller

Today I got a requirement. Which is interesting to me. I hope it will be same for you all. Requirement is need to show the list of records(eg. Account) once the user click the record need to pass the account id to the client side controller and we need to do some operation on that record. In this blog I am going to explain how we pass the value from the component to client side controller.

Below is the part of my  lightning component page where I am passing the value to client side controller.

Valdating a lead field while converting

I recently came across a scenario where a client wants to ensure that certain fields in lead should have a value before it is converted.

So let's dive into it...

Use case:

While converting a lead phone should have been entered.

Solution:

There is checkbox in lead object which says either the lead is converted or not. So we will use this field for our solution. 

The field api name is IsConverted.

Go ahead and create a validation rule which has the following error condition formula.

Enabling login as any user in salesforce

As developer or Admin when developing complex stuff, configuring the security model, debugging user support.

We should able to login as another user in Salesforce which will make sure that user only have access to what we have actually configured or the security model is correct.

In order to enable this feature 

Go to Setup -->  Security controls --> Login Access policies

Process Builder Introduction

In this post and the upcoming series of this post I am going explain deep dive of the Process builder. So, subscribe the ForceWizard for the regular update. The process builder is the next generation of workflow tool introduced in Spring'15. Let go through the basic concept. 

What is Process builder

Its helps you to automate your businesses process like sending an email, Crating a task, updating the records etc. and also you can view the visual representation of your process.

Navigating to different Lightning component

I hope you all had a wonderful Republic day celebration. As you all know one year back Salesforce introduced new way of developing mobile app with lightning component framework. First let me explain what is lightning component framework. The Lightning Component framework is a UI framework for developing a dynamic web apps for mobile and desktop devices and It’s a modern framework for building single-page applications. In this blog I am going to explain the client side controller method of navigating from one component to another component. Let gets started.

Demo: