# Link to QR codes

You can use our online QR coder to convert links to mobile phone QR codes.

Add the link in question as the request string (after the ?)

Example:

```
https://omega.tempusserva.dk/qr/encode?https://docs.tsnocode.com/books/standard-integrations/page/link-to-qr-codes
```

As of version 11524 this servlet is now built into the platform and can be used like this:

```
qr?https://docs.tsnocode.com/books/standard-integrations/page/link-to-qr-codes
```

### <span class="mw-headline" id="bkmrk-transforming-access--1">Transforming access tokens to QR codes</span>

Assuming you allready have an interface for a solution, you can add a button to build QR codes containing the tokens for selected elements.

First create a field of the type **Button: Script execution**.

Then set up the JS to handle open a window with a code:

```javascript
let url = "main?command=dk.p2e.blanket.codeunit.common.PagePublicTokenBuilderQR&interface=foobar&SagID=257&DataID=" + DataID;
window.open(url, "QR code", "width=300,height=300,menubar=no,resizable=no,toolbar=no,location=no");
```

In the above you will need to change

- SagID
- interface