Filter Picklist Values Based on Record Type in Lightning
Filter Picklist Values Based on Record Type in Lightning October 3, 2018 Rajat Koradiya Filter Picklist Values Based on Record Type Retrieving a picklist value based on record type is possible in VF page using standard controller In lightning, Salesforce UI API supports a functionality to filter a picklist value based on record type based on this idea You can download the code from Here Use Case: I have picklist values based on Record Type defined as bel...
How to Call Salesforce API from Lightning Component
You may have heard about that we can not make the Salesforce API Call directly from the lightning component. If you do make the callout from the lightning component then you will get the below error INVALID_SESSION_ID:This session is not valid for use with the API. For Example when you will execute the below code from the Developer Console then you will get the Valid Response 1 2 3 4 5 6 7 8 9 10 11 HTTP h = new HTTP(); HTTPRequest req = new HTTPRequest(); HttpRes...