--- title: "How to Add a Barcode Widget" slug: "how-to-add-a-barcode-widget" updated: 2023-10-31T15:01:33Z published: 2023-10-31T15:01:33Z canonical: "support.tulip.co/how-to-add-a-barcode-widget" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.tulip.co/llms.txt > Use this file to discover all available pages before exploring further. # 如何添加条形码小工具 *了解如何在 Tulip 应用程序中直接显示条形码!* 条形码部件可让您直接在 Tulip 中创建和显示条形码。以下是如何在前线操作应用程序中添加条形码部件的方法。 导航到应用程序中您想添加条形码 Widget 的步骤。 点击应用程序编辑器工具栏上的 "嵌入",然后从下拉菜单中选择 "条形码"。 ![](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/How%20to%20Add%20a%20Barcode%20Widget_396993236.png) 现在,您必须选择一个数据源。数据源的选项有 - 变量:您在应用程序中创建的任何变量 - 应用程序信息:应用程序中自动记录的变量(例如:已登录用户名、应用程序所用时间和步骤名称) - 郁金香表记录:存储在表中的参考数据 - 静态值 ![](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/How%20to%20Add%20a%20Barcode%20Widget_396987903.png) 我们支持以下条形码格式: - EAN - 8 - EAN -13 - 代码 39 - 代码 128 - ITF - QR 码 - ECC 200 - PDF 417 ![](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/How%20to%20Add%20a%20Barcode%20Widget_396988237.png) ## 进一步阅读: - [如何设置条码扫描器](https://support.tulip.co/docs/how-to-set-up-a-barcode-scanner) - [条码扫描器单元测试](https://support.tulip.co/docs/barcode-scanner-unit-tests-1)