About: Abhimanyud3dx

Website: http://www.superqbit.com
Bio: 4x certified salesforce developer Git Repo : https://github.com/abhimanyud3dx

Posts by Abhimanyud3dx:

Iterate over Map in Salesforce Lightning

Here is a code sample for iterating over Map in Salesforce Lightning, returned from Apex class to the Lightning Controller. Apex class: LightningMapExampleController.cls Lightning Component: LightningMapIterateExample.cmp Lightning Component Controller: LightningMapIterateExampleController.js Hope that this blog would help, let me know in comments if you have any suggestions. Thanks


Salesforce Certification Public API and Score Card

Are you looking for a solution to embed your Salesforce Certifications on your blog, website or community then you are at the right place. Step 1. Get your Salesforce Unique Id Go to https://trailhead.salesforce.com/credentials/verification ◦ Search your Credentials using Name or Email ◦ Click on Show Credentials ◦ Click on Print View Button ◦ Copy …


Salesforce Trailhead Public API and Scorecard Leaderboard

Get a Salesforce Trailhead Badges, Points and Trails information via JSON and a preformatted HTML Card which we can embed to our blog or Website as a Leaderboard or Scorecard. Trailhead Score Card WordPress Plugin You can install this as a plugin directly in a WordPress, here is the link Scorecard Widget for Salesforce Trailhead …


Record Form onLoad, onSubmit and onSuccess event in Lightning Web Component

Using lightning-record-form we can create complete record Create, Edit or View form with few of line of code, we do not need to worry about writing code to include fields, they will be included automatically based on layout type and layout assigned to the running user. Create a new Web Component accountCreateForm accountCreateForm.html <template> <lightning-card> <h3 …


Setup Visual Studio Code for Salesforce Development without Scratch Org

This is a step to step guide to setup Visual Studio Code for salesforce development without using Dev-Hub and Scratch Orgs, you can now use vs code for your Dev Org and Sandboxes just like any other IDE, also this will allow you to push your manifest at many org at once and even sync …


Query Data in Visualforce page without Controller using Connection.js

Using Connection.js we can query any salesforce record directly in Visualforce page without Apex Controller, so if you are creating a Visualforce page to display data or create a record you can do that directly in visualforce by just using the connection.js library. Code to Retrieve data <apex:page > <script type=”text/javascript”> var __sfdcSessionId = ‘{!GETSESSIONID()}’; …


Prefill values in lightning:inputField

In order to prefill value in Lightning:inputField, first add an aura:Id and then specify the fieldName <lightning:inputField aura:id=”input_AccountId” fieldName=”AccountId” /> We will be using lightning:recordEditFor on Contact Object, and add onload method to it, I named it setDefaults for this example: <lightning:recordEditForm aura:id=”recordEditForm” recordId=”{!v.recordId}” objectApiName=”Contact” onload=”{!c.setDefaults}”> finally, in the setDefaults method in js controller use …


Play sound in Lightning Component

Here is a sample component which plays a reminder tone on button click. SoundNotificationCmp.cmp <aura:component implements=”flexipage:availableForAllPageTypes”> <!– attribute to play sound –> <aura:attribute name=”playSound” type=”Boolean” default=”false”/> <!– button to trigger sound event –> <lightning:button variant=”neutral” title=”Play Sound” onclick=”{! c.triggerSoundEvent }”> <aura:if isTrue=”{!v.playSound}” > <lightning:Icon iconName=”{!v.playSound ? ‘utility:volume_high’ : ”}” size=”small” /> </aura:if> Play Sound </lightning:button> …