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:
|
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 |