{"id":1760,"date":"2019-02-12T08:32:29","date_gmt":"2019-02-12T14:32:29","guid":{"rendered":"https:\/\/www.teamdesk.net\/blog\/?p=1760"},"modified":"2021-09-15T04:09:09","modified_gmt":"2021-09-15T09:09:09","slug":"link-qr-code-scanner-to-your-database","status":"publish","type":"post","link":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/link-qr-code-scanner-to-your-database\/","title":{"rendered":"Link a QR code scanner to your database"},"content":{"rendered":"<p>Let\u2019s consider an example on how to link a QR code scanner to a database. Say you\u2019ve built the \u201cQR Code Scanner\u201d application. The main idea of this database is that users can scan QR codes via a mobile device and then search database tables for records containing QR codes.<\/p>\n<p>Assume that your database keeps descriptions and photos of different computer parts. Each part has a unique QR code. There are parts of two types: Type A and Type B, so you keep these types in two separate tables:<\/p>\n<p>\u201cType A Parts\u201d table:<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/QR-code-scanner-A-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1737\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/QR-code-scanner-A-1.png\" alt=\"QR Code Scanner\" width=\"1056\" height=\"671\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/QR-code-scanner-A-1.png 1056w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/QR-code-scanner-A-1-300x191.png 300w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/QR-code-scanner-A-1-768x488.png 768w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/QR-code-scanner-A-1-1024x651.png 1024w\" sizes=\"auto, (max-width: 1056px) 100vw, 1056px\" \/><\/a><\/p>\n<p>\u201cType B Parts\u201d table:<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/QR-code-scanner-B-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1728\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/QR-code-scanner-B-2.png\" alt=\"QR Code Scanner B\" width=\"1150\" height=\"714\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/QR-code-scanner-B-2.png 1150w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/QR-code-scanner-B-2-300x186.png 300w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/QR-code-scanner-B-2-768x477.png 768w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/QR-code-scanner-B-2-1024x636.png 1024w\" sizes=\"auto, (max-width: 1150px) 100vw, 1150px\" \/><\/a><\/p>\n<p>So, each user should be able to scan a particular part\u2019s QR code to search the database for this component and get all the supplemental information related to this part.<\/p>\n<p>For example:<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Generated-Doc-3-e1549633490671.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1729\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Generated-Doc-3-e1549633490671.png\" alt=\"QR Code Scanned\" width=\"338\" height=\"600\" \/><\/a><\/p>\n<h2>What would you have to setup in your database to build this functionality?<\/h2>\n<h3>1.Generated Document<\/h3>\n<p>In this example each table contains a <a href=\"https:\/\/www.teamdesk.net\/help\/9.aspx\">generated document<\/a> that keeps all the data related to the part. For instance, \u201cDocument A\u201d can be generated in the \u201cType A Parts\u201d table.<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Document-A-settings-4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1730\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Document-A-settings-4.png\" alt=\"DocumentA settings\" width=\"972\" height=\"363\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Document-A-settings-4.png 972w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Document-A-settings-4-300x112.png 300w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Document-A-settings-4-768x287.png 768w\" sizes=\"auto, (max-width: 972px) 100vw, 972px\" \/><\/a><\/p>\n<p>\u201cDocument B\u201d can be generated in the \u201cType B Parts\u201d table.<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Document-B-settings-5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1731\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Document-B-settings-5.png\" alt=\"DocumentB settings\" width=\"979\" height=\"369\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Document-B-settings-5.png 979w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Document-B-settings-5-300x113.png 300w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Document-B-settings-5-768x289.png 768w\" sizes=\"auto, (max-width: 979px) 100vw, 979px\" \/><\/a><\/p>\n<h3>2.Auxiliary Formula-Text column<\/h3>\n<p>Moreover, you need to add a \u201cRecordId\u201d auxiliary <a href=\"https:\/\/www.teamdesk.net\/help\/4.6.16.aspx\">formula-text<\/a> column to each table with the following formula: RecordId().<\/p>\n<p>So, let\u2019s create the \u201cRecordId\u201d formula-text column in the \u201cType A Part\u201d table:<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/RecordId-A-6.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1732\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/RecordId-A-6.png\" alt=\"RecordID A\" width=\"727\" height=\"365\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/RecordId-A-6.png 727w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/RecordId-A-6-300x151.png 300w\" sizes=\"auto, (max-width: 727px) 100vw, 727px\" \/><\/a><\/p>\n<p>Also, you should create the same column in the \u201cType B Part\u201d table:<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/RecordId-B-7.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1733\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/RecordId-B-7.png\" alt=\"RecordsID B\" width=\"730\" height=\"367\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/RecordId-B-7.png 730w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/RecordId-B-7-300x151.png 300w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/a><\/p>\n<p>These columns will be used in the future adjustment.<\/p>\n<h3>3.New \u201cSearch Requests\u201d table<\/h3>\n<p>Now you need to create a new auxiliary <a href=\"https:\/\/www.teamdesk.net\/help\/3.1.aspx\">table<\/a>. Let\u2019s name it \u201cSearch Requests\u201d. This table should include the following columns: QR Code, Document, RecordIdA , RecordIdB, DocumentA, DocumentB.<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Columns-8.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1734\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Columns-8.png\" alt=\"Columns\" width=\"988\" height=\"827\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Columns-8.png 988w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Columns-8-300x251.png 300w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Columns-8-768x643.png 768w\" sizes=\"auto, (max-width: 988px) 100vw, 988px\" \/><\/a><\/p>\n<p>First, let\u2019s create a \u201c<a href=\"https:\/\/www.teamdesk.net\/help\/4.6.22.aspx\">Barcode type<\/a>\u201d- column called \u201cQR Code\u201d. Select \u201cQR Code\u201d option in the \u201cType\u201d dropdown:<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/QR-Code-9.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1735\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/QR-Code-9.png\" alt=\"QR Code\" width=\"986\" height=\"415\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/QR-Code-9.png 986w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/QR-Code-9-300x126.png 300w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/QR-Code-9-768x323.png 768w\" sizes=\"auto, (max-width: 986px) 100vw, 986px\" \/><\/a><\/p>\n<p>Then add a \u201c<a href=\"https:\/\/www.teamdesk.net\/help\/4.6.13.aspx\">File Attachment<\/a>\u201d &#8211; type column called \u201cDocument\u201d. It will be used in the workflow action setup.<br \/>\nOn the next step it is important to add two <a href=\"https:\/\/www.teamdesk.net\/help\/8.2.aspx\">Many-to-Many<\/a> relations:<br \/>\n&#8211; between \u201cType A Parts\u201d and \u201cSearch Requests\u201d tables<br \/>\n&#8211; between \u201cType B Parts\u201d and \u201cSearch Requests\u201d tables.<br \/>\nwith the following <a href=\"https:\/\/www.teamdesk.net\/help\/8.4.aspx\">match condition<\/a>: [QR Code]=[QR Code]<\/p>\n<p>As a result, you can now add \u201cRecordIdA\u201d and \u201cRecordIdB\u201d <a href=\"https:\/\/www.teamdesk.net\/help\/4.5.aspx\">summary columns<\/a> to each relation respectively. These columns pull a maximal record ID from the related \u201cType A Parts\u201d or \u201cType B Parts\u201d table if a scanned QR code value kept in the \u201cSearch Request\u201d record matches the QR code value kept in the \u201cType A Parts\u201d (or \u201cType B Parts\u201d).<\/p>\n<p>Here is an example of the \u201cRecordIdA\u201d summary column:<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/RecordIdA-summary-10.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1736\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/RecordIdA-summary-10.png\" alt=\"RecordIdA summary column\" width=\"1043\" height=\"525\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/RecordIdA-summary-10.png 1043w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/RecordIdA-summary-10-300x151.png 300w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/RecordIdA-summary-10-768x387.png 768w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/RecordIdA-summary-10-1024x515.png 1024w\" sizes=\"auto, (max-width: 1043px) 100vw, 1043px\" \/><\/a><\/p>\n<p>The \u201cRecordIdB\u201d summary column should be added to the second relation.<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/RecordIdB-summary-11.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1745\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/RecordIdB-summary-11.png\" alt=\"RecordIdB summary column\" width=\"1046\" height=\"515\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/RecordIdB-summary-11.png 1046w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/RecordIdB-summary-11-300x148.png 300w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/RecordIdB-summary-11-768x378.png 768w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/RecordIdB-summary-11-1024x504.png 1024w\" sizes=\"auto, (max-width: 1046px) 100vw, 1046px\" \/><\/a><\/p>\n<p>The most difficult step is to build <a href=\"https:\/\/www.teamdesk.net\/help\/4.6.16.aspx\">formula-URL<\/a> columns. For instance, the \u201cDocumentA\u201d formula-URL column should contain a URL that consists of the elements described below:<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/FormulaURL-A-12.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1747\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/FormulaURL-A-12.png\" alt=\"FormulaURL A column\" width=\"1000\" height=\"605\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/FormulaURL-A-12.png 1000w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/FormulaURL-A-12-300x182.png 300w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/FormulaURL-A-12-768x465.png 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><\/p>\n<table border=\"1\">\n<tbody>\n<tr>\n<th>URL Element<\/th>\n<th>Description<\/th>\n<\/tr>\n<tr>\n<td>62922<\/td>\n<td>This is a database id number that is visible in database URL, for example:<br \/>\nhttps:\/\/www.teamdesk.net\/secure\/db\/62922\/overview.aspx?t=516386<br \/>\nYour database will have a different number.<\/td>\n<\/tr>\n<tr>\n<td>9302F8A771AA4C2EB98A13AA35923400<\/td>\n<td>This is the <a href=\"https:\/\/www.teamdesk.net\/help\/15.6.aspx\">REST API<\/a> authorization token generated by the system. In your database you will use a different token.<\/td>\n<\/tr>\n<tr>\n<td>Type%20A%20Part<\/td>\n<td>This is the table name \u201cType A Part\u201d, please note that spaces are replaced by \u201c%20\u201d.<\/td>\n<\/tr>\n<tr>\n<td>Document%20A<\/td>\n<td>This is the document name. In this example the document name is \u201cDocument A\u201d. So, the space is replaced by \u201c%20\u201d.<\/td>\n<\/tr>\n<tr>\n<td>[RecordIdA]<\/td>\n<td>This is the name of the summary column described above.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>You need this formula-URL column to generate a URL referring to the document that belongs to a \u201cType A Part\u201d record if the QR code of this record was scanned.<\/p>\n<p>Also,\u00a0 you should build a similar URL for the \u201cDocumentB\u201d formula-URL column.<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/FormulaURL-B-13.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1748\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/FormulaURL-B-13.png\" alt=\"FormulaURL B column\" width=\"995\" height=\"602\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/FormulaURL-B-13.png 995w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/FormulaURL-B-13-300x182.png 300w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/FormulaURL-B-13-768x465.png 768w\" sizes=\"auto, (max-width: 995px) 100vw, 995px\" \/><\/a><\/p>\n<h3>4.Form Behavior<\/h3>\n<p>When all the columns are added, you need to adjust the <a href=\"https:\/\/www.teamdesk.net\/help\/7.2.aspx\">form behavior<\/a> in the \u201cSearch Requests\u201d table. First, set the \u201cDocument\u201d column as \u2018Readonly\u2019 on the Default Form. After that add the RecordId()&lt;&gt;&#8221;0&#8243; criteria and set the \u2018Readonly\u2019 option for the \u201cQR Code\u201d column in this criterion.<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Behavior-14.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1749\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Behavior-14.png\" alt=\"Form Behavior\" width=\"943\" height=\"560\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Behavior-14.png 943w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Behavior-14-300x178.png 300w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Behavior-14-768x456.png 768w\" sizes=\"auto, (max-width: 943px) 100vw, 943px\" \/><\/a><\/p>\n<h3>5.Mobile Device Record Create action<\/h3>\n<p>Now you need to add a mobile action allowing code scanning and searching. Let\u2019s set it up in the \u201cSearch Requests\u201d table and name this action \u201cSearch for a record\u201d.<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Record-Create-Mobile-15.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1750\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Record-Create-Mobile-15.png\" alt=\"Record Create Mobile\" width=\"946\" height=\"664\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Record-Create-Mobile-15.png 946w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Record-Create-Mobile-15-300x211.png 300w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Record-Create-Mobile-15-768x539.png 768w\" sizes=\"auto, (max-width: 946px) 100vw, 946px\" \/><\/a><\/p>\n<p>The \u201cSearch for a record\u201d <a href=\"https:\/\/www.teamdesk.net\/help\/11.4.5.aspx\">mobile device \u2018record create\u2019 action<\/a> allows QR code scanning and inserting this code into the \u201cQR Code\u201d column. As a result, a new record is added to the \u201cSearch Requests\u201d table.<\/p>\n<h3>6.Triggers with Mobile Device Record Update actions<\/h3>\n<p>The next step is to create <a href=\"https:\/\/www.teamdesk.net\/help\/11.3.aspx\">triggers<\/a> with mobile device record update actions. In our example you need to create two similar <a href=\"https:\/\/www.teamdesk.net\/help\/11.3.1.aspx\">Record Change Triggers<\/a>. Let\u2019s name these triggers \u201cIf QRCodeA\u201d and \u201cIf QRCodeB\u201d respectively.<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Triggers-16.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1751\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Triggers-16.png\" alt=\"QR Code Scanner Triggers\" width=\"875\" height=\"650\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Triggers-16.png 875w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Triggers-16-300x223.png 300w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Triggers-16-768x571.png 768w\" sizes=\"auto, (max-width: 875px) 100vw, 875px\" \/><\/a><\/p>\n<p>Moreover, each trigger should include two actions:<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Trigger-A-17.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1767\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Trigger-A-17.png\" alt=\"Trigger A with Actions\" width=\"847\" height=\"680\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Trigger-A-17.png 847w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Trigger-A-17-300x241.png 300w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Trigger-A-17-768x617.png 768w\" sizes=\"auto, (max-width: 847px) 100vw, 847px\" \/><\/a><\/p>\n<p>The first action of the \u2018<a href=\"https:\/\/www.teamdesk.net\/help\/11.4.2.aspx\">Update Record<\/a>\u2019 type is called \u201cGenerate DocumentA\u201d.<br \/>\nThis action contains one assignment.<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Assignment-A-18.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1768\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Assignment-A-18.png\" alt=\"Assignments A\" width=\"875\" height=\"580\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Assignment-A-18.png 875w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Assignment-A-18-300x199.png 300w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Assignment-A-18-768x509.png 768w\" sizes=\"auto, (max-width: 875px) 100vw, 875px\" \/><\/a><\/p>\n<p>The second action of the \u2018<a href=\"https:\/\/www.teamdesk.net\/help\/11.4.6.aspx\">Mobile Device Update Record<\/a>\u2019 type is called \u201cSearch Result\u201d.<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Search-Result-action-19.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1769\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Search-Result-action-19.png\" alt=\"Search Result\" width=\"851\" height=\"682\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Search-Result-action-19.png 851w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Search-Result-action-19-300x240.png 300w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Search-Result-action-19-768x615.png 768w\" sizes=\"auto, (max-width: 851px) 100vw, 851px\" \/><\/a><\/p>\n<p>Please note that this mobile device update record action is used in both triggers.<\/p>\n<p>Now you can add the \u201cIf QRCodeB\u201d trigger to the \u201cSearch Request\u201d table. The setup is similar to the \u201cIf QRCodeA\u201d trigger setup, but you need to use the \u201cRecordIdB\u201d column in the filter:<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Trigger-B-20.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1770\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Trigger-B-20.png\" alt=\"Trigger B with actions\" width=\"858\" height=\"680\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Trigger-B-20.png 858w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Trigger-B-20-300x238.png 300w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Trigger-B-20-768x609.png 768w\" sizes=\"auto, (max-width: 858px) 100vw, 858px\" \/><\/a><\/p>\n<p>and the \u201cDocumentB\u201d column in the \u201cGenerate DocumentB\u201d action:<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Assignment-B-21.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1771\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Assignment-B-21.png\" alt=\"Assignmetns B\" width=\"875\" height=\"587\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Assignment-B-21.png 875w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Assignment-B-21-300x201.png 300w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Assignment-B-21-768x515.png 768w\" sizes=\"auto, (max-width: 875px) 100vw, 875px\" \/><\/a><\/p>\n<p>After that you can add the existing \u201cSearch Result\u201d mobile device update record action to the \u201cIf QRCodeB\u201d trigger.<\/p>\n<p>As the result, you can see the following <a href=\"https:\/\/www.teamdesk.net\/help\/11.4.8.aspx\">actions<\/a> created in the \u201cSearch Requests\u201d table:<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/All-Mobile-Actions-22.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1772\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/All-Mobile-Actions-22.png\" alt=\"Mobile Actions\" width=\"871\" height=\"572\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/All-Mobile-Actions-22.png 871w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/All-Mobile-Actions-22-300x197.png 300w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/All-Mobile-Actions-22-768x504.png 768w\" sizes=\"auto, (max-width: 871px) 100vw, 871px\" \/><\/a><\/p>\n<p>The database adjustment is done.<\/p>\n<h2>How to link QR scanner to database?<\/h2>\n<h3>1.Connection of mobile device to database account<\/h3>\n<p>To connect your mobile device, such as smartphone, to <a href=\"https:\/\/www.teamdesk.net\/help\/1.6.aspx\">your account<\/a>, open the \u201cPersonal information\u201d page and click on the \u201cNew\u201d button in the \u201cDevices\u201d section.<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Devices-New-23.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1773\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Devices-New-23.png\" alt=\"Add new Device\" width=\"811\" height=\"656\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Devices-New-23.png 811w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Devices-New-23-300x243.png 300w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Devices-New-23-768x621.png 768w\" sizes=\"auto, (max-width: 811px) 100vw, 811px\" \/><\/a><\/p>\n<p>Then you will see a QR code of your user account.<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/DB-QR-code-24.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1775\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/DB-QR-code-24.png\" alt=\"DB QR Code\" width=\"644\" height=\"672\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/DB-QR-code-24.png 644w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/DB-QR-code-24-288x300.png 288w\" sizes=\"auto, (max-width: 644px) 100vw, 644px\" \/><\/a><\/p>\n<p>As the next step you should download <a href=\"https:\/\/www.teamdesk.net\/blog\/whats-new\/mobile-client-application\/\">TeamDesk Mobile Client App<\/a> and click on the \u201cScan QR Code\u201d button.<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Scan-QR-code-25.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1776\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Scan-QR-code-25-576x1024.png\" alt=\"Scan QR code button\" width=\"338\" height=\"601\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Scan-QR-code-25-576x1024.png 576w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Scan-QR-code-25-169x300.png 169w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Scan-QR-code-25.png 720w\" sizes=\"auto, (max-width: 338px) 100vw, 338px\" \/><\/a><\/p>\n<p>As a result, you\u2019ll see the \u201cInbox\u201d screen.<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Mobile-26.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1778\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Mobile-26.png\" alt=\"Inbox\" width=\"338\" height=\"600\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Mobile-26.png 720w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Mobile-26-169x300.png 169w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Mobile-26-576x1024.png 576w\" sizes=\"auto, (max-width: 338px) 100vw, 338px\" \/><\/a><\/p>\n<h3>2.Mobile Device Record Create Action<\/h3>\n<p>To enable QR code scanning you need to activate the \u201cSearch for a record\u201d action.<br \/>\nClick on the menu icon to open the menu:<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Mobile-27.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1779\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Mobile-27.png\" alt=\"Mobile Menu\" width=\"338\" height=\"600\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Mobile-27.png 720w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Mobile-27-169x300.png 169w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Mobile-27-576x1024.png 576w\" sizes=\"auto, (max-width: 338px) 100vw, 338px\" \/><\/a><\/p>\n<p>Choose the \u201cSearch for a record\u201d link in the menu to activate a mobile \u2018record create\u2019 action.<\/p>\n<p>As you know, the \u201cSearch for a record\u201d action allows to fill in the \u201cQR Code\u201d column value when you scan a particular part\u2019s QR code via your mobile phone.<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Mobile-28.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1781\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Mobile-28.png\" alt=\"Mobile Search\" width=\"338\" height=\"601\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Mobile-28.png 720w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Mobile-28-169x300.png 169w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Mobile-28-576x1024.png 576w\" sizes=\"auto, (max-width: 338px) 100vw, 338px\" \/><\/a><\/p>\n<p>Click on the QR code icon to begin scanning.<\/p>\n<p>When the scan is complete, the text will appear in the \u201cQR Code\u201d field.<\/p>\n<p>Use the \u201cSend\u201d icon to submit the record.<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Mobile-29.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1784\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Mobile-29.png\" alt=\"Submit Record\" width=\"338\" height=\"601\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Mobile-29.png 720w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Mobile-29-169x300.png 169w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Mobile-29-576x1024.png 576w\" sizes=\"auto, (max-width: 338px) 100vw, 338px\" \/><\/a><\/p>\n<p>As a result, the request will be sent to the database and a new record containing QR code value will be created in the \u201cSearch Requests\u201d table.<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Search-results-table-30.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1785\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Search-results-table-30.png\" alt=\"Search results table\" width=\"969\" height=\"424\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Search-results-table-30.png 969w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Search-results-table-30-300x131.png 300w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Search-results-table-30-768x336.png 768w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/><\/a><\/p>\n<p>You can see the sent requests in the \u201cSent\u201d menu option:<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Mobile-31.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1787\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Mobile-31.png\" alt=\"Mobile Menu Sent\" width=\"338\" height=\"600\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Mobile-31.png 720w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Mobile-31-169x300.png 169w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Mobile-31-576x1024.png 576w\" sizes=\"auto, (max-width: 338px) 100vw, 338px\" \/><\/a><\/p>\n<h3>3.Mobile Device Record Update action<\/h3>\n<p>When you enter \u201cInbox\u201d tab, you may review linked document containing Part A (or Part B) detailed description. This document is generated by either \u201cGenerate DocumentA\u201d or \u201cGenerate DocumentB\u201d record update actions and can be opened via a mobile phone with the help of the \u201cSearch Result\u201d mobile device \u2018record update\u2019 action.<\/p>\n<p>\u201cInbox\u201d tab is updated every 5-10 minutes automatically. You can still update \u201cInbox\u201d manually by scrolling an empty screen down to force uploading of the inbox record\/notification.<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Mobile-32.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1788\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Mobile-32.png\" alt=\"Mobile Search Result record\" width=\"338\" height=\"600\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Mobile-32.png 720w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Mobile-32-169x300.png 169w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Mobile-32-576x1024.png 576w\" sizes=\"auto, (max-width: 338px) 100vw, 338px\" \/><\/a><\/p>\n<p>Click on the notification to open the record and review generated \u201cDocument A\u201d.<\/p>\n<p>As you can see, the QR code you scanned is \u2018Type A Part\u2019 QR code.<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Mobile-33.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1789\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Mobile-33.png\" alt=\"Mobile Document\" width=\"338\" height=\"600\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Mobile-33.png 720w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Mobile-33-169x300.png 169w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Mobile-33-576x1024.png 576w\" sizes=\"auto, (max-width: 338px) 100vw, 338px\" \/><\/a><\/p>\n<p>Click on this PDF document to open it and review the part-related details:<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Generated-Doc-3-e1549633490671.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1729\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/Generated-Doc-3-e1549633490671.png\" alt=\"QR Code Scanned\" width=\"338\" height=\"600\" \/><\/a><\/p>\n<p>Here you can review all data related to the \u201cType A Part\u201d record linked to the scanned QR code.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to build the QR Code Scanner application allowing users to scan QR codes via mobile devices and then search database tables for records containing such QR codes.<\/p>\n","protected":false},"author":3,"featured_media":1799,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[164,163,162,165],"class_list":["post-1760","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tips-tricks","tag-qr-code-scanner","tag-scan-code","tag-scan-qr","tag-scan-to-database"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Link a QR code scanner to your database - TeamDesk Blog<\/title>\n<meta name=\"description\" content=\"QR Code Scanner database demonstrates how users can scan QR codes via mobile devices and then search database records containing QR codes.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/link-qr-code-scanner-to-your-database\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Link a QR code scanner to your database - TeamDesk Blog\" \/>\n<meta property=\"og:description\" content=\"QR Code Scanner database demonstrates how users can scan QR codes via mobile devices and then search database records containing QR codes.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/link-qr-code-scanner-to-your-database\/\" \/>\n<meta property=\"og:site_name\" content=\"TeamDesk Blog\" \/>\n<meta property=\"article:published_time\" content=\"2019-02-12T14:32:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-15T09:09:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/QR-Code-3.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1181\" \/>\n\t<meta property=\"og:image:height\" content=\"779\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Mila\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mila\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"13 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/link-qr-code-scanner-to-your-database\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/link-qr-code-scanner-to-your-database\\\/\"},\"author\":{\"name\":\"Mila\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/#\\\/schema\\\/person\\\/63bd8646f2f4720f503116e38a190a6e\"},\"headline\":\"Link a QR code scanner to your database\",\"datePublished\":\"2019-02-12T14:32:29+00:00\",\"dateModified\":\"2021-09-15T09:09:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/link-qr-code-scanner-to-your-database\\\/\"},\"wordCount\":1296,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/link-qr-code-scanner-to-your-database\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/02\\\/QR-Code-3.png\",\"keywords\":[\"qr code scanner\",\"scan code\",\"scan QR\",\"scan to database\"],\"articleSection\":[\"Tips &amp; Tricks\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/link-qr-code-scanner-to-your-database\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/link-qr-code-scanner-to-your-database\\\/\",\"url\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/link-qr-code-scanner-to-your-database\\\/\",\"name\":\"Link a QR code scanner to your database - TeamDesk Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/link-qr-code-scanner-to-your-database\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/link-qr-code-scanner-to-your-database\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/02\\\/QR-Code-3.png\",\"datePublished\":\"2019-02-12T14:32:29+00:00\",\"dateModified\":\"2021-09-15T09:09:09+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/#\\\/schema\\\/person\\\/63bd8646f2f4720f503116e38a190a6e\"},\"description\":\"QR Code Scanner database demonstrates how users can scan QR codes via mobile devices and then search database records containing QR codes.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/link-qr-code-scanner-to-your-database\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/link-qr-code-scanner-to-your-database\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/link-qr-code-scanner-to-your-database\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/02\\\/QR-Code-3.png\",\"contentUrl\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/02\\\/QR-Code-3.png\",\"width\":1181,\"height\":779,\"caption\":\"QR Code Scanner\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/link-qr-code-scanner-to-your-database\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Link a QR code scanner to your database\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/\",\"name\":\"TeamDesk Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/#\\\/schema\\\/person\\\/63bd8646f2f4720f503116e38a190a6e\",\"name\":\"Mila\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/939a25c18364af1ceffe1d698a8fd01e1a18d8e1cf906fe3a6ac1cad64bc653f?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/939a25c18364af1ceffe1d698a8fd01e1a18d8e1cf906fe3a6ac1cad64bc653f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/939a25c18364af1ceffe1d698a8fd01e1a18d8e1cf906fe3a6ac1cad64bc653f?s=96&d=mm&r=g\",\"caption\":\"Mila\"},\"url\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/author\\\/mila\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Link a QR code scanner to your database - TeamDesk Blog","description":"QR Code Scanner database demonstrates how users can scan QR codes via mobile devices and then search database records containing QR codes.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/link-qr-code-scanner-to-your-database\/","og_locale":"en_US","og_type":"article","og_title":"Link a QR code scanner to your database - TeamDesk Blog","og_description":"QR Code Scanner database demonstrates how users can scan QR codes via mobile devices and then search database records containing QR codes.","og_url":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/link-qr-code-scanner-to-your-database\/","og_site_name":"TeamDesk Blog","article_published_time":"2019-02-12T14:32:29+00:00","article_modified_time":"2021-09-15T09:09:09+00:00","og_image":[{"width":1181,"height":779,"url":"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/QR-Code-3.png","type":"image\/png"}],"author":"Mila","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Mila","Est. reading time":"13 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/link-qr-code-scanner-to-your-database\/#article","isPartOf":{"@id":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/link-qr-code-scanner-to-your-database\/"},"author":{"name":"Mila","@id":"https:\/\/www.teamdesk.net\/blog\/#\/schema\/person\/63bd8646f2f4720f503116e38a190a6e"},"headline":"Link a QR code scanner to your database","datePublished":"2019-02-12T14:32:29+00:00","dateModified":"2021-09-15T09:09:09+00:00","mainEntityOfPage":{"@id":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/link-qr-code-scanner-to-your-database\/"},"wordCount":1296,"commentCount":0,"image":{"@id":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/link-qr-code-scanner-to-your-database\/#primaryimage"},"thumbnailUrl":"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/QR-Code-3.png","keywords":["qr code scanner","scan code","scan QR","scan to database"],"articleSection":["Tips &amp; Tricks"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.teamdesk.net\/blog\/tips-tricks\/link-qr-code-scanner-to-your-database\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/link-qr-code-scanner-to-your-database\/","url":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/link-qr-code-scanner-to-your-database\/","name":"Link a QR code scanner to your database - TeamDesk Blog","isPartOf":{"@id":"https:\/\/www.teamdesk.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/link-qr-code-scanner-to-your-database\/#primaryimage"},"image":{"@id":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/link-qr-code-scanner-to-your-database\/#primaryimage"},"thumbnailUrl":"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/QR-Code-3.png","datePublished":"2019-02-12T14:32:29+00:00","dateModified":"2021-09-15T09:09:09+00:00","author":{"@id":"https:\/\/www.teamdesk.net\/blog\/#\/schema\/person\/63bd8646f2f4720f503116e38a190a6e"},"description":"QR Code Scanner database demonstrates how users can scan QR codes via mobile devices and then search database records containing QR codes.","breadcrumb":{"@id":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/link-qr-code-scanner-to-your-database\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.teamdesk.net\/blog\/tips-tricks\/link-qr-code-scanner-to-your-database\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/link-qr-code-scanner-to-your-database\/#primaryimage","url":"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/QR-Code-3.png","contentUrl":"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2019\/02\/QR-Code-3.png","width":1181,"height":779,"caption":"QR Code Scanner"},{"@type":"BreadcrumbList","@id":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/link-qr-code-scanner-to-your-database\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.teamdesk.net\/blog\/"},{"@type":"ListItem","position":2,"name":"Link a QR code scanner to your database"}]},{"@type":"WebSite","@id":"https:\/\/www.teamdesk.net\/blog\/#website","url":"https:\/\/www.teamdesk.net\/blog\/","name":"TeamDesk Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.teamdesk.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.teamdesk.net\/blog\/#\/schema\/person\/63bd8646f2f4720f503116e38a190a6e","name":"Mila","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/939a25c18364af1ceffe1d698a8fd01e1a18d8e1cf906fe3a6ac1cad64bc653f?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/939a25c18364af1ceffe1d698a8fd01e1a18d8e1cf906fe3a6ac1cad64bc653f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/939a25c18364af1ceffe1d698a8fd01e1a18d8e1cf906fe3a6ac1cad64bc653f?s=96&d=mm&r=g","caption":"Mila"},"url":"https:\/\/www.teamdesk.net\/blog\/author\/mila\/"}]}},"_links":{"self":[{"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/posts\/1760","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/comments?post=1760"}],"version-history":[{"count":24,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/posts\/1760\/revisions"}],"predecessor-version":[{"id":2477,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/posts\/1760\/revisions\/2477"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/media\/1799"}],"wp:attachment":[{"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/media?parent=1760"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/categories?post=1760"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/tags?post=1760"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}