Lightning component code review using CLI – Video

Lightning CLI is code linting tool, which can be used to validate source code of Lightning components (Javascript files only). This tool is made specially keeping Locker Service in mind where we can validate if Lightnign component is breaking any contract while trying to access DOM element out of its own scope.

Lightning CLI is based on open source project ESLint. Below video demonstrates how we can install Lightning CLI and use it for existing Lightning Components. You can subscribe to my youtube channel to get latest update on Salesforce related videos.

Use below command to install heroku CLI plugin, assuming you already have heroku installed :

 heroku plugins:install salesforce-lightning-cli

Get code review comments on screen as a text

heroku lightning:lint .

Get code review comment on screen as a JSON

heroku lightning:lint . -j

Export code review comments in a file

heroku lightning:lint . > CodeReview.txt
OR
heroku lightning:lint . -j > CodeReview.json

To export code review feedback generated by Salesforce Lightning CLI tool, refer this blog post.

Guide to setup Omni Channel in Salesforce with Video

We can route case or lead records to Queue on basis of assignment rules. Queue can also be set as an owner for custom object records. However, once record is assigned to queue, it needs manual intervention to assign it further to members in queue or queue member can assign to themselves. Queue members assigning to themselves, however may result into cherry picking. Some agents may resolve easier cases and some of them only gets time consuming or hard cases.

Omni-Channel offering from Service cloud is promising product and resolves this problem to some extend. It can automatically route records to agents in queue on basis of incoming case complexity and work load of agents.

Omni-Channel in Salesforce
Omni-Channel in Salesforce

In this post, we will walk through steps to set up Omni-Channel.

Delete Components using Ant Migration tool – Video

I have posted multiple basic and advance articles about using ANT or ANT migration tool with Salesforce. Some of most visited articles are :

Going through multiple comments, I decided to create this 5 minute video tutorial to demonstrate, how we can use DestructiveChanges.xml in Ant migration tool to delete components.

As known already, we cannot simply delete components from Salesforce production using changeset. Apex classes, triggers etc cannot be deleted manually as well.

subscribe to Youtube channel, to get notifications about new Salesforce videos.

 

Responsive Datagrid component in Lightning – Basics

Please refer this post of latest version of responsive Datagrid Lightning Component.

This is a first blog post of a series, to develop advance lightning components and understand various features offered by Salesforce Lightning Platform. This post will explain why do we need nested components and how do they communicate.

At first, nested components looks like displaying something in child component and wrapped in parent component. However, to make most of nested components and designing efficient Lightning components, we should use nested component only to define set of rules. Unlike components in Visualforce, where we render some reusable output on page, Nested components in Lightning defines set of attributes to be used by parent component.

Hard to digest and imagine ? Please read on this post, you will understand concept soon.

Export Datasets in Salesforce Analytics Cloud – Video

Once data is synced from various sources in Dataset, it is saved in proprietor format of Salesforce Wave Analytics Cloud and can be retrieved using Salesforce Analytics Query Language (SAQL). I came across free utility Analytics-Cloud-Dataset-Utils which is listed on my favorite Salesforce tools entry.

After downloading Analytics-Cloud-Dataset-Utils, simply execute jar file from console as shown in below video. New window will be opened in browser by executing that command.

Below video tutorial shows, how this tool can be used to extract Dataset from Salesforce Wave Analytics Cloud as a CSV file.

Salesforce Wave Analytics Cloud – Compare and Data Table (Video)

This is a third video in “Salesforce Wave Analytics Cloud” series to get familiar with platform.

This video demonstrates below functionality of Analytics cloud

  1. Logarithmic Scale
  2. Export lens as an image
  3. Focus
  4. Using Data table
  5. Benefit of Compare table

Salesforce Wave Analytics Cloud – Stacked Bar Chart Hands On (Video)

This is second video in series to learn and get familiar with “Salesforce Wave Analytics Cloud”.

This is first video to directly get hands-on wave platform after covering some of basics.

It shows how to use “Stacked Bar Chart” in lenses.

Salesforce Analytics Cloud Basics – Video

Salesforce Analytics Cloud is new Business Intelligence tool from Salesforce on Wave platform.

Salesforce Wave Analytics Cloud
Salesforce Wave Analytics Cloud

How Wave Works

We can import millions of data into wave from external systems like Salesforce, SAP, BOOMI, CSV, Informatica etc.

How Salesforce Wave works
How Salesforce Wave works

Imported data in Wave is known as Dataset. Multiple lenses can be created on those Datasets which could be used to create dashboards.

Flow in Salesforce – Youtube Video tutorial

1. Basics of Flow in 15 minutes

This video tutorial explains declaring variables in flow, best practices while declaring variable, reading URL parameter and storing it in flow variable, creating custom button to launch flow from page layout, updating record, proper handling of fault messages and displaying it to end users.