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...
salesforce lightning icon
<lightning:card title="{!v.headerTitle}" iconName="standard:related_list" class="title"> <aura:set attribute="actions"> <lightning:button class="slds-float_right slds-m-bottom_xx-small slds-m-right_small" variant="brand" label="New Form Link" title="New Form Link" onclick="{!c.CreateNewFormLink}" /> <ui:inputSelect label="Filter By: " value="{!v.filterLob}" change="{!c.filterDataTable}"> <option value="--None--">--None--</option> <opt...