> For the complete documentation index, see [llms.txt](https://docs.videc.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.videc.de/june5-3.7/en/weitere-june5-produkte/june5-flexin-2/qr-codes.md).

# QR Codes

QR and bar codes are used to directly open a specific section of the data model in the [Explorer](/june5-3.7/en/weitere-june5-produkte/june5-flexin-2/bedienung/server-ansicht/explorer.md).

They must follow certain rules:

-The code is of type "Text"

-The code contains valid "JSON"

-Validate validity: ![](/files/rX64EOCDqN7vJlti9kbQ) <https://jsonlint.com/>

-The code contains at least one object identifier

{% hint style="warning" %}
QR codes are significantly superior to bar codes in this case. Beyond a certain content length, bar code recognition can have problems.
{% endhint %}

## Content

#### Object Identifier

| Abbreviation | Long Form          | Description                                                                                                                                                                                                          |
| ------------ | ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| dsk          | DataSourceKey      | <p>Often based on the name and structure from the data source. Can be changed in JUNE5.</p><p>Example:</p><p>-"J5005EN.E07-Churchfield"</p>                                                                          |
| oid          | ObjectModelItemUid | <p>Changes when a process variable is removed, the data model is synchronized, and the same process variable is subsequently added again.</p><p>Example:</p><p>-"aee7ce8e-0ac3-4274-a4dc-384678cad729"</p>           |
| vid          | ViewModelItemUid   | <p>Changes when the process variable is removed from a view and subsequently added again. Differs for the same process variable in different views.</p><p>Example:</p><p>-"a9d5d9eb-706c-4ab1-9ba0-19ae33d654b6"</p> |

All examples identify the process variable "J5005EN.E07-Churchfield (Churchfield (7))" on the demo server.

#### View Identifier

| Abbreviation | Long Form   | Description                                                                                                               |
| ------------ | ----------- | ------------------------------------------------------------------------------------------------------------------------- |
| rid          | RootViewUid | Defines which view the object identifier should be searched in. If nothing is specified, the "Standard View" is searched. |

#### Value Identifier

| Abbreviation | Long Form           | Description                                                                                                                                                                                                                                                                                                             |
| ------------ | ------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| val          | Value               | <p>The value to be pre-filled.</p><p>Example:</p><p>-"1.5" (becomes 15 in German and 1.5 in English)</p><p>-"1,5" (becomes 1.5 in German and 15 in English)</p>                                                                                                                                                         |
| clk          | Clock (Date + Time) | <p>YYYY-MM-DD HH:mm</p><p>Should represent an <img src="/files/rX64EOCDqN7vJlti9kbQ" alt=""> <a href="https://de.wikipedia.org/wiki/ISO_8601">ISO 8601</a> compliant string. If only a time is specified, the current date with the specified time is used.</p><p>Example:</p><p>-"2024-05-15 13:00"</p><p>-"13:00"</p> |
| com          | Comment             | A line break can be created by inserting "\n".                                                                                                                                                                                                                                                                          |

## Creation

Any tool can be used to create a QR code (e.g.: ![](/files/rX64EOCDqN7vJlti9kbQ) <https://www.qrcode-monkey.com/de/> ).

Here you can enter the JSON and generate a corresponding (text) QR code.

## Scanning

Codes can be scanned in the app (see [QR Code Scanning](/june5-3.7/en/weitere-june5-produkte/june5-flexin-2/bedienung/menuezeile.md#qrcodescannen)).

## Example Codes

All example codes identify the process variable "J5005EN.E07-Churchfield (Churchfield (7))" on the demo server.

| <img src="/files/QHDUwTXpY1SsC6rDxfpv" alt="churchfield dsk J5005EN.E07-Churchfield" data-size="original"> | <p>{</p><p>"dsk": "J5005EN.E07-Churchfield"</p><p>}</p> |
| ---------------------------------------------------------------------------------------------------------- | ------------------------------------------------------- |

![](/files/H8A7qUgwcQK6GwUZaiEm)

| <img src="/files/oXpq73WqEaTZ2gPSqPKY" alt="churchfield oid aee7ce8e-0ac3-4274-a4dc-384678cad729" data-size="original"> | <p>{</p><p>"oid": "aee7ce8e-0ac3-4274-a4dc-384678cad729"</p><p>}</p> |
| ----------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------- |

![](/files/ZPzBAz5lmDgmwGrJVA7S)

| <img src="/files/LyNlQULyGz85ub2SlJEN" alt="churchfield dsk oid" data-size="original"> | <p>{</p><p>"dsk": "J5005EN.E07-Churchfield",</p><p>"oid": "aee7ce8e-0ac3-4274-a4dc-384678cad729"</p><p>}</p> |
| -------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |

![](/files/BhqIY2Zs5qMwR3J5RxWm)

| <img src="/files/CnIjvpWV7C6jJH4E32L2" alt="churchfield vid a9d5d9eb-706c-4ab1-9ba0-19ae33d654b6" data-size="original"> | <p>{</p><p>"vid": "a9d5d9eb-706c-4ab1-9ba0-19ae33d654b6"</p><p>}</p> |
| ----------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------- |

![](/files/55vgHK2j5GaTI4UNeSoE)

| <img src="/files/3umU1YalAyVMYGMd43vN" alt="churchfield dsk with values" data-size="original"> | <p>{</p><p>"dsk": "J5005EN.E07-Churchfield",</p><p>"val": "5",</p><p>"clk": "13:37",</p><p>"com": "Churchfield, Today at 13:37: value is 5 "</p><p>}</p> |
| ---------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |

![](/files/yFWVysY8XSHKW6TEDXdj)

| <img src="/files/wMIuRgw7Qu4KmnCkCFUq" alt="" data-size="original"> | <p>Faulty Code</p><p>{</p><p>"dsk": "J5005EN.E07-Churchfield",</p><p>}</p> |
| ------------------------------------------------------------------- | -------------------------------------------------------------------------- |

![](/files/Gp5pbLqlHRPQ21aNqFVB)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.videc.de/june5-3.7/en/weitere-june5-produkte/june5-flexin-2/qr-codes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
