**Source URL:** https://commercial.veevavault.help/en/lr/1206087/

# Generating QR Codes

With the Generate QR Codes feature, PromoMats can generate QR codes for URLs on the _Website_ object. Traditionally, QR codes have been created externally and managed as individual documents, typically stored as separate _Component_ assets. This feature automates generating QR codes and allows the QR code and destination URL to be stored together, allowing for a more seamless experience.

## Creating QR Codes

When you create a _Website_ (`website__v`) object record under **Business Admin > Objects**, you can select the **Generate QR Code** checkbox to generate a QR code for the URL associated with the website. Vault then creates the QR code and saves it as an attachment (.SVG file) on the record. You can generate a QR code for any of the _Distribution Channel Types_ available on the _Website_ object, but this functionality is intended for the _Webpage_, _Public Distribution_, _Privacy Policy_, and _Unsubscribe Link_ types.

If you modify the _URL_ field on a _Website_ record or copy the record via the _Make a Copy_ action, Vault removes the existing QR code and generates a new QR code only if the _Generate QR Code_ checkbox is already selected on the source record. If you generate a QR code via a bulk action from the _Website_ record, Vault sends you an email and a notification with a downloadable .CSV file that contains the _Website_ record, a success or failure status, and a failure reason, if applicable.

## Enabling QR Codes

Admins can configure QR codes on the _Website_ (`website__v`) object by provisioning the standard layout and standard layout rules under **Admin > Configuration > Objects > Website > Layouts**.

## Limitations

  * The generated .SVG file for the QR code only allows filenames with characters a-z, A-Z, 0-9, and periods (.), underscores (\_), and dashes (-). Other characters default to underscores (\_).

## Related Permissions

To utilize this feature, users require _Edit_ permission on the _URL_ (`url__v`) field and _Generate QR Code_ (`generate_qr_code__v`) checkbox.