Symbol datatype in JavaScript

Symbols are new primitive type added in ECMAScript 2015. Symbols do not have a literal syntax, they have a Symbol() function that can be used to create them.

Symbols are unique. Each new symbol has a new, unique value.
Symbol() === Symbol() // false

Uses:
1. Symbols may be used as unique property keys. They prevent name clashes.
2. They may be used as constants representing concepts.
const CATEGORY_PHONES = Symbol('phones');

Difference between null and undefined in JavaScript

null and undefined are similar and both mean an absence of value. They are considered equal by the equality operator (==).
console.log(null == undefined); // true

To distinguish them the strict equality operator (===) should be used.
console.log(null === undefined); // false

The main difference between them is that undefined represents an unexpected absence of value and the value of a variable should not be set to undefined. null, however, represents normal, expected absence of value and if there is no value, the value of the variable can be set to null.

What is the Difference between var and let in JavaScript?

var keyword
Variables declared with the var keyword can not have Block Scope.
Variables declared inside a block {} can be accessed from outside the block.
Variables can be referred to before the declaration.

Example1:

  var x = 2; 
}
// x CAN be used here

Example2:
document.write( x );//undefined
var x = 9;
document.write( x );//9

let keyword
Variables declared with the let keyword can have Block Scope.
Variables declared inside a block {} cannot be accessed from outside the block.
Variables cannot be referred to before the declaration.
Example1:

  let x = 2;
}
// x can NOT be used here

Example2:
document.write( x );//throw an error
let x = 9;
document.write( x );//9

How to update contacts using Account and Contact names in Salesforce?

Use Account Name and Contact Name.


Resource Guide for Salesforce Field Service Lightning Consultant

Field Service Lightning in Salesforce lets customer service teams delegate work to field service technicians and monitor them and lets the latter access customer records in the field.

“Field Service Lightning connects your entire workforce on one platform to deliver smarter, faster, more personalized on-site service to your customers.”

Links for certification preparation:

Trailhead Trailmix - https://trailhead.salesforce.com/users/00550000006GZXcAAO/trailmixes/field-service-lightning-certification-fast-path#

Salesforce Help Resource - https://help.salesforce.com/articleView?id=fs_overview.htm&type=5

How to enable Field Service in Salesforce? - http://www.infallibletechie.com/2018/12/how-to-enable-field-service-in.html

Create Work Orders - https://help.salesforce.com/articleView?id=fs_create_wo.htm&type=5


Salesforce Disaster Recovery

Salesforce has disaster recovery plans in place and tests them at least once per year. The Salesforce Services utilize secondary facilities that are geographically remote from their primary data centers, along with required hardware, software, and Internet connectivity, in the event Salesforce production facilities at the primary data centers were to be rendered unavailable.

The Salesforce Services’ disaster recovery plans currently have the following target recovery objectives: (a) restoration of the Salesforce Service within 12 hours after Salesforce’s declaration of a disaster; and (b) maximum Customer Data loss of 4 hours; excluding, however, a disaster or multiple disasters causing the compromise of both data centers at the same time, and excluding development and test bed environments, such as the Sandbox service.

Source - https://help.salesforce.com/servlet/servlet.FileDownload?file=01530000003SIm9AAG

Salesforce maintains a copy of customer data for disaster recovery purposes, but it is important for customers to develop a data backup and recovery strategy as part of their overall data management and security model. The Salesforce Data Recovery service is an expensive and time-consuming process and should only be used as a last resort, when no other copy of the data is available.

https://help.salesforce.com/articleView?id=000213366&type=1

Hourly limit exceeded for processing workflow time triggers

1,000 workflow time triggers per hour is the current Salesforce limit for time trigger actions.

If you have 1100 time trigger actions to be executed between 7am and 8am, Salesforce executes 1000 between 7am and 8am and remaining 100 after 8am. Once the limit is reached Salesforce defers processing and resumes in the next our.

Salesforce limits the number of total and active rules in your org, the number of time triggers and actions per rule. It also processes a limited number of daily emails and hourly time triggers.

When workflows approach or exceed certain limits, Salesforce sends a warning email to the default workflow user or if the default workflow user isn't set then to an active system administrator.

HourlyTimeBasedWorkflow from OrgLimits.getAll() can give you the current limit.


Even though the limit is 1000, in my org it was set it to 50. Raise Salesforce support ticket to increase the limit.

Check the below link for more limits

https://help.salesforce.com/articleView?id=workflow_limits.htm&type=5

Why Salesforce Lightning Web Component is open source?

Lightning Web Components framework doesn’t have dependencies on the Salesforce platform. Instead, Salesforce-specific services are built on top of the framework. What that layered architecture means is that you can now use the Lightning Web Components framework to build web apps that run anywhere.

In the past, developers often had to use different frameworks to build different sides of an application. For example, you’d use Aura to build the employee-facing side of an application on Salesforce and React, Angular or Vue to build the customer engagement side of the application on Heroku or any other platform. Today, you can use Lightning Web Components to build both sides of the application. The benefits are significant: you only need to learn a single framework and you can share code between apps. And because Lightning Web Components is built on the latest web standards, you know you are using a cutting-edge framework based on the latest patterns and best practices.

Opportunity Age and Stage Duration in Salesforce

Age
For an open opportunity, the number of days since the opportunity was created. For a closed opportunity, the number of days between the creation date and the closed date.

Stage Duration
Stage Duration is the total number of days an opportunity is in a particular sales stage, specifically from the date when the opportunity changed to current stage until today.

Limitations:
1. Available only through standard reports.
2. We cannot add it to the page layout.