Monthly Archives: May 2019

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 »