How to create Dependent Picklist using UI API ( Considering the record type )

I have been working on Aura (Lightning) components for last 2 years and the common issue with the Dependent picklist which I found while developing an Aura (lightning( component is how to render them on the basis of the record’s recordType. Salesforce has provided an amazing User Interface API, which Lightning Experience uses to get data and metadata from Salesforce… Read more »

Salesforce Cookies #15

      No Comments on Salesforce Cookies #15

How to use Salesforce REST API in Lightning Component If you are working with REST/SOAP APIs in the apex class which is being used in the lightning component, then using UserInfo.getSessionId() will give the session id which can not be used to make the API calls due to security restrictions. There is a workaround for this problem which uses Visualforce… Read more »

Building your first Lightning Component

Many of salesforce developers are migrating from Salesforce Classic to Lightning. Here is what we build our first lightning component. PreRequisit: Basic knowledge about HTML. Basic knowledge about Salesforce. Benefits: You can build your own lightning component. Kick start your career in lightning. You will get to know about lightning application. How you can use lightning component in VF page… Read more »

Salesforce Cookies #14

      No Comments on Salesforce Cookies #14

How to use Lightning component into a Visualforce page Sometimes, you might have a situation where you want to access your lightning component in the Salesforce classic view and here ltng:outApp comes into picture. ltng:outApp : Is a component in the long namespace which is used to expose your lightning component outside of the lightning experience. Sample Code View the… Read more »

Clone Opportunity with Products

      No Comments on Clone Opportunity with Products

I released the 2nd version of the app which I built half a year ago.  Previous version of the app had some limitations like you can’t control the number of columns on edit product layout and the field which you want to carried over in new opportunity. Few Salesforce customers have been using it for last 6 months and they… Read more »

Setup web-to-lead form with dependent country and state fields in Salesforce

This is a question which I came across on the success community and which made me realise that it could be something which admins always look for an answer. Through this blog post I am going to give a simple solution which can even used by a Salesforce Admin who is not good with code. If you are a Salesforce… Read more »