Anil Somasundaran

Teacher | Coder | Rider

Extending Lightning Components

Scenario In lightning, we have developed multiple components for different functionalities. All custom components include a lot of boilerplate code and we will have to exclude most of the redundant code by building generic function in the helper part of aura bundle. However, it wouldn’t be the perfect solution to avoid the redundancy as we will have …

Extending Lightning Components Read More »

How to modify the style of a seeded lightning-quick action modal popup component

Scenario I was trying to place a quick action button to display custom lightning component to show a PDF. The quick action popup is coming with a default header and footer. The footer has only one cancel action button but, we need to have 3 action buttons, to perform savePDF, emailPDF and cancel. To achieve …

How to modify the style of a seeded lightning-quick action modal popup component Read More »

How to refresh the parent tab from child tab in console app salesforce

Scenario  Consider a scenario where we need to create a related object record of standard Case object, using the new button in the related list. For example, Case Asset is one of the related objects of the case object and its new button action is overridden with a custom page. The save action defined in …

How to refresh the parent tab from child tab in console app salesforce Read More »

Action Function in Salesforce ?

Action Function is an apex component in visual force page. Apex: Form tag enclosed in the action function tag, which can be able to call the controller method. Action function invoked from the JavaScript as XHR (XML Http Request).   For Details <apex:form > <apex:actionFunction action=”{!register}” name=”registerStudent” rerender=”showstate”> <apex:param name=”studentData” value=”” /> </apex:actionFunction> </apex:form>