Salesforce Apex

Salesforce

How to pass URL Parameters to Lightning Aura Component Tab from Visualforce Page in Salesforce?

Sample Code: Visualforce Page: <apex:page controller="SampleVFController">     <apex:form>         <apex:commandButton value="Click" action="{!openLightningComponent}"/>     </apex:form> </apex:page> Apex Class: public class SampleVFController {          public PageReference openLightningComponent() {        ....

Salesforce

Custom sorting with Up and Down Arrow using LWC in Salesforce

Sample Code: HTML: <template> <div class="slds-box slds-theme--default"> <div class="slds-text-color_inverse slds-text-heading_large" style="padding:0.5rem;background:#16325c"> Accounts </div> <table class="slds-table slds-table_cell-buffer slds-table_bordered slds-table_striped"> <thead> <tr class="slds-line-height_reset"> <th class="" scope="col"> <a class="slds-th__action slds-text-link_reset" href="javascript:void(0);" role="button" tabindex="0" ....