Posted in TED Talks

Looking for a job? Highlight your ability, not your experience

Enjoyed this TED Talk:
Looking for a job? Highlight your ability, not your experience by Jason Shen

Jason Shen shares some new thinking on how the hiring systems that was built around 20th century are failing and causing us to miss out people with incredible potential. He proposes how job seekers can make themselves more attractive and why employers should look for ability over credentials.

Continue reading “Looking for a job? Highlight your ability, not your experience”

Advertisements
Posted in Salesforce

Salesforce Apex : Writing Unit Test for ContentDocument

Salesforce’s SObject – ContentDocument supports only SELECT and DELETE operation. However INSERTing the document may be needed for writing Unit Tests which is not supported. There needs to be a workaround for it.

Continue reading “Salesforce Apex : Writing Unit Test for ContentDocument”

Posted in Salesforce

Lightning Component : Is it in Community or in Lightning Page?

To check if the Lightning component is in Lightning Community Page or in Salesforce Lightning CRM page, we can make use of Site Class‘s method – getSiteType().

This returns String value as:

Site

Return Value

Lightning Platform

Visualforce

Site.com

Siteforce

Lightning Platform Communities

ChatterNetwork

Site.com Communities

ChatterNetworkPicasso

CRM (Lightning Page)

null

Continue reading “Lightning Component : Is it in Community or in Lightning Page?”