Barcode Scanner Data Source Attribute list is empty in Native Mobile App Development

Hello Mendix community,   I'm working on an app where I need to use the Barcode Scanner widget to capture barcode data and store it in a specific data view object. I've been referring to the documentation provided by Mendix, but I have stucked at the configuration in the "Data Source" tab.   In the Mendix documentation, it mentions the following: "Barcode (required) – the attribute of the data view object that will store the barcode detection result as a string."   Here's what I have done so far: 1. Created a entity in Domain Model 2. Added an attribute of type "String" to store the barcode data.   Now, I'm stuck at the point of assigning this attribute in the Barcode Scanner widget's "Data Source" tab. DataSource list is empty. How to assign any of the attribute to it. Your help would be greatly appreciated. Thank you!  
1 answers



below I have attached a short video on how to use the barcode scanner in Mendix.