Mobile Layouts: QR Code

The QR Code widget is used to generate and display a QR code on the records page screen. It may contain a URL, pictures, text, and any other useful information.

Creating the Data Source Field

To create a data source field:

  1. Go to Setup → Object Manager → the Account object → Page Layouts → Fields & Relationships.

  2. Create a new field:

    • In the data type, select Text.

    • In the Field Name field, enter QRCodeSource.

    • In the Field Label field, enter the field label, e.g., QR Code Source.

  3. Go to Page Layouts → Account Layout → add the QR Code Source field to the layout.

  4. Go to the record and fill in the URL address in the QR Code Source field.

The data source field is configured.

Add QR Code to the Mobile Layout

To add the QR Code widget to the mobile layout:

  1. Go to Setup → Object Manager → the Account object.

  2. Click Page Layouts and select the mobile layout.

  3. Add the QR Code tab or use the existing tab.

  4. Drag and drop the Section element to the area below the existing tab on which you want to display QR code.

  5. In the Section Properties window, enter QRCODE in the Section Name field, and select the 1-Column layout. Ensure that the Display Section Header On checkbox is enabled.

    Do not translate the QRCODE section name. It is responsible for displaying QR Code on the mobile layout and should be left intact.
  6. Click OK.

  7. Drag and drop the Blank Space element below the QRCODE element.

    47749854
  8. Click Save.

The QR Code widget is configured. QR code is displayed in the tab on the mobile layout.

qr code
``