Action: Generate QR Code

Action: Generate QR Code

Generate QR Code action allows to generate QR code for specified text or the URL.
The generated QR code can used in different ways, like can be saved to the specified library as .PNG image or inserted directly into the .pdf file using 
Insert image to PDF action.

Example of Generate QR Code action configuration on the current site


For more information about Action Builder read Action Builder introduction  article.

To configure the action Generate QR Code additional properties should be specified:


Configuration


Property

Required

Type

Description

QR Code

yes

String

Specify the URL or text you want to generate the QR Code for.

Pixels for module

no

Integer

Specify the size of the QR code image. Possible range: from 1 to 10.

Note: The larger the value, the better the image, but it requires more memory and time to generate. The default value is 4.

Target

yes

Choice

Specify how the generated QR Code will be saved:

·       Store Base64 - generated QR Code will be stored as Base64. For example, you can use it directly in Insert Image to PDF action.

·       Save to library 

Library

yes

 Choice

A library where the generated QR Code will be saved (stored).

Target folder

no

String

If you want to store (save) generated QR Code into the new folder you can specify it in this property.

File name

yes

String

Specifty the file name of the genereted QR code.

Note: Extension is optional in the end of the file. Only png extension is supported. 

If already exists

yes

 Choice

If the QR code image with the same name already exists you have several option to specify:
- Overwrite. It will overwrite to exiting QR code image in the target document library.
- Rename and keep both. It will rename QR code image you want to copy and keep existing one.
- Fail. Action will fail with an error: A QR code image with the name [[FileName]] already exists at the destination.


Availability

Modern Forms

List Actions

Scheduled/Triggered Actions

-

-

 

Output

Output Parameter

Type

Description

ItemID

String

Returns the Id of the generated QR code image saved in the library.

FileName

String

Returns the name of the the generated QR code saved in the library.

URL

String

Returns the full URL to the generated QR code in the library. Starts with 'https://'

ServerRelativeUrl

String

Server relative path to the created QR code saved in the library. Starts with '/'

LibraryRelativeUrl

String

Library relative path to the generated QR code saved in the library. Starts with folder name

Base64

String

Returns Base64 









    • Related Articles

    • How to use QR code image in the Document Generator template

      There are a lot of services that generate QR codes. In this article, we use this service to generate QR code image with Send HTTP request action and use this image in the Document Generator template: 1. Add Send HTTP request action with the API ...
    • Action Builder Introduction

      The Teamsware Studio Action Builder is a tool that allows you to specify actions which are executed in consecutive order. You can build powerful workflows triggered from a form button, on form load, from a list view, scheduled or event triggered on a ...
    • Action: Generate document

      Generate document action allows you to generate documents based on a standard Microsoft Word file filled with SharePoint list data. For more information about Action Builder read Action Builder Introduction article. For more information about ...
    • Action: Execute script

      Execute script action allows you dynamically run JavaScript scripts. For more information about Action Builder read Action Builder introduction article. To configure the action additional properties should be specified: Configuration Property ...
    • Action: Update meetings

      Update meetings action allows to update properties of the specified online meeting in Microsoft Teams and in Outlook as well. It allows to update properties of a single meeting and a series of meetings. Example of Upgrade meetings action ...