How to Generate QR code for any Salesforce Object



How to Generate QR code for any Salesforce Object : QR code Result

WHAT IS QR CODE? QR code (Quick Response Code) is the trademark for a type of matrix bar-code (or two-dimensional bar-code) first designed for the automotive industry in Japan.A bar-code is an optical label that is read by machines and contains information about the item to which it is attached. There are four standardized encoding modes that a QR code uses to efficiently store data. Numeric, Alphanumeric, Byte/Binary, Kanji, Extensions may also be used. We can generate QR Code for any Object without using coding.

We need to follow just few simple steps to generate QR code for any object in Salesforce. Here we have Picked Product Salesforce Object. Let’s see how to generate QR Code in Salesforce.

Step-1 : Go to setup and Click Object Manager tab.

Step-2 : Select any object, Here we have selected Product object.

Salesforce Product Object

Step-3 : Click the “Fields & Relationships” from left side after that click on “New” to create new field.

QR code New field

Step-4 : Now choose the Formula and click Next.

Step-5 : Fill field name with “Product QR Code” and Select Formula Return Type as “Text”.

QR code Field Type

Step-6 : Then paste the following code in formula area : IMAGE(‘https://chart.googleapis.com/chart?chs=200×200&cht=qr&chl=’+ProductCode ,’alternate text’)

QR code Salesforce Formula

 

Note : Here we have chosen Product Code(Marked as Green Color).Click to preview demo QR code.

Step-7 : click Next >> Next >> Save.

QR Code  Result :

 Result