ALL THINGS CODE

October 3, 2019

Chart JS is a JavaScript library for creating Charts in the browser. There is about 8 different types of charts that you can create. You can even mix types in one chart.

In this blog post, I share the code for creating charts in lightning components using Chart.js libra...

August 26, 2019

In this post, I will be showing how speech recognition can be added in Salesforce Lightning UI using Google's Speech API.

The JavaScript Web Speech API allows spoken text to be converted into written text in a web browser. You can speak into a microphone and the API wil...

March 19, 2017

Requirement Specification: 

We need to create a user record when a contact record is created:

-Timezone: We need to go and read from the Account's timezone field.

-Current values for timezone are

Pacific
Mountain
Central
Eastern
Alaskan
Hawaiian
New Foundland
Australia/Syd...

July 14, 2016

 Sometime ago, I was doing work for a client that required mult-select picklists to be displayed as checkboxes on a Force.com site. The Visualforce pages  were client facing and therefore needed a consistent look and feel with optimal UX.

It was quite an...

May 29, 2016

Webflow is a drag & drop editor for developing  mobile friendly pages and adding nice treatments to them without code.

While you are putting elements together, it builds the code in the background which you can export to Visualforce.

While coding by hand m...

February 23, 2016

Below is the link to the demo, click on 'Learn More' to see the second page.

 

http://renderingfielddemo-developer-edition.eu5.force.com/Test_Login2

 

 

Code.

 

<apex:page showHeader="false" sidebar="false" standardController="Resource__c" standardStylesheets="false" docType=...

February 21, 2016

In this post, I'll be posting a sample test class I wrote that has all CRUD operations and includes attachements in POST. It's built on a custom object Individual_KYC__c that has all the fields. 

 

The class.

 

@RestResource(urlMapping='/Demo/IndividualKYCManager...

November 19, 2015

In this post I'll be creating a record in Salesforce with file attachements using Rest api.

The first step is to create a connected app in SF.

Upon clicking save, a Consumer Key and Consumer Secret will be generated which will be used to authenticate access to SF.

 Now we...

May 16, 2015

Click Option 6 here to see how it works. This is how the slider looks like.

If it is moved the value on the input field changes to the number the user selects. 

 

To get it to work sliders, start by referencing jQuery plugins on the Visualforce page.

 

 <apex:incl...

Please reload

Featured Posts

'Mobile first' approach with Webflow

May 29, 2016

1/1
Please reload

Archive
Please reload

Recent Posts
Please reload

Lets connect
  • SF Whizz
  • Mhlangano Khumalo Linkedin
  • SF Whizz

Connect

  • White LinkedIn Icon
  • Twitter Clean
  • Salesforce Whizz

© 2020 by Mhlangano Khumalo 

All rights reserved